Searched refs:mAnimator (Results 1 – 7 of 7) sorted by relevance
52 private Animator mAnimator; field in AnimatorTest73 mAnimator = mActivity.createAnimatorWithDuration(mDuration); in setup()83 mAnimator = new ValueAnimator(); in testConstructor()84 assertNotNull(mAnimator); in testConstructor()89 Animator animatorClone = mAnimator.clone(); in testClone()90 assertEquals(mAnimator.getDuration(), animatorClone.getDuration()); in testClone()96 mAnimator.setStartDelay(startDelay); in testStartDelay()97 assertEquals(startDelay, mAnimator.getStartDelay()); in testStartDelay()103 mAnimator.start(); in testStart()104 assertTrue(mAnimator.isRunning()); in testStart()[all …]
138 Animator mAnimator; in testChangeDuringRtAnimation()148 mAnimator = ViewAnimationUtils.createCircularReveal( in testChangeDuringRtAnimation()150 mAnimator.setDuration(3000); in testChangeDuringRtAnimation()151 mAnimator.start(); in testChangeDuringRtAnimation()167 mAnimator.cancel(); in testChangeDuringRtAnimation()205 ValueAnimator mAnimator; in testChangeDuringUiAnimation()225 mAnimator = ValueAnimator.ofInt(0, ActivityTestBase.TEST_HEIGHT / 2); in testChangeDuringUiAnimation()226 mAnimator.setRepeatMode(mAnimator.REVERSE); in testChangeDuringUiAnimation()227 mAnimator.setRepeatCount(mAnimator.INFINITE); in testChangeDuringUiAnimation()228 mAnimator.setDuration(400); in testChangeDuringUiAnimation()[all …]
195 ValueAnimator mAnimator = ValueAnimator.ofInt(0, 20); in testLayerClear()209 mAnimator.setRepeatMode(ValueAnimator.REVERSE); in testLayerClear()210 mAnimator.setRepeatCount(ValueAnimator.INFINITE); in testLayerClear()211 mAnimator.setDuration(200); in testLayerClear()212 mAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in testLayerClear()215 child.setTranslationY((Integer) mAnimator.getAnimatedValue()); in testLayerClear()218 mAnimator.start(); in testLayerClear()222 mAnimator.cancel(); in testLayerClear()
178 ObjectAnimator mAnimator;182 mAnimator = createInfiniteAnimator(root, "translationY", 0, 50);191 mAnimator.cancel();
30 private ValueAnimator mAnimator; field in AnimationTestCase51 mAnimator = mAnimationFactory.createAnimator(view); in start()52 mAnimator.start(); in start()56 mAnimator.cancel(); in end()
53 Animator mAnimator; in requestControlThenTransitionToVisibility()58 mAnimator = runTransition(controller, show); in requestControlThenTransitionToVisibility()69 if (mAnimator != null) { in requestControlThenTransitionToVisibility()70 mAnimator.cancel(); in requestControlThenTransitionToVisibility()
117 private ValueAnimator mAnimator; field in WindowInsetsAnimationControllerTests588 if (mAnimator != null) { in setupAnimationListener()593 equalTo(mAnimator.getAnimatedValue())); in setupAnimationListener()597 equalTo(mAnimator.getAnimatedFraction())); in setupAnimationListener()608 mAnimator.getAnimatedFraction()))); in setupAnimationListener()629 mAnimator = in runTransition()638 mAnimator.setDuration(durationMillis); in runTransition()639 mAnimator.addUpdateListener( in runTransition()647 mAnimator.cancel(); in runTransition()650 Insets insets = (Insets) mAnimator.getAnimatedValue(); in runTransition()[all …]