Home
last modified time | relevance | path

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

1234

/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTest.java17 package android.view.animation.cts;
43 import android.view.animation.AccelerateDecelerateInterpolator;
44 import android.view.animation.AccelerateInterpolator;
45 import android.view.animation.Animation;
46 import android.view.animation.Animation.AnimationListener;
47 import android.view.animation.AnimationUtils;
48 import android.view.animation.DecelerateInterpolator;
49 import android.view.animation.Interpolator;
50 import android.view.animation.Transformation;
133 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); in testAccessInterpolator() local
[all …]
DAlphaAnimationTest.java17 package android.view.animation.cts;
27 import android.view.animation.AlphaAnimation;
28 import android.view.animation.Transformation;
64 AlphaAnimation animation = new AlphaAnimation(mContext, null); in testWillChangeBounds() local
65 assertFalse(animation.willChangeBounds()); in testWillChangeBounds()
70 AlphaAnimation animation = new AlphaAnimation(0.0f, 0.5f); in testWillChangeTransformationMatrix() local
71 assertFalse(animation.willChangeTransformationMatrix()); in testWillChangeTransformationMatrix()
76 MyAlphaAnimation animation = new MyAlphaAnimation(0.0f, 1.0f); in testApplyTransformation() local
80 animation.applyTransformation(0.0f, transformation); in testApplyTransformation()
83 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;
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()
DAnimationUtilsTest.java17 package android.view.animation.cts;
31 import android.view.animation.AccelerateInterpolator;
32 import android.view.animation.AlphaAnimation;
33 import android.view.animation.Animation;
34 import android.view.animation.AnimationUtils;
35 import android.view.animation.GridLayoutAnimationController;
36 import android.view.animation.Interpolator;
37 import android.view.animation.LayoutAnimationController;
87 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha); in testLoad() local
88 assertEquals(duration, animation.getDuration()); in testLoad()
[all …]
DLayoutAnimationControllerTest.java17 package android.view.animation.cts;
31 import android.view.animation.AccelerateInterpolator;
32 import android.view.animation.Animation;
33 import android.view.animation.AnimationUtils;
34 import android.view.animation.DecelerateInterpolator;
35 import android.view.animation.LayoutAnimationController;
36 import android.view.animation.LayoutAnimationController.AnimationParameters;
37 import android.view.animation.ScaleAnimation;
38 import android.view.animation.Transformation;
254 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha);
[all …]
DAccelerateDecelerateInterpolatorTest.java17 package android.view.animation.cts;
31 import android.view.animation.AccelerateDecelerateInterpolator;
32 import android.view.animation.AlphaAnimation;
33 import android.view.animation.Animation;
34 import android.view.animation.AnimationUtils;
35 import android.view.animation.Interpolator;
36 import android.view.animation.Transformation;
DLinearInterpolatorTest.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.Interpolator;
32 import android.view.animation.LinearInterpolator;
33 import android.view.animation.Transformation;
DDecelerateInterpolatorTest.java17 package android.view.animation.cts;
31 import android.view.animation.AlphaAnimation;
32 import android.view.animation.Animation;
33 import android.view.animation.AnimationUtils;
34 import android.view.animation.DecelerateInterpolator;
35 import android.view.animation.Interpolator;
36 import android.view.animation.Transformation;
DAnimatorInflaterTest.java16 package android.view.animation.cts;
29 import android.animation.Animator;
30 import android.animation.AnimatorInflater;
31 import android.animation.AnimatorListenerAdapter;
32 import android.animation.AnimatorSet;
33 import android.animation.ObjectAnimator;
34 import android.animation.StateListAnimator;
292 public void onAnimationEnd(Animator animation) { in testReloadedAnimatorIsNotModified()
293 super.onAnimationEnd(animation); in testReloadedAnimatorIsNotModified()
297 public void onAnimationStart(Animator animation) { in testReloadedAnimatorIsNotModified()
[all …]
DGridLayoutAnimationController_AnimationParametersTest.java17 package android.view.animation.cts;
21 import android.view.animation.GridLayoutAnimationController;
DLayoutAnimationController_AnimationParametersTest.java17 package android.view.animation.cts;
20 import android.view.animation.LayoutAnimationController;
DAccelerateInterpolatorTest.java17 package android.view.animation.cts;
31 import android.view.animation.AccelerateInterpolator;
32 import android.view.animation.AlphaAnimation;
33 import android.view.animation.Animation;
34 import android.view.animation.AnimationUtils;
35 import android.view.animation.Interpolator;
36 import android.view.animation.Transformation;
/cts/tests/tests/graphics/src/android/graphics/cts/
DAnimatorLeakTest.java22 import android.animation.Animator;
23 import android.animation.AnimatorListenerAdapter;
24 import android.animation.AnimatorSet;
25 import android.animation.ValueAnimator;
119 public void onAnimationStart(Animator animation) { in testPauseResume()
125 public void onAnimationPause(Animator animation) { in testPauseResume()
126 if (animation == infiniteAnimator) { in testPauseResume()
128 } else if (animation == infiniteSet) { in testPauseResume()
130 } else if (animation == finiteAnimator) { in testPauseResume()
133 animation.end(); in testPauseResume()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsAnimationControllerTests.java48 import android.animation.Animator;
49 import android.animation.AnimatorListenerAdapter;
50 import android.animation.ValueAnimator;
66 import android.view.animation.AccelerateInterpolator;
67 import android.view.animation.DecelerateInterpolator;
68 import android.view.animation.Interpolator;
69 import android.view.animation.LinearInterpolator;
559 public void onPrepare(@NonNull WindowInsetsAnimation animation) { in setupAnimationListener()
569 @NonNull WindowInsetsAnimation animation, in setupAnimationListener()
577 animation.getInterpolator(), in setupAnimationListener()
[all …]
/cts/tests/tests/animation/src/android/animation/cts/
DValueAnimatorTest.java16 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 …]
DPropertyValuesHolderTest.java16 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 …]
DObjectAnimatorTest.java17 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.TypeEvaluator;
36 import android.animation.ValueAnimator;
44 import android.view.animation.AccelerateInterpolator;
[all …]
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;
190 AnimatorSet animation = null; field in AnimationActivity.AnimationView
[all …]
DAnimatorTest.java16 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;
256 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
260 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
264 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
268 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
DKeyframeTest.java17 package android.animation.cts;
22 import android.animation.Keyframe;
23 import android.animation.TimeInterpolator;
24 import android.view.animation.AccelerateInterpolator;
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowInsetsAnimationUtils.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.TypeEvaluator;
22 import android.animation.ValueAnimator;
97 public void onAnimationEnd(Animator animation) { in runTransition()
DWindowInsetsAnimationTestBase.java206 public void onPrepare(WindowInsetsAnimation animation) { in onPrepare() argument
208 lastAnimation = animation; in onPrepare()
213 WindowInsetsAnimation animation, WindowInsetsAnimation.Bounds bounds) { in onStart() argument
226 public void onEnd(WindowInsetsAnimation animation) { in onEnd() argument
249 public void onPrepare(WindowInsetsAnimation animation) { in onPrepare() argument
250 if ((animation.getTypeMask() & statusBars()) != 0) { in onPrepare()
251 statusBarAnim = animation; in onPrepare()
253 if ((animation.getTypeMask() & navigationBars()) != 0) { in onPrepare()
254 navBarAnim = animation; in onPrepare()
256 if ((animation.getTypeMask() & ime()) != 0) { in onPrepare()
[all …]
/cts/hostsidetests/graphics/gpuprofiling/app/src/android/gpuprofiling/
DGpuRenderStagesDeviceActivity.java23 import android.view.animation.AccelerateDecelerateInterpolator;
24 import android.view.animation.AlphaAnimation;
25 import android.view.animation.Animation;
/cts/tests/tests/transition/src/android/transition/cts/
DTrackingVisibilityWithAnimator.java18 import android.animation.Animator;
19 import android.animation.ValueAnimator;
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/
DTestActivity.java39 import android.view.animation.Animation;
40 import android.view.animation.RotateAnimation;
76 final RotateAnimation animation = new RotateAnimation(0, 180, Animation.RELATIVE_TO_SELF, in preventActivityIdle() local
78 animation.setRepeatCount(Animation.INFINITE); in preventActivityIdle()
79 progressBar.startAnimation(animation); in preventActivityIdle()

1234