Home
last modified time | relevance | path

Searched refs:animation (Results 1 – 25 of 200) sorted by relevance

12345678

/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd3 parent.link=animation.html
43 "/reference/android/animation/ValueAnimator.html">ValueAnimator</a></code></li>
46 "/reference/android/animation/ObjectAnimator.html">ObjectAnimator</a></code></li>
49 "/reference/android/animation/TypeEvaluator.html">TypeEvaluator</a></code></li>
56 "{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/animation/index.html">API
61 <p>The property animation system is a robust framework that allows you
62 to animate almost anything. You can define an animation to change any object property over time,
63 regardless of whether it draws to the screen or not. A property animation changes a property's
68 <p>The property animation system lets you define the following characteristics of an
69 animation:</p>
[all …]
Dview-animation.jd3 parent.link=animation.html
8 <p>You can use the view animation system to perform tweened animation on Views. Tween animation
9 calculates the animation with information such as the start point, end point, size, rotation, and
10 other common aspects of an animation.
13 <p>A tween animation can perform a series of simple transformations (position, size, rotation,
17 android.view.animation animation package} provides all the classes used in a tween animation.</p>
19 <p>A sequence of animation instructions defines the tween animation, defined by either XML or
21 reusable, and swappable than hard-coding the animation. In the example below, we use XML. (To
22 learn more about defining an animation in your application code, instead of XML, refer to the
23 {@link android.view.animation.AnimationSet} class and other {@link
[all …]
Ddrawable-animation.jd3 parent.link=animation.html
6 <p>Drawable animation lets you load a series of Drawable resources one after
7 …another to create an animation. This is a traditional animation in the sense that it is created wi…
11 <p>While you can define the frames of an animation in your code, using the {@link
13 single XML file that lists the frames that compose the animation. The XML file for this kind
14 of animation belongs in the <code>res/drawable/</code> directory of
16 the animation.</p>
18 <p>The XML file consists of an <code>&lt;animation-list&gt;</code> element as the root node and a
20 the frame and the frame duration. Here's an example XML file for a Drawable animation:</p>
22 &lt;animation-list xmlns:android="http://schemas.android.com/apk/res/android"
[all …]
Doverview.jd4 …<p>Android provides a variety of powerful APIs for applying animation to UI elements and drawing c…
8 <h3 id="animation">Animation</h3>
10 <p>The Android framework provides two animation systems: property animation
11 (introduced in Android 3.0) and view animation. Both animation systems are viable options,
12 but the property animation system, in general, is the preferred method to use, because it
14 animation, which allows you to load drawable resources and display them one frame after
18 <dt><strong><a href="{@docRoot}guide/topics/graphics/prop-animation.html">Property
20 <dd>Introduced in Android 3.0 (API level 11), the property animation system lets you
24 <dt><strong><a href="{@docRoot}guide/topics/graphics/view-animation.html">View
30 <dt><strong><a href="{@docRoot}guide/topics/graphics/drawable-animation.html">Drawable
[all …]
/frameworks/base/core/java/android/animation/
DAnimatorSet.java17 package android.animation;
207 childList.add(node.animation); in getChildAnimations()
222 Animator animation = node.animation; in setTarget() local
223 if (animation instanceof AnimatorSet) { in setTarget()
224 ((AnimatorSet)animation).setTarget(target); in setTarget()
225 } else if (animation instanceof ObjectAnimator) { in setTarget()
226 ((ObjectAnimator)animation).setTarget(target); in setTarget()
240 node.animation.setInterpolator(interpolator); in setInterpolator()
304 node.animation.cancel(); in cancel()
333 node.animation.addListener(mSetListener); in end()
[all …]
DAnimatorListenerAdapter.java17 package android.animation;
30 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
37 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
44 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
51 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
DAnimator.java17 package android.animation;
251 void onAnimationStart(Animator animation); in onAnimationStart() argument
259 void onAnimationEnd(Animator animation); in onAnimationEnd() argument
267 void onAnimationCancel(Animator animation); in onAnimationCancel() argument
274 void onAnimationRepeat(Animator animation); in onAnimationRepeat() argument
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithDisappearingItemBug.java25 import android.view.animation.AlphaAnimation;
26 import android.view.animation.Animation;
27 import android.view.animation.AnimationSet;
28 import android.view.animation.LayoutAnimationController;
29 import android.view.animation.TranslateAnimation;
63 Animation animation = new AlphaAnimation(0.0f, 1.0f); in onCreate() local
64 animation.setDuration(50); in onCreate()
65 set.addAnimation(animation); in onCreate()
67 animation = new TranslateAnimation( in onCreate()
71 animation.setDuration(100); in onCreate()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DChoreographer.java19 import android.animation.Animator;
20 import android.animation.AnimatorSet;
21 import android.animation.AnimatorSet.Builder;
22 import android.animation.ObjectAnimator;
80 ? new android.view.animation.DecelerateInterpolator(2.5f) in createAnimation()
81 : new android.view.animation.AccelerateInterpolator(2.5f)); in createAnimation()
87 ? new android.view.animation.AccelerateInterpolator(1.0f) in createAnimation()
88 : new android.view.animation.AccelerateInterpolator(2.5f)); in createAnimation()
97 ? new android.view.animation.AccelerateInterpolator(1.0f) in createAnimation()
98 : new android.view.animation.DecelerateInterpolator(1.0f)); in createAnimation()
[all …]
/frameworks/base/services/java/com/android/server/wm/
DAppWindowAnimator.java9 import android.view.animation.Animation;
10 import android.view.animation.Transformation;
25 Animation animation; field in AppWindowAnimator
62 animation = anim; in setAnimation()
87 animation = sDummyAnimation; in setDummyAnimation()
95 if (animation != null) { in clearAnimation()
96 animation = null; in clearAnimation()
166 if (animation == null) { in stepAnimation()
170 final boolean more = animation.getTransformation(currentTime, transformation); in stepAnimation()
174 animation = null; in stepAnimation()
[all …]
/frameworks/base/docs/html/guide/topics/resources/
Danimation-resource.jd13 <li><a href="#Tween">Tween animation</a></li>
14 <li><a href="#Frame">Frame animation</a></li>
20 <li><a href="{@docRoot}guide/topics/graphics/view-animation.html">View Animation</a></li>
21 <li><a href="{@docRoot}guide/topics/graphics/prop-animation.html">Property Animation</a></li>
27 <p>An animation resource can define one of two types of animations:</p>
31 <dd>Creates an animation by modifying an object's property values over a set period
32 of time with an {@link android.animation.Animator}.</dd>
35 <p>There are two types of animations that you can do with the view animation framework:</p>
37 …<li><a href="#Tween">Tween animation</a>: Creates an animation by performing a series of transform…
38 with an {@link android.view.animation.Animation}</li>
[all …]
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java19 import android.animation.Animator;
20 import android.animation.ValueAnimator;
21 import android.animation.TimeInterpolator;
932 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
934 Runnable r = mAnimatorSetupMap.get(animation); in onAnimationStart()
938 mAnimatorSetupMap.remove(animation); in onAnimationStart()
941 Runnable r = mAnimatorOnStartMap.get(animation); in onAnimationStart()
945 mAnimatorOnStartMap.remove(animation); in onAnimationStart()
948 mListener.onAnimationStart(animation); in onAnimationStart()
953 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
[all …]
/frameworks/base/core/java/android/view/animation/
DLayoutAnimationController.java17 package android.view.animation;
131 public LayoutAnimationController(Animation animation) { in LayoutAnimationController() argument
132 this(animation, 0.5f); in LayoutAnimationController()
142 public LayoutAnimationController(Animation animation, float delay) { in LayoutAnimationController() argument
144 setAnimation(animation); in LayoutAnimationController()
198 public void setAnimation(Animation animation) { in setAnimation() argument
199 mAnimation = animation; in setAnimation()
325 final Animation animation = mAnimation.clone(); in getAnimationForView() local
326 animation.setStartOffset(delay); in getAnimationForView()
327 return animation; in getAnimationForView()
DAnimation.java17 package android.view.animation;
263 final Animation animation = (Animation) super.clone(); in clone() local
264 animation.mPreviousRegion = new RectF(); in clone()
265 animation.mRegion = new RectF(); in clone()
266 animation.mTransformation = new Transformation(); in clone()
267 animation.mPreviousTransformation = new Transformation(); in clone()
268 return animation; in clone()
1139 void onAnimationStart(Animation animation);
1147 void onAnimationEnd(Animation animation);
1154 void onAnimationRepeat(Animation animation);
DInterpolator.java17 package android.view.animation;
19 import android.animation.TimeInterpolator;
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java21 import android.animation.Animator;
22 import android.animation.ObjectAnimator;
23 import android.animation.ValueAnimator;
24 import android.animation.Animator.AnimatorListener;
28 import android.view.animation.DecelerateInterpolator;
210 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
214 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
215 mAnimators.remove(animation); in onAnimationEnd()
218 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
222 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
DAbsActionBarView.java22 import android.animation.Animator;
23 import android.animation.AnimatorSet;
24 import android.animation.ObjectAnimator;
25 import android.animation.TimeInterpolator;
32 import android.view.animation.DecelerateInterpolator;
252 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
254 mVisibilityAnim = animation; in onAnimationStart()
259 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
270 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
275 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTweener.java24 import android.animation.Animator.AnimatorListener;
25 import android.animation.Animator;
26 import android.animation.AnimatorListenerAdapter;
27 import android.animation.ObjectAnimator;
28 import android.animation.PropertyValuesHolder;
29 import android.animation.TimeInterpolator;
30 import android.animation.ValueAnimator.AnimatorUpdateListener;
143 public void onAnimationEnd(Animator animation) {
144 remove(animation);
148 public void onAnimationCancel(Animator animation) {
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMarqueeActivity.java23 import android.view.animation.Animation;
24 import android.view.animation.AnimationUtils;
60 Animation animation = AnimationUtils.loadAnimation(text2.getContext(), in onCreate()
62 animation.setFillEnabled(true); in onCreate()
63 animation.setFillAfter(true); in onCreate()
64 text2.startAnimation(animation); in onCreate()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp406 Animation animation; in movie() local
419 animation.width = width; in movie()
420 animation.height = height; in movie()
421 animation.fps = fps; in movie()
430 animation.parts.add(part); in movie()
437 const size_t pcount = animation.parts.size(); in movie()
447 if (path == animation.parts[j].path) { in movie()
457 Animation::Part& part(animation.parts.editItemAt(j)); in movie()
486 const int xc = (mWidth - animation.width) / 2; in movie()
487 const int yc = ((mHeight - animation.height) / 2); in movie()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DNotificationPanel.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
33 import android.view.animation.AccelerateInterpolator;
34 import android.view.animation.DecelerateInterpolator;
35 import android.view.animation.Interpolator;
382 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
386 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
398 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
[all …]
DNotificationLinearLayout.java19 import android.animation.Animator;
20 import android.animation.ObjectAnimator;
21 import android.animation.ValueAnimator;
33 import android.view.animation.AccelerateInterpolator;
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ValueAnimator;
23 import android.animation.ValueAnimator.AnimatorUpdateListener;
56 import android.view.animation.Interpolator;
449 public void onAnimationEnd(Animator animation) { in startAnimation()
495 public void onAnimationStart(Animator animation) { in createScreenshotDropInAnimation()
508 public void onAnimationEnd(android.animation.Animator animation) { in createScreenshotDropInAnimation()
514 public void onAnimationUpdate(ValueAnimator animation) { in createScreenshotDropInAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ObjectAnimator;
22 import android.animation.Animator.AnimatorListener;
23 import android.animation.ValueAnimator;
24 import android.animation.ValueAnimator.AnimatorUpdateListener;
29 import android.view.animation.LinearInterpolator;
286 public void onAnimationEnd(Animator animation) { in dismissChild()
292 public void onAnimationUpdate(ValueAnimator animation) { in dismissChild()
309 public void onAnimationUpdate(ValueAnimator animation) { in snapChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DIntruderAlertView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.LayoutTransition;
22 import android.animation.ObjectAnimator;
23 import android.animation.ValueAnimator;

12345678