Home
last modified time | relevance | path

Searched refs:mFinishedCallback (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRemoteAnimationControllerTest.java68 @Mock OnAnimationFinishedCallback mFinishedCallback; field in RemoteAnimationControllerTest
94 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testRun()
116 verify(mFinishedCallback).onAnimationFinished(eq(adapter)); in testRun()
127 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testCancel()
140 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testTimeout()
147 verify(mFinishedCallback).onAnimationFinished(eq(adapter)); in testTimeout()
158 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testTimeout_scaled()
170 verify(mFinishedCallback).onAnimationFinished(eq(adapter)); in testTimeout_scaled()
199 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testOneNotStarted()
216 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testRemovedBeforeStarted()
[all …]
DRecentsAnimationControllerTest.java73 @Mock OnAnimationFinishedCallback mFinishedCallback; field in RecentsAnimationControllerTest
98 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testRemovedBeforeStarted_expectCanceled()
105 verify(mFinishedCallback).onAnimationFinished(eq(adapter)); in testRemovedBeforeStarted_expectCanceled()
117 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testCancelAfterRemove_expectIgnored()
DSurfaceAnimatorTest.java274 mSurfaceAnimator = new SurfaceAnimator(this, mFinishedCallback, wm); in MyAnimatable()
331 private final Runnable mFinishedCallback = () -> mFinishedCallbackCalled = true;
/frameworks/base/services/core/java/com/android/server/wm/
DRemoteAnimationController.java65 private FinishedCallback mFinishedCallback; field in RemoteAnimationController
111 mFinishedCallback = new FinishedCallback(this); in goodToGo()
122 mRemoteAnimationAdapter.getRunner().onAnimationStart(animations, mFinishedCallback); in goodToGo()
232 if (mFinishedCallback != null) { in releaseFinishedCallback()
233 mFinishedCallback.release(); in releaseFinishedCallback()
234 mFinishedCallback = null; in releaseFinishedCallback()