Home
last modified time | relevance | path

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

123

/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTest.java17 package android.view.animation.cts;
29 import android.view.animation.AccelerateDecelerateInterpolator;
30 import android.view.animation.AccelerateInterpolator;
31 import android.view.animation.Animation;
32 import android.view.animation.AnimationUtils;
33 import android.view.animation.DecelerateInterpolator;
34 import android.view.animation.Interpolator;
35 import android.view.animation.Transformation;
36 import android.view.animation.Animation.AnimationListener;
91 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); in testAccessInterpolator() local
[all …]
DAlphaAnimationTest.java17 package android.view.animation.cts;
23 import android.view.animation.AlphaAnimation;
24 import android.view.animation.Transformation;
41 AlphaAnimation animation = new AlphaAnimation(mContext, null); in testWillChangeBounds() local
42 assertFalse(animation.willChangeBounds()); in testWillChangeBounds()
46 AlphaAnimation animation = new AlphaAnimation(0.0f, 0.5f); in testWillChangeTransformationMatrix() local
47 assertFalse(animation.willChangeTransformationMatrix()); in testWillChangeTransformationMatrix()
51 MyAlphaAnimation animation = new MyAlphaAnimation(0.0f, 1.0f); in testApplyTransformation() local
55 animation.applyTransformation(0.0f, transformation); in testApplyTransformation()
58 animation.applyTransformation(0.5f, transformation); in testApplyTransformation()
[all …]
DAnimationTestUtils.java17 package android.view.animation.cts;
23 import android.view.animation.Animation;
24 import android.view.animation.LayoutAnimationController;
48 final View view, final Animation animation) { in assertRunAnimation() argument
49 assertRunAnimation(instrumentation, view, animation, animation.getDuration()); in assertRunAnimation()
61 final View view, final Animation animation, final long duration) { in assertRunAnimation() argument
65 view.startAnimation(animation); in assertRunAnimation()
73 return animation.hasStarted(); in assertRunAnimation()
81 return animation.hasEnded(); in assertRunAnimation()
DAnimationUtilsTest.java17 package android.view.animation.cts;
24 import android.view.animation.AccelerateInterpolator;
25 import android.view.animation.AlphaAnimation;
26 import android.view.animation.Animation;
27 import android.view.animation.AnimationUtils;
28 import android.view.animation.GridLayoutAnimationController;
29 import android.view.animation.Interpolator;
30 import android.view.animation.LayoutAnimationController;
55 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha); in testLoad() local
56 assertEquals(duration, animation.getDuration()); in testLoad()
[all …]
DLayoutAnimationControllerTest.java17 package android.view.animation.cts;
30 import android.view.animation.AccelerateInterpolator;
31 import android.view.animation.Animation;
32 import android.view.animation.AnimationUtils;
33 import android.view.animation.DecelerateInterpolator;
34 import android.view.animation.Interpolator;
35 import android.view.animation.LayoutAnimationController;
36 import android.view.animation.ScaleAnimation;
37 import android.view.animation.Transformation;
38 import android.view.animation.LayoutAnimationController.AnimationParameters;
[all …]
DGridLayoutAnimationController_AnimationParametersTest.java17 package android.view.animation.cts;
21 import android.view.animation.GridLayoutAnimationController;
22 import android.view.animation.GridLayoutAnimationController.AnimationParameters;
DLinearInterpolatorTest.java17 package android.view.animation.cts;
22 import android.view.animation.AlphaAnimation;
23 import android.view.animation.Animation;
24 import android.view.animation.AnimationUtils;
25 import android.view.animation.Interpolator;
26 import android.view.animation.LinearInterpolator;
27 import android.view.animation.Transformation;
DAccelerateDecelerateInterpolatorTest.java17 package android.view.animation.cts;
28 import android.view.animation.AccelerateDecelerateInterpolator;
29 import android.view.animation.AlphaAnimation;
30 import android.view.animation.Animation;
31 import android.view.animation.AnimationUtils;
32 import android.view.animation.Interpolator;
33 import android.view.animation.Transformation;
DAnimatorInflaterTest.java16 package android.view.animation.cts;
18 import android.animation.Animator;
19 import android.animation.AnimatorInflater;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
23 import android.animation.StateListAnimator;
245 public void onAnimationEnd(Animator animation) { in testReloadedAnimatorIsNotModified()
246 super.onAnimationEnd(animation); in testReloadedAnimatorIsNotModified()
250 public void onAnimationStart(Animator animation) { in testReloadedAnimatorIsNotModified()
[all …]
DDecelerateInterpolatorTest.java17 package android.view.animation.cts;
28 import android.view.animation.AlphaAnimation;
29 import android.view.animation.Animation;
30 import android.view.animation.AnimationUtils;
31 import android.view.animation.DecelerateInterpolator;
32 import android.view.animation.Interpolator;
33 import android.view.animation.Transformation;
DAccelerateInterpolatorTest.java17 package android.view.animation.cts;
28 import android.view.animation.AccelerateInterpolator;
29 import android.view.animation.AlphaAnimation;
30 import android.view.animation.Animation;
31 import android.view.animation.AnimationUtils;
32 import android.view.animation.Interpolator;
33 import android.view.animation.Transformation;
DLayoutAnimationController_AnimationParametersTest.java17 package android.view.animation.cts;
21 import android.view.animation.LayoutAnimationController;
DCycleInterpolatorTest.java17 package android.view.animation.cts;
25 import android.view.animation.AlphaAnimation;
26 import android.view.animation.Animation;
27 import android.view.animation.AnimationUtils;
28 import android.view.animation.CycleInterpolator;
29 import android.view.animation.Interpolator;
30 import android.view.animation.Transformation;
DGridLayoutAnimationControllerTest.java17 package android.view.animation.cts;
29 import android.view.animation.Animation;
30 import android.view.animation.AnimationUtils;
31 import android.view.animation.GridLayoutAnimationController;
32 import android.view.animation.Transformation;
33 import android.view.animation.GridLayoutAnimationController.AnimationParameters;
270 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha);
271 animation.setFillAfter(true);
272 MyGridLayoutAnimationController controller = new MyGridLayoutAnimationController(animation);
426 public MyGridLayoutAnimationController(Animation animation) {
[all …]
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java17 package android.animation.cts;
19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ArgbEvaluator;
23 import android.animation.ObjectAnimator;
24 import android.animation.TimeInterpolator;
25 import android.animation.ValueAnimator;
39 import android.view.animation.AccelerateInterpolator;
42 import android.animation.cts.R;
[all …]
DAnimatorTest.java16 package android.animation.cts;
18 import android.animation.Animator;
19 import android.animation.ObjectAnimator;
20 import android.animation.ValueAnimator;
23 import android.view.animation.AccelerateInterpolator;
212 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
216 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
220 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
224 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
DValueAnimatorTest.java16 package android.animation.cts;
18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.ObjectAnimator;
21 import android.animation.ValueAnimator;
23 import android.view.animation.AccelerateInterpolator;
24 import android.view.animation.LinearInterpolator;
191 public void onAnimationEnd(Animator animation) { in testSetCurrentPlayTimeAfterStart()
192 super.onAnimationEnd(animation); in testSetCurrentPlayTimeAfterStart()
203 public void onAnimationUpdate(ValueAnimator animation) { in testSetCurrentPlayTimeAfterStart()
[all …]
DLayoutAnimationTest.java16 package android.animation.cts;
22 import android.animation.cts.R;
24 import android.animation.Animator;
25 import android.animation.LayoutTransition;
26 import android.animation.LayoutTransition.TransitionListener;
27 import android.animation.ObjectAnimator;
28 import android.animation.PropertyValuesHolder;
29 import android.animation.TimeInterpolator;
33 import android.view.animation.AccelerateInterpolator;
DCreationTest.java17 package android.animation.cts;
19 import android.animation.AnimatorInflater;
20 import android.animation.ObjectAnimator;
21 import android.animation.PropertyValuesHolder;
22 import android.animation.ValueAnimator;
27 import android.animation.cts.R;
DKeyframeTest.java17 package android.animation.cts;
19 import android.animation.Keyframe;
20 import android.animation.TimeInterpolator;
22 import android.view.animation.AccelerateInterpolator;
DEvaluatorTest.java17 package android.animation.cts;
19 import android.animation.ArgbEvaluator;
20 import android.animation.FloatArrayEvaluator;
21 import android.animation.FloatEvaluator;
22 import android.animation.IntArrayEvaluator;
23 import android.animation.IntEvaluator;
24 import android.animation.PointFEvaluator;
25 import android.animation.RectEvaluator;
DButtonViewActivity.java17 package android.animation.cts;
22 import android.animation.cts.R;
DAnimatorSetTest.java16 package android.animation.cts;
27 import android.animation.Animator;
28 import android.animation.AnimatorListenerAdapter;
29 import android.animation.AnimatorSet;
30 import android.animation.ObjectAnimator;
31 import android.animation.TimeInterpolator;
32 import android.animation.ValueAnimator;
34 import android.view.animation.AccelerateDecelerateInterpolator;
35 import android.view.animation.AccelerateInterpolator;
36 import android.view.animation.LinearInterpolator;
[all …]
DPropertyValuesHolderTest.java16 package android.animation.cts;
18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.ArgbEvaluator;
21 import android.animation.Keyframe;
22 import android.animation.ObjectAnimator;
23 import android.animation.PropertyValuesHolder;
24 import android.animation.ValueAnimator;
29 import android.view.animation.AccelerateInterpolator;
108 public void onAnimationEnd(Animator animation) { in waitUntilFinished()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DViewAnimatorTest.java32 import android.view.animation.AccelerateInterpolator;
33 import android.view.animation.Animation;
34 import android.view.animation.AnimationSet;
82 Animation animation = mViewAnimator.getInAnimation(); in testAccessInAnimation() local
83 assertTrue(animation.getInterpolator() instanceof AccelerateInterpolator); in testAccessInAnimation()
84 assertEquals(500, animation.getDuration()); in testAccessInAnimation()
313 Animation animation = mViewAnimator.getOutAnimation(); in testAccessOutAnimation() local
314 assertTrue(animation.getInterpolator() instanceof AccelerateInterpolator); in testAccessOutAnimation()
315 assertEquals(500, animation.getDuration()); in testAccessOutAnimation()

123