Home
last modified time | relevance | path

Searched refs:mAnimatable (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceAnimatorTest.java66 private MyAnimatable mAnimatable; field in SurfaceAnimatorTest
74 mAnimatable = new MyAnimatable(mWm, mSession, mTransaction); in setUp()
81 mAnimatable = null; in tearDown()
90 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in testRunAnimation()
93 assertAnimating(mAnimatable); in testRunAnimation()
94 verify(mTransaction).reparent(eq(mAnimatable.mSurface), eq(mAnimatable.mLeash)); in testRunAnimation()
98 assertNotAnimating(mAnimatable); in testRunAnimation()
99 assertTrue(mAnimatable.mFinishedCallbackCalled); in testRunAnimation()
100 verify(mTransaction).remove(eq(mAnimatable.mLeash)); in testRunAnimation()
106 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in testOverrideAnimation()
[all …]
DRecentsAnimationControllerTest.java167 spyOn(mController.mRecentScreenshotAnimator.mAnimatable); in testCancelAnimationWithScreenShot()
169 verify(mController.mRecentScreenshotAnimator.mAnimatable).onAnimationLeashLost(any()); in testCancelAnimationWithScreenShot()
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimator.java54 final Animatable mAnimatable; field in SurfaceAnimator
66 mAnimatable = animatable; in SurfaceAnimator()
91 reset(mAnimatable.getPendingTransaction(), true /* destroyLeash */); in getFinishedCallback()
96 if (!mAnimatable.shouldDeferAnimationFinish(resetAndInvokeFinish)) { in getFinishedCallback()
117 final SurfaceControl surface = mAnimatable.getSurfaceControl();
124 mAnimatable.getSurfaceWidth(), mAnimatable.getSurfaceHeight(), hidden);
125 mAnimatable.onAnimationLeashCreated(t, mLeash);
153 mAnimation.startAnimation(mLeash, mAnimatable.getPendingTransaction(),
155 mAnimatable.commitPendingTransaction();
178 cancelAnimation(mAnimatable.getPendingTransaction(), false /* restarting */,
[all …]