Searched refs:mFinishedCallback (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | RemoteAnimationControllerTest.java | 65 @Mock OnAnimationFinishedCallback mFinishedCallback; field in RemoteAnimationControllerTest 92 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testRun() 114 verify(mFinishedCallback).onAnimationFinished(eq(adapter)); in testRun() 125 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testCancel() 137 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testTimeout() 144 verify(mFinishedCallback).onAnimationFinished(eq(adapter)); in testTimeout() 154 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testTimeout_scaled() 166 verify(mFinishedCallback).onAnimationFinished(eq(adapter)); in testTimeout_scaled() 196 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testOneNotStarted() 213 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testRemovedBeforeStarted() [all …]
|
D | RecentsAnimationControllerTest.java | 55 @Mock OnAnimationFinishedCallback mFinishedCallback; field in RecentsAnimationControllerTest 75 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testRemovedBeforeStarted_expectCanceled() 82 verify(mFinishedCallback).onAnimationFinished(eq(adapter)); in testRemovedBeforeStarted_expectCanceled() 94 adapter.startAnimation(mMockLeash, mMockTransaction, mFinishedCallback); in testCancelAfterRemove_expectIgnored()
|
D | SurfaceAnimatorTest.java | 225 mSurfaceAnimator = new SurfaceAnimator(this, mFinishedCallback, sWm); in MyAnimatable() 282 private final Runnable mFinishedCallback = () -> mFinishedCallbackCalled = true;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RemoteAnimationController.java | 65 private FinishedCallback mFinishedCallback; field in RemoteAnimationController 110 mFinishedCallback = new FinishedCallback(this); in goodToGo() 121 mRemoteAnimationAdapter.getRunner().onAnimationStart(animations, mFinishedCallback); in goodToGo() 217 if (mFinishedCallback != null) { in releaseFinishedCallback() 218 mFinishedCallback.release(); in releaseFinishedCallback() 219 mFinishedCallback = null; in releaseFinishedCallback()
|