Home
last modified time | relevance | path

Searched refs:mFinishCallback (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingControllerTests.java114 mFinishTransaction, mFinishCallback)); in testStartAnimation_containsNonActivityEmbeddingChange()
118 verifyNoMoreInteractions(mFinishCallback); in testStartAnimation_containsNonActivityEmbeddingChange()
132 mFinishTransaction, mFinishCallback)); in testStartAnimation_containsNonActivityEmbeddingChange()
147 mFinishTransaction, mFinishCallback)); in testStartAnimation_containsOnlyFillTaskActivityEmbeddingChange()
151 verifyNoMoreInteractions(mFinishCallback); in testStartAnimation_containsOnlyFillTaskActivityEmbeddingChange()
165 mFinishTransaction, mFinishCallback)); in testStartAnimation_containsActivityEmbeddingSplitChange()
182 mFinishTransaction, mFinishCallback)); in testStartAnimation_containsChangeEnterActivityEmbeddingSplit()
199 mFinishTransaction, mFinishCallback)); in testStartAnimation_containsChangeExitActivityEmbeddingSplit()
277 mFinishTransaction, mFinishCallback); in testMergeAnimation()
278 verify(mFinishCallback, never()).onTransitionFinished(any()); in testMergeAnimation()
[all …]
DActivityEmbeddingAnimationRunnerTests.java107 () -> mFinishCallback.onTransitionFinished(null /* wct */), in testChangesBehindStartingWindow()
122 () -> mFinishCallback.onTransitionFinished(null /* wct */), in testTransitionTypeDragResize()
140 () -> mFinishCallback.onTransitionFinished(null /* wct */), in testInvalidCustomAnimation_disableAnimationOptionsPerChange()
158 () -> mFinishCallback.onTransitionFinished(null /* wct */), in testInvalidCustomAnimation_enableAnimationOptionsPerChange()
DActivityEmbeddingAnimationTestBase.java65 Transitions.TransitionFinishCallback mFinishCallback; field in ActivityEmbeddingAnimationTestBase
78 mFinishCallback = (wct) -> {}; in setUp()
82 spyOn(mFinishCallback); in setUp()
/frameworks/base/services/core/java/com/android/server/
DMountServiceIdler.java42 private Runnable mFinishCallback = new Runnable() { field in MountServiceIdler
46 synchronized (mFinishCallback) {
73 synchronized (mFinishCallback) { in onStartJob()
76 ms.runIdleMaint(mFinishCallback); in onStartJob()
88 ms.abortIdleMaint(mFinishCallback); in onStopJob()
89 synchronized (mFinishCallback) { in onStopJob()
DSmartStorageMaintIdler.java40 private final Runnable mFinishCallback = new Runnable() { field in SmartStorageMaintIdler
62 ms.runSmartIdleMaint(mFinishCallback); in onStartJob()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DLegacyTransitions.java66 private IRemoteAnimationFinishedCallback mFinishCallback = null; field in LegacyTransitions.LegacyTransition
111 mFinishCallback = finishedCallback; in onAnimationStart()
125 if (mSyncId < 0 || (mFinishCallback == null && !mCancelled)) { in checkApply()
128 mFinishCallback != null, mCancelled); in checkApply()
136 mNonApps, mFinishCallback, mTransaction); in checkApply()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimation.java58 private Runnable mFinishCallback; field in SplashScreenExitAnimation
100 mFinishCallback = handleFinish; in SplashScreenExitAnimation()
118 if (mFinishCallback != null) { in reset()
119 mFinishCallback.run(); in reset()
120 mFinishCallback = null; in reset()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
DUnfoldTransitionHandler.java65 private TransitionFinishCallback mFinishCallback; field in UnfoldTransitionHandler
148 mFinishCallback = finishCallback; in startAnimation()
307 if (mFinishCallback == null) return; in finishTransitionIfNeeded()
315 mFinishCallback.onTransitionFinished(null); in finishTransitionIfNeeded()
316 mFinishCallback = null; in finishTransitionIfNeeded()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossTaskBackAnimation.java112 private IRemoteAnimationFinishedCallback mFinishCallback; field in CrossTaskBackAnimation
283 if (mFinishCallback != null) {
285 mFinishCallback.onAnimationFinished();
290 mFinishCallback = null;
389 mFinishCallback = finishedCallback; in onAnimationStart()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransition.java115 private Transitions.TransitionFinishCallback mFinishCallback; field in PipTransition
233 if (mFinishCallback != null) { in startAnimation()
469 if ((mExitTransition == null || isAnimatingLocally()) && mFinishCallback != null) { in onFinishResize()
553 final Transitions.TransitionFinishCallback finishCallback = mFinishCallback; in callFinishCallback()
554 mFinishCallback = null; in callFinishCallback()
564 if (mFinishCallback == null) return; in forceFinishTransition()
565 mFinishCallback.onTransitionFinished(null /* wct */); in forceFinishTransition()
566 mFinishCallback = null; in forceFinishTransition()
707 mFinishCallback = (wct) -> { in startExitAnimation()
970 if (mFinishCallback != null) { in startEnterAnimation()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTransition.java109 private Transitions.TransitionFinishCallback mFinishCallback; field in PipTransition
276 mFinishCallback = finishCallback; in startResizeAnimation()
535 if (mFinishCallback != null) { in finishTransition()
536 mFinishCallback.onTransitionFinished(wct); in finishTransition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenTransitions.java82 private Transitions.TransitionFinishCallback mFinishCallback = null; field in SplitScreenTransitions
100 mFinishCallback = finishCallback; in initTransition()
536 if (mFinishCallback != null) { in onFinish()
537 Transitions.TransitionFinishCallback currentFinishCallback = mFinishCallback; in onFinish()
538 mFinishCallback = null; in onFinish()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceAnimatorTest.java282 deferredFinishAdapter.mFinishCallback.onAnimationFinished(ANIMATION_TYPE_APP_TRANSITION, in testDeferFinishFromAdapter()
425 private OnAnimationFinishedCallback mFinishCallback;
436 mFinishCallback = finishCallback;
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimationRunner.java323 mAnimationThreadHandler.post(a.mFinishCallback); in startAnimationLocked()
535 final Runnable mFinishCallback; field in SurfaceAnimationRunner.RunningAnimation
544 mFinishCallback = finishCallback; in RunningAnimation()