Home
last modified time | relevance | path

Searched refs:finishCallback (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/
DUnfoldTransitionHandlerTest.java146 TransitionFinishCallback finishCallback = mock(TransitionFinishCallback.class); in startAnimation_animationHasNotFinishedYet_doesNotFinishTheTransition() local
153 finishCallback in startAnimation_animationHasNotFinishedYet_doesNotFinishTheTransition()
156 verify(finishCallback, never()).onTransitionFinished(any()); in startAnimation_animationHasNotFinishedYet_doesNotFinishTheTransition()
163 TransitionFinishCallback finishCallback = mock(TransitionFinishCallback.class); in startAnimation_sameTransitionAsHandleRequest_startsAnimation() local
170 finishCallback in startAnimation_sameTransitionAsHandleRequest_startsAnimation()
179 TransitionFinishCallback finishCallback = mock(TransitionFinishCallback.class); in startAnimation_differentTransitionFromRequestWithUnfold_startsAnimation() local
186 finishCallback in startAnimation_differentTransitionFromRequestWithUnfold_startsAnimation()
195 TransitionFinishCallback finishCallback = mock(TransitionFinishCallback.class); in startAnimation_differentTransitionFromRequestWithResize_doesNotStartAnimation() local
202 finishCallback in startAnimation_differentTransitionFromRequestWithResize_doesNotStartAnimation()
211 TransitionFinishCallback finishCallback = mock(TransitionFinishCallback.class); in startAnimation_differentTransitionFromRequestWithoutUnfold_doesNotStart() local
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DRecentsMixedTransition.java61 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
65 info, startTransaction, finishTransaction, finishCallback); in startAnimation()
68 info, startTransaction, finishTransaction, finishCallback); in startAnimation()
71 info, startTransaction, finishTransaction, finishCallback); in startAnimation()
81 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateRecentsDuringDesktop() argument
88 mFinishCB = finishCallback; in animateRecentsDuringDesktop()
93 finishCallback.onTransitionFinished(wct); in animateRecentsDuringDesktop()
116 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateRecentsDuringKeyguard() argument
123 mFinishCB = finishCallback; in animateRecentsDuringKeyguard()
132 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateRecentsDuringSplit() argument
[all …]
DDefaultMixedTransition.java71 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
76 info, startTransaction, finishTransaction, finishCallback); in startAnimation()
79 finishCallback, mPlayer, mMixedHandler, mPipHandler, mSplitHandler, in startAnimation()
83 finishCallback, mPlayer, mMixedHandler, mPipHandler, mSplitHandler, in startAnimation()
86 animateKeyguard(this, info, startTransaction, finishTransaction, finishCallback, in startAnimation()
90 finishTransaction, finishCallback); in startAnimation()
92 animateUnfold(info, startTransaction, finishTransaction, finishCallback); in startAnimation()
102 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateEnterPipFromActivityEmbedding() argument
125 finishCallback.onTransitionFinished(mFinishWCT); in animateEnterPipFromActivityEmbedding()
153 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateOpenIntentWithRemoteAndPip() argument
[all …]
DOneShotRemoteHandler.java64 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
69 final IBinder.DeathRecipient remoteDied = createDeathRecipient(finishCallback); in startAnimation()
71 createFinishedCallback(info, finishTransaction, finishCallback, remoteDied); in startAnimation()
91 finishCallback.onTransitionFinished(null /* wct */); in startAnimation()
100 @NonNull Transitions.TransitionFinishCallback finishCallback) { in mergeAnimation() argument
116 finishCallback.onTransitionFinished(wct); in mergeAnimation()
138 @NonNull Transitions.TransitionFinishCallback finishCallback, in takeOverAnimation() argument
144 final IBinder.DeathRecipient remoteDied = createDeathRecipient(finishCallback); in takeOverAnimation()
146 info, null /* finishTransaction */, finishCallback, remoteDied); in takeOverAnimation()
172 finishCallback.onTransitionFinished(null /* wct */); in takeOverAnimation()
[all …]
DRemoteTransitionHandler.java121 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
155 unhandleDeath(remote.asBinder(), finishCallback); in startAnimation()
161 finishCallback.onTransitionFinished(wct); in startAnimation()
172 handleDeath(remote.asBinder(), finishCallback); in startAnimation() local
183 unhandleDeath(remote.asBinder(), finishCallback); in startAnimation()
185 mMainExecutor.execute(() -> finishCallback.onTransitionFinished(null /* wct */)); in startAnimation()
215 @NonNull Transitions.TransitionFinishCallback finishCallback) { in mergeAnimation() argument
241 finishCallback.onTransitionFinished(wct); in mergeAnimation()
285 @NonNull Transitions.TransitionFinishCallback finishCallback, in takeOverAnimation() argument
294 return handler.takeOverAnimation(transition, info, transaction, finishCallback, states); in takeOverAnimation()
[all …]
DScreenRotationAnimation.java249 @NonNull Runnable finishCallback, float animationScale, in buildAnimation() argument
313 buildScreenshotAlphaAnimation(animations, finishCallback, mainExecutor); in buildAnimation()
314 startDisplayRotation(animations, finishCallback, mainExecutor); in buildAnimation()
316 startDisplayRotation(animations, finishCallback, mainExecutor); in buildAnimation()
317 startScreenshotRotationAnimation(animations, finishCallback, mainExecutor); in buildAnimation()
325 @NonNull Runnable finishCallback, @NonNull ShellExecutor mainExecutor) { in startDisplayRotation() argument
326 buildSurfaceAnimation(animations, mRotateEnterAnimation, mSurfaceControl, finishCallback, in startDisplayRotation()
332 @NonNull Runnable finishCallback, @NonNull ShellExecutor mainExecutor) { in startScreenshotRotationAnimation() argument
333 buildSurfaceAnimation(animations, mRotateExitAnimation, mAnimLeash, finishCallback, in startScreenshotRotationAnimation()
339 @NonNull Runnable finishCallback, @NonNull ShellExecutor mainExecutor) { in buildScreenshotAlphaAnimation() argument
[all …]
DDefaultMixedHandler.java168 @NonNull Transitions.TransitionFinishCallback finishCallback); in startAnimation() argument
173 @NonNull Transitions.TransitionFinishCallback finishCallback); in mergeAnimation() argument
410 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
428 finishCallback.onTransitionFinished(wct); in startAnimation()
454 finishCallback.onTransitionFinished(wct); in startAnimation()
495 Transitions.TransitionFinishCallback finishCallback, boolean replacingPip) { in animatePendingEnterPipFromSplit() argument
503 finishCallback.onTransitionFinished(wct); in animatePendingEnterPipFromSplit()
517 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animatePendingSplitWithDisplayChange() argument
541 finishCallback.onTransitionFinished(mixed.mFinishWCT); in animatePendingSplitWithDisplayChange()
567 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateEnteringPipWithDisplayChange() argument
[all …]
DSleepHandler.java40 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
46 finishCallback.onTransitionFinished(null); in startAnimation()
DDefaultTransitionHandler.java297 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
304 finishCallback.onTransitionFinished(null /* wct */); in startAnimation()
313 finishCallback.onTransitionFinished(null /* wct */); in startAnimation()
327 finishCallback.onTransitionFinished(null /* wct */); in startAnimation()
675 @NonNull Transitions.TransitionFinishCallback finishCallback) { in mergeAnimation() argument
696 final Runnable finishCallback = () -> { in startRotationAnimation() local
702 anim.buildAnimation(animGroup, finishCallback, mTransitionAnimationScaleSetting, in startRotationAnimation()
808 @NonNull Runnable finishCallback, @NonNull TransactionPool pool, in buildSurfaceAnimation() argument
833 finishCallback.run(); in buildSurfaceAnimation()
867 @NonNull Runnable finishCallback, TransitionInfo.Change change, in attachThumbnail() argument
[all …]
DMixedTransitionHelper.java50 @NonNull Transitions.TransitionFinishCallback finishCallback, in animateEnterPipFromSplit() argument
89 finishCallback.onTransitionFinished(mixed.mFinishWCT); in animateEnterPipFromSplit()
212 @NonNull Transitions.TransitionFinishCallback finishCallback, in animateKeyguard() argument
217 mixed.mFinishCB = finishCallback; in animateKeyguard()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTransition.java189 @NonNull Transitions.TransitionFinishCallback finishCallback) {} in mergeAnimation() argument
200 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
219 finishCallback); in startAnimation()
225 finishCallback); in startAnimation()
228 finishCallback); in startAnimation()
232 return startExpandAnimation(info, startTransaction, finishTransaction, finishCallback); in startAnimation()
235 return startResizeAnimation(info, startTransaction, finishTransaction, finishCallback); in startAnimation()
239 return removePipImmediately(info, startTransaction, finishTransaction, finishCallback); in startAnimation()
251 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startResizeAnimation() argument
276 mFinishCallback = finishCallback; in startResizeAnimation()
[all …]
/frameworks/base/core/java/android/window/
DIRemoteTransition.aidl48 in IRemoteTransitionFinishedCallback finishCallback); in startAnimation() argument
62 in IRemoteTransitionFinishedCallback finishCallback); in mergeAnimation() argument
74 in SurfaceControl.Transaction t, in IRemoteTransitionFinishedCallback finishCallback, in takeOverAnimation() argument
DRemoteTransitionStub.java32 IRemoteTransitionFinishedCallback finishCallback) throws RemoteException {} in mergeAnimation() argument
38 IRemoteTransitionFinishedCallback finishCallback, in takeOverAnimation() argument
DBackProgressAnimator.java174 public void onBackInvoked(@NonNull Runnable finishCallback) { in onBackInvoked() argument
175 mBackInvokedFinishRunnable = finishCallback; in onBackInvoked()
198 public void onBackCancelled(@NonNull Runnable finishCallback) { in onBackCancelled() argument
199 mBackCancelledFinishRunnable = finishCallback; in onBackCancelled()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DEnterDesktopTaskTransitionHandler.java102 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
116 transition, info.getType(), change, startT, finishT, finishCallback); in startAnimation()
131 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startChangeTransition() argument
139 return animateMoveToDesktop(change, startT, finishCallback); in startChangeTransition()
148 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateMoveToDesktop() argument
177 () -> finishCallback.onTransitionFinished(null)); in animateMoveToDesktop()
DExitDesktopTaskTransitionHandler.java105 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
119 transition, info.getType(), change, startT, finishT, finishCallback); in startAnimation()
135 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startChangeTransition() argument
179 () -> finishCallback.onTransitionFinished(null)); in startChangeTransition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/keyguard/
DKeyguardTransitionHandler.java172 @NonNull TransitionFinishCallback finishCallback) { in startAnimation() argument
180 transition, info, startTransaction, finishTransaction, finishCallback); in startAnimation()
185 transition, info, startTransaction, finishTransaction, finishCallback); in startAnimation()
194 transition, info, startTransaction, finishTransaction, finishCallback); in startAnimation()
197 transition, info, startTransaction, finishTransaction, finishCallback); in startAnimation()
201 transition, info, startTransaction, finishTransaction, finishCallback); in startAnimation()
213 @NonNull TransitionFinishCallback finishCallback) { in startAnimation() argument
243 finishCallback.onTransitionFinished(mergedWct); in startAnimation()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
DTestRemoteTransition.java41 IRemoteTransitionFinishedCallback finishCallback) in startAnimation() argument
44 finishCallback.onTransitionFinished(mRemoteFinishWCT, null /* sct */); in startAnimation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DMockAnimationAdapter.java41 int type, @NonNull SurfaceAnimator.OnAnimationFinishedCallback finishCallback) { in startAnimation() argument
43 finishCallback.onAnimationFinished(0, null); in startAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipTransition.java163 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
170 startCloseAnimation(info, startTransaction, finishTransaction, finishCallback); in startAnimation()
221 finishCallback); in startAnimation()
253 finishTransaction, finishCallback); in startAnimation()
258 finishCallback in startAnimation()
297 startEnterAnimation(enterPip, startTransaction, finishTransaction, finishCallback); in startAnimation()
310 @NonNull Transitions.TransitionFinishCallback finishCallback) { in removePipImmediately() argument
318 finishCallback.onTransitionFinished(/* wct= */ null); in removePipImmediately()
327 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startCloseAnimation() argument
384 finishCallback.onTransitionFinished(null /* wct */); in startCloseAnimation()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransition.java210 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() argument
252 startExitAnimation(info, startTransaction, finishTransaction, finishCallback, in startAnimation()
257 finishCallback, pipTaskInfo); in startAnimation()
262 removePipImmediately(info, startTransaction, finishTransaction, finishCallback, in startAnimation()
287 finishTransaction, finishCallback)) { in startAnimation()
292 startEnterAnimation(info, startTransaction, finishTransaction, finishCallback); in startAnimation()
309 @NonNull Transitions.TransitionFinishCallback finishCallback) { in handleEnteringPipWithDisplayChange() argument
321 startT, finishT, finishCallback); in handleEnteringPipWithDisplayChange()
328 @NonNull Transitions.TransitionFinishCallback finishCallback) { in mergeAnimation() argument
553 final Transitions.TransitionFinishCallback finishCallback = mFinishCallback; in callFinishCallback() local
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenTransitions.java97 @NonNull Transitions.TransitionFinishCallback finishCallback) { in initTransition() argument
100 mFinishCallback = finishCallback; in initTransition()
107 @NonNull Transitions.TransitionFinishCallback finishCallback, in playAnimation() argument
111 initTransition(transition, finishTransaction, finishCallback); in playAnimation()
229 @NonNull Transitions.TransitionFinishCallback finishCallback, in playDragDismissAnimation() argument
234 initTransition(transition, finishTransaction, finishCallback); in playDragDismissAnimation()
270 @NonNull Transitions.TransitionFinishCallback finishCallback, in playResizeAnimation() argument
274 initTransition(transition, finishTransaction, finishCallback); in playResizeAnimation()
435 @Nullable TransitionFinishedCallback finishCallback, in startResizeTransition() argument
450 mPendingResize = new TransitSession(transition, consumedCallback, finishCallback); in startResizeTransition()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DBiometricDeferredQueue.java84 @NonNull FinishCallback finishCallback; field in BiometricDeferredQueue.FaceResetLockoutTask
91 @NonNull FinishCallback finishCallback, in FaceResetLockoutTask()
96 this.finishCallback = finishCallback; in FaceResetLockoutTask()
126 finishCallback.onFinished(); in onGenerateChallengeResult()
/frameworks/base/services/core/java/com/android/server/resources/
DResourcesManagerShellCommand.java68 finishCallback = new RemoteCallback(result -> lock.open(), null); in dumpResources() local
70 if (!mInterface.dumpResources(processId, pfd, finishCallback)) { in dumpResources()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationRunnerTests.java84 final ArgumentCaptor<Runnable> finishCallback = ArgumentCaptor.forClass(Runnable.class); in testStartAnimation() local
87 finishCallback.capture(), any()); in testStartAnimation()
94 finishCallback.getValue().run(); in testStartAnimation()

123