/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimationTest.java | 17 package android.view.animation.cts; 41 import android.view.animation.AccelerateDecelerateInterpolator; 42 import android.view.animation.AccelerateInterpolator; 43 import android.view.animation.Animation; 44 import android.view.animation.Animation.AnimationListener; 45 import android.view.animation.AnimationUtils; 46 import android.view.animation.DecelerateInterpolator; 47 import android.view.animation.Interpolator; 48 import android.view.animation.Transformation; 123 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); in testAccessInterpolator() local [all …]
|
D | AlphaAnimationTest.java | 17 package android.view.animation.cts; 26 import android.view.animation.AlphaAnimation; 27 import android.view.animation.Transformation; 62 AlphaAnimation animation = new AlphaAnimation(mContext, null); in testWillChangeBounds() local 63 assertFalse(animation.willChangeBounds()); in testWillChangeBounds() 68 AlphaAnimation animation = new AlphaAnimation(0.0f, 0.5f); in testWillChangeTransformationMatrix() local 69 assertFalse(animation.willChangeTransformationMatrix()); in testWillChangeTransformationMatrix() 74 MyAlphaAnimation animation = new MyAlphaAnimation(0.0f, 1.0f); in testApplyTransformation() local 78 animation.applyTransformation(0.0f, transformation); in testApplyTransformation() 81 animation.applyTransformation(0.5f, transformation); in testApplyTransformation() [all …]
|
D | AnimationTestUtils.java | 17 package android.view.animation.cts; 23 import android.view.animation.Animation; 24 import android.view.animation.LayoutAnimationController; 54 final ActivityTestRule activityTestRule, final View view, final Animation animation) in assertRunAnimation() argument 56 assertRunAnimation(instrumentation, activityTestRule, view, animation, in assertRunAnimation() 57 animation.getDuration()); in assertRunAnimation() 71 final ActivityTestRule activityTestRule, final View view, final Animation animation, in assertRunAnimation() argument 74 activityTestRule.runOnUiThread(() -> view.startAnimation(animation)); in assertRunAnimation() 77 PollingCheck.waitFor(animation::hasStarted); in assertRunAnimation() 80 PollingCheck.waitFor(duration + TIMEOUT_DELTA, animation::hasEnded); in assertRunAnimation()
|
D | AnimationUtilsTest.java | 17 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; 65 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha); in testLoad() local 66 assertEquals(duration, animation.getDuration()); in testLoad() [all …]
|
D | LayoutAnimationControllerTest.java | 17 package android.view.animation.cts; 29 import android.view.animation.AccelerateInterpolator; 30 import android.view.animation.Animation; 31 import android.view.animation.AnimationUtils; 32 import android.view.animation.DecelerateInterpolator; 33 import android.view.animation.LayoutAnimationController; 34 import android.view.animation.LayoutAnimationController.AnimationParameters; 35 import android.view.animation.ScaleAnimation; 36 import android.view.animation.Transformation; 243 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); [all …]
|
D | AccelerateDecelerateInterpolatorTest.java | 17 package android.view.animation.cts; 29 import android.view.animation.AccelerateDecelerateInterpolator; 30 import android.view.animation.AlphaAnimation; 31 import android.view.animation.Animation; 32 import android.view.animation.AnimationUtils; 33 import android.view.animation.Interpolator; 34 import android.view.animation.Transformation;
|
D | LinearInterpolatorTest.java | 17 package android.view.animation.cts; 26 import android.view.animation.AlphaAnimation; 27 import android.view.animation.Animation; 28 import android.view.animation.AnimationUtils; 29 import android.view.animation.Interpolator; 30 import android.view.animation.LinearInterpolator; 31 import android.view.animation.Transformation;
|
D | AnimatorInflaterTest.java | 16 package android.view.animation.cts; 24 import android.animation.Animator; 25 import android.animation.AnimatorInflater; 26 import android.animation.AnimatorListenerAdapter; 27 import android.animation.AnimatorSet; 28 import android.animation.ObjectAnimator; 29 import android.animation.StateListAnimator; 276 public void onAnimationEnd(Animator animation) { in testReloadedAnimatorIsNotModified() 277 super.onAnimationEnd(animation); in testReloadedAnimatorIsNotModified() 281 public void onAnimationStart(Animator animation) { in testReloadedAnimatorIsNotModified() [all …]
|
D | DecelerateInterpolatorTest.java | 17 package android.view.animation.cts; 29 import android.view.animation.AlphaAnimation; 30 import android.view.animation.Animation; 31 import android.view.animation.AnimationUtils; 32 import android.view.animation.DecelerateInterpolator; 33 import android.view.animation.Interpolator; 34 import android.view.animation.Transformation;
|
D | AccelerateInterpolatorTest.java | 17 package android.view.animation.cts; 29 import android.view.animation.AccelerateInterpolator; 30 import android.view.animation.AlphaAnimation; 31 import android.view.animation.Animation; 32 import android.view.animation.AnimationUtils; 33 import android.view.animation.Interpolator; 34 import android.view.animation.Transformation;
|
D | GridLayoutAnimationControllerTest.java | 17 package android.view.animation.cts; 28 import android.view.animation.Animation; 29 import android.view.animation.AnimationUtils; 30 import android.view.animation.GridLayoutAnimationController; 31 import android.view.animation.GridLayoutAnimationController.AnimationParameters; 32 import android.view.animation.Transformation; 283 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); 284 animation.setFillAfter(true); 285 MyGridLayoutAnimationController controller = new MyGridLayoutAnimationController(animation); 439 public MyGridLayoutAnimationController(Animation animation) { in MyGridLayoutAnimationController() argument [all …]
|
D | CycleInterpolatorTest.java | 17 package android.view.animation.cts; 29 import android.view.animation.AlphaAnimation; 30 import android.view.animation.Animation; 31 import android.view.animation.AnimationUtils; 32 import android.view.animation.CycleInterpolator; 33 import android.view.animation.Interpolator; 34 import android.view.animation.Transformation;
|
D | GridLayoutAnimationController_AnimationParametersTest.java | 17 package android.view.animation.cts; 20 import android.view.animation.GridLayoutAnimationController;
|
D | LayoutAnimationController_AnimationParametersTest.java | 17 package android.view.animation.cts; 19 import android.view.animation.LayoutAnimationController;
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ValueAnimatorTest.java | 16 package android.animation.cts; 30 import android.animation.Animator; 31 import android.animation.Animator.AnimatorListener; 32 import android.animation.AnimatorListenerAdapter; 33 import android.animation.ObjectAnimator; 34 import android.animation.PropertyValuesHolder; 35 import android.animation.TimeInterpolator; 36 import android.animation.TypeEvaluator; 37 import android.animation.ValueAnimator; 38 import android.animation.ValueAnimator.AnimatorUpdateListener; [all …]
|
D | ObjectAnimatorTest.java | 17 package android.animation.cts; 29 import android.animation.Animator; 30 import android.animation.AnimatorListenerAdapter; 31 import android.animation.ArgbEvaluator; 32 import android.animation.ObjectAnimator; 33 import android.animation.PropertyValuesHolder; 34 import android.animation.TypeConverter; 35 import android.animation.ValueAnimator; 43 import android.view.animation.AccelerateInterpolator; 44 import android.view.animation.Interpolator; [all …]
|
D | PropertyValuesHolderTest.java | 16 package android.animation.cts; 26 import android.animation.Animator; 27 import android.animation.AnimatorListenerAdapter; 28 import android.animation.ArgbEvaluator; 29 import android.animation.Keyframe; 30 import android.animation.ObjectAnimator; 31 import android.animation.PropertyValuesHolder; 32 import android.animation.TypeConverter; 33 import android.animation.ValueAnimator; 43 import android.view.animation.AccelerateInterpolator; [all …]
|
D | AnimationActivity.java | 17 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; 190 AnimatorSet animation = null; field in AnimationActivity.AnimationView [all …]
|
D | AnimatorSetTest.java | 16 package android.animation.cts; 31 import android.animation.Animator; 32 import android.animation.AnimatorListenerAdapter; 33 import android.animation.AnimatorSet; 34 import android.animation.ObjectAnimator; 35 import android.animation.TimeInterpolator; 36 import android.animation.ValueAnimator; 39 import android.view.animation.AccelerateDecelerateInterpolator; 40 import android.view.animation.AccelerateInterpolator; 41 import android.view.animation.LinearInterpolator; [all …]
|
D | AnimatorTest.java | 16 package android.animation.cts; 24 import android.animation.Animator; 25 import android.animation.ObjectAnimator; 26 import android.animation.ValueAnimator; 29 import android.view.animation.AccelerateInterpolator; 234 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument 238 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument 242 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument 246 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
|
D | LayoutAnimationTest.java | 16 package android.animation.cts; 23 import android.animation.Animator; 24 import android.animation.LayoutTransition; 25 import android.animation.LayoutTransition.TransitionListener; 26 import android.animation.ObjectAnimator; 27 import android.animation.PropertyValuesHolder; 28 import android.animation.TimeInterpolator; 32 import android.view.animation.AccelerateInterpolator;
|
D | EvaluatorTest.java | 17 package android.animation.cts; 22 import android.animation.ArgbEvaluator; 23 import android.animation.FloatArrayEvaluator; 24 import android.animation.FloatEvaluator; 25 import android.animation.IntArrayEvaluator; 26 import android.animation.IntEvaluator; 27 import android.animation.PointFEvaluator; 28 import android.animation.RectEvaluator;
|
D | KeyframeTest.java | 17 package android.animation.cts; 22 import android.animation.Keyframe; 23 import android.animation.TimeInterpolator; 24 import android.view.animation.AccelerateInterpolator;
|
D | InterpolatorTest.java | 16 package android.animation.cts; 21 import android.view.animation.AnimationUtils; 22 import android.view.animation.Interpolator;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ViewAnimatorTest.java | 29 import android.view.animation.AccelerateInterpolator; 30 import android.view.animation.Animation; 31 import android.view.animation.AnimationSet; 85 Animation animation = mViewAnimator.getInAnimation(); in testAccessInAnimation() local 86 assertTrue(animation.getInterpolator() instanceof AccelerateInterpolator); in testAccessInAnimation() 87 assertEquals(500, animation.getDuration()); in testAccessInAnimation() 325 Animation animation = mViewAnimator.getOutAnimation(); in testAccessOutAnimation() local 326 assertTrue(animation.getInterpolator() instanceof AccelerateInterpolator); in testAccessOutAnimation() 327 assertEquals(500, animation.getDuration()); in testAccessOutAnimation()
|