Home
last modified time | relevance | path

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

12345678910>>...17

/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DFirstFrameAnimatorHelper.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
57 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
58 final ValueAnimator va = (ValueAnimator) animation; in onAnimationStart()
81 public void onAnimationUpdate(final ValueAnimator animation) { in onAnimationUpdate() argument
92 animation.getCurrentPlayTime() < animation.getDuration()) { in onAnimationUpdate()
102 animation.setCurrentPlayTime(0); in onAnimationUpdate()
110 animation.setCurrentPlayTime(IDEAL_FRAME_DURATION); in onAnimationUpdate()
116 animation.removeUpdateListener(FirstFrameAnimatorHelper.this); in onAnimationUpdate()
[all …]
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd42 "/reference/android/animation/ValueAnimator.html">ValueAnimator</a></code></li>
45 "/reference/android/animation/ObjectAnimator.html">ObjectAnimator</a></code></li>
48 "/reference/android/animation/TypeEvaluator.html">TypeEvaluator</a></code></li>
55 "{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/animation/index.html">API
60 <p>The property animation system is a robust framework that allows you
61 to animate almost anything. You can define an animation to change any object property over time,
62 regardless of whether it draws to the screen or not. A property animation changes a property's
67 <p>The property animation system lets you define the following characteristics of an
68 animation:</p>
71 <li>Duration: You can specify the duration of an animation. The default length is 300 ms.</li>
[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 …]
/frameworks/base/core/java/android/animation/
DAnimatorSet.java17 package android.animation;
219 childList.add(node.animation); in getChildAnimations()
234 Animator animation = node.animation; in setTarget() local
235 if (animation instanceof AnimatorSet) { in setTarget()
236 ((AnimatorSet)animation).setTarget(target); in setTarget()
237 } else if (animation instanceof ObjectAnimator) { in setTarget()
238 ((ObjectAnimator)animation).setTarget(target); in setTarget()
251 conf |= mNodes.get(i).animation.getChangingConfigurations(); in getChangingConfigurations()
335 node.animation.cancel(); in cancel()
364 node.animation.addListener(mSetListener); in end()
[all …]
DAnimatorListenerAdapter.java17 package android.animation;
31 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
38 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
45 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
52 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
59 public void onAnimationPause(Animator animation) { in onAnimationPause() argument
66 public void onAnimationResume(Animator animation) { in onAnimationResume() 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/tests/HwAccelerationTest/src/com/android/test/hwui/
DRevealActivity.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.AnimatorSet;
45 public void onAnimationStart(Animator animation) {
46 Log.d("Reveal", "onAnimatorStart " + animation);
50 public void onAnimationRepeat(Animator animation) {
51 Log.d("Reveal", "onAnimationRepeat " + animation);
55 public void onAnimationEnd(Animator animation) {
56 Log.d("Reveal", "onAnimationEnd " + animation);
60 public void onAnimationCancel(Animator animation) {
[all …]
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/packages/Keyguard/src/com/android/keyguard/
DKeyguardGlowStripView.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.ValueAnimator;
21 import android.animation.ValueAnimator.AnimatorUpdateListener;
27 import android.view.animation.DecelerateInterpolator;
28 import android.view.animation.Interpolator;
29 import android.view.animation.LinearInterpolator;
117 public void onAnimationEnd(Animator animation) { in makeEmGo()
124 public void onAnimationStart(Animator animation) { in makeEmGo()
130 public void onAnimationUpdate(ValueAnimator animation) { in makeEmGo()
[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/packages/SystemUI/src/com/android/systemui/
DViewInvertHelper.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
26 import android.view.animation.AnimationUtils;
27 import android.view.animation.Interpolator;
56 public void onAnimationUpdate(ValueAnimator animation) { in fade()
57 updateInvertPaint((Float) animation.getAnimatedValue()); in fade()
63 public void onAnimationEnd(Animator animation) { in fade()
DSearchPanelCircleView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.PropertyValuesHolder;
22 import android.animation.ValueAnimator;
31 import android.view.animation.AnimationUtils;
32 import android.view.animation.Interpolator;
33 import android.view.animation.LinearInterpolator;
73 public void onAnimationUpdate(ValueAnimator animation) {
74 applyCircleSize((float) animation.getAnimatedValue());
80 public void onAnimationEnd(Animator animation) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ArgbEvaluator;
22 import android.animation.PropertyValuesHolder;
23 import android.animation.ValueAnimator;
33 import android.view.animation.AnimationUtils;
34 import android.view.animation.Interpolator;
80 public void onAnimationEnd(Animator animation) {
86 public void onAnimationEnd(Animator animation) {
92 public void onAnimationEnd(Animator animation) {
[all …]
DScrimView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
28 import android.view.animation.Interpolator;
43 public void onAnimationUpdate(ValueAnimator animation) {
44 mViewAlpha = (float) animation.getAnimatedValue();
50 public void onAnimationEnd(Animator animation) {
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java19 import android.animation.Animator;
20 import android.animation.ValueAnimator;
21 import android.animation.TimeInterpolator;
1075 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
1077 Runnable r = mAnimatorSetupMap.get(animation); in onAnimationStart()
1081 mAnimatorSetupMap.remove(animation); in onAnimationStart()
1084 Runnable r = mAnimatorOnStartMap.get(animation); in onAnimationStart()
1088 mAnimatorOnStartMap.remove(animation); in onAnimationStart()
1091 mListener.onAnimationStart(animation); in onAnimationStart()
1096 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
[all …]
/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
/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()
DLinearInterpolator.java17 package android.view.animation;
22 import com.android.internal.view.animation.HasNativeInterpolator;
23 import com.android.internal.view.animation.NativeInterpolatorFactory;
24 import com.android.internal.view.animation.NativeInterpolatorFactoryHelper;
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTrustDrawable.java21 import android.animation.Animator;
22 import android.animation.AnimatorListenerAdapter;
23 import android.animation.AnimatorSet;
24 import android.animation.ValueAnimator;
34 import android.view.animation.AccelerateDecelerateInterpolator;
35 import android.view.animation.AnimationUtils;
36 import android.view.animation.Interpolator;
265 public void onAnimationUpdate(ValueAnimator animation) {
266 mCurAlpha = (int) animation.getAnimatedValue();
274 public void onAnimationUpdate(ValueAnimator animation) {
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowAnimator.java26 import android.view.animation.Animation;
27 import android.view.animation.Transformation;
40 Animation animation; field in AppWindowAnimator
95 animation = anim; in setAnimation()
127 animation = sDummyAnimation; in setDummyAnimation()
134 if (animation != null) { in clearAnimation()
135 animation = null; in clearAnimation()
215 if (animation == null) { in stepAnimation()
219 boolean hasMoreFrames = animation.getTransformation(currentTime, transformation); in stepAnimation()
231 animation = null; in stepAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DIconPulser.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
23 import android.view.animation.AnimationUtils;
24 import android.view.animation.Interpolator;
43 public void onAnimationEnd(Animator animation) { in start()
/frameworks/support/v4/jellybean/android/support/v4/view/
DViewPropertyAnimatorCompatJB.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
41 public void onAnimationCancel(Animator animation) { in setListener()
46 public void onAnimationEnd(Animator animation) { in setListener()
51 public void onAnimationStart(Animator animation) { in setListener()
/frameworks/base/core/java/android/transition/
DChangeText.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ValueAnimator;
196 public void onAnimationEnd(Animator animation) { in createAnimator()
216 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
217 int currAlpha = (Integer) animation.getAnimatedValue(); in createAnimator()
224 public void onAnimationEnd(Animator animation) { in createAnimator()
243 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
244 int currAlpha = (Integer) animation.getAnimatedValue(); in createAnimator()
[all …]

12345678910>>...17