Home
last modified time | relevance | path

Searched refs:onBackStarted (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/window/
DWindowOnBackInvokedDispatcherTest.java271 callbackInfo1.getCallback().onBackStarted(mBackEvent); in propagatesTopCallback_samePriority()
274 verify(mCallback1, times(1)).onBackStarted(any(BackEvent.class)); in propagatesTopCallback_samePriority()
275 verify(mCallback2, never()).onBackStarted(any(BackEvent.class)); in propagatesTopCallback_samePriority()
278 callbackInfo2.getCallback().onBackStarted(mBackEvent); in propagatesTopCallback_samePriority()
281 verify(mCallback1, never()).onBackStarted(any(BackEvent.class)); in propagatesTopCallback_samePriority()
282 verify(mCallback2, times(1)).onBackStarted(any(BackEvent.class)); in propagatesTopCallback_samePriority()
295 callbackInfo.getCallback().onBackStarted(mBackEvent); in propagatesTopCallback_differentPriority()
298 verify(mCallback1).onBackStarted(any(BackEvent.class)); in propagatesTopCallback_differentPriority()
335 lastCallbackInfo.getCallback().onBackStarted(mBackEvent); in propagatesTopCallback_sameInstanceAddedTwice()
338 verify(mCallback2).onBackStarted(any(BackEvent.class)); in propagatesTopCallback_sameInstanceAddedTwice()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
DOnBackAnimationCallbackExtension.kt39 onBackStarted: (BackEvent) -> Unit = {}, in onBackAnimationCallbackFrom()
47 override fun onBackStarted(backEvent: BackEvent) { in onBackStarted() method
49 onBackStarted(backEvent) in onBackStarted()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
DBackAnimationControllerTest.java267 verify(mAnimatorCallback).onBackStarted(any(BackMotionEvent.class)); in backToHome_dispatchesEvents()
291 verify(mAnimatorCallback).onBackStarted(any(BackMotionEvent.class)); in backToHomeWithAnimationCallback_dispatchesEvents()
335 verify(mAnimatorCallback, never()).onBackStarted(any()); in animationDisabledFromSettings()
378 verify(mAnimatorCallback).onBackStarted(any()); in gestureQueued_WhenPreviousTransitionHasNotYetEnded()
418 verify(mAnimatorCallback).onBackStarted(any()); in queuedFinishedGesture_RunsAfterPreviousTransitionEnded()
444 verify(mAnimatorCallback).onBackStarted(any()); in gestureNotQueued_WhenPreviousGestureIsPostCommitCancelling()
470 verify(mAnimatorCallback).onBackStarted(any()); in acceptsGesture_transitionTimeout()
484 verify(mAnimatorCallback).onBackStarted(any()); in cancelBackInvokeWhenLostFocus()
534 verify(mAppCallback, never()).onBackStarted(any()); in animationNotDefined()
538 verify(mAnimatorCallback, never()).onBackStarted(any()); in animationNotDefined()
[all …]
DBackProgressAnimatorTest.java71 mProgressAnimator.onBackStarted(backEvent, this::onGestureProgress); in setUp()
DCustomCrossActivityBackAnimationTest.kt207 customCrossActivityBackAnimation.runner.callback.onBackStarted(backMotionEventFrom(0f, 0f)) in startCustomAnimation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/
DOnBackAnimationCallbackExtensionTest.kt36 onBackStarted = onBackStart,
50 onBackAnimationCallback.onBackStarted(backEvent) in onBackProgressed_shouldInvoke_onBackProgress()
74 onBackAnimationCallback.onBackStarted(backEvent) in onBackStarted_shouldInvoke_onBackStart()
/frameworks/base/core/tests/coretests/src/android/view/
DImeBackAnimationControllerTest.java130 mBackAnimationController.onBackStarted(new BackEvent(0f, 0f, 0f, EDGE_LEFT)); in testAdjustResizeWithAppWindowInsetsListenerPlaysAnim()
143 mBackAnimationController.onBackStarted(new BackEvent(0f, 0f, 0f, EDGE_LEFT)); in testAdjustResizeWithEdgeToEdgePlaysAnim()
154 mBackAnimationController.onBackStarted(new BackEvent(0f, 0f, 0f, EDGE_LEFT)); in testAdjustResizeWithoutAppWindowInsetsListenerNotPlayingAnim()
212 mBackAnimationController.onBackStarted(new BackEvent(0f, 0f, 0f, EDGE_LEFT)); in testNewGestureAfterCancelSeamlessTakeover()
288 mBackAnimationController.onBackStarted(new BackEvent(0f, 0f, 0f, EDGE_LEFT)); in startBackGesture()
/frameworks/base/core/java/android/window/
DImeOnBackInvokedDispatcher.java222 public void onBackStarted(@NonNull BackEvent backEvent) { in onBackStarted() method in ImeOnBackInvokedDispatcher.ImeOnBackInvokedCallback
224 mIOnBackInvokedCallback.onBackStarted( in onBackStarted()
318 public void onBackStarted(BackMotionEvent backMotionEvent) { in onBackStarted() method in ImeOnBackInvokedDispatcher.ImeOnBackInvokedCallbackWrapper
319 maybeRunOnAnimationCallback((animationCallback) -> animationCallback.onBackStarted( in onBackStarted()
DIOnBackInvokedCallback.aidl36 void onBackStarted(in BackMotionEvent backMotionEvent); in onBackStarted() method
DOnBackAnimationCallback.java49 default void onBackStarted(@NonNull BackEvent backEvent) {} in onBackStarted() method
DWindowOnBackInvokedDispatcher.java415 public void onBackStarted(BackMotionEvent backEvent) { in onBackStarted() method in WindowOnBackInvokedDispatcher.OnBackInvokedCallbackWrapper
431 callback.onBackStarted(BackEvent.fromBackMotionEvent(backEvent)); in onBackStarted()
432 mProgressAnimator.onBackStarted(backEvent, callback::onBackProgressed); in onBackStarted()
DBackProgressAnimator.java133 public void onBackStarted(BackMotionEvent event, ProgressCallback callback) { in onBackStarted() method in BackProgressAnimator
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossTaskBackAnimation.java344 public void onBackStarted(BackMotionEvent backEvent) { in onBackStarted() method in CrossTaskBackAnimation.Callback
352 mProgressAnimator.onBackStarted(backEvent, in onBackStarted()
DCrossActivityBackAnimation.kt486 override fun onBackStarted(backMotionEvent: BackMotionEvent) { in <lambda>() method in com.android.wm.shell.back.CrossActivityBackAnimation.Callback
493 progressAnimator.onBackStarted(backMotionEvent) { backEvent: BackEvent -> in <lambda>()
DBackAnimationController.java633 callback.onBackStarted(backEvent); in dispatchOnBackStarted()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java645 backCallback.onBackStarted(event); in testPredictiveBackCallback_noBackAnimationForFullScreenBouncer()
646 verify(mBouncerViewDelegateBackCallback, never()).onBackStarted(any()); in testPredictiveBackCallback_noBackAnimationForFullScreenBouncer()
663 backCallback.onBackStarted(event); in testPredictiveBackCallback_forwardsBackDispatches()
664 verify(mBouncerViewDelegateBackCallback).onBackStarted(eq(event)); in testPredictiveBackCallback_forwardsBackDispatches()
/frameworks/base/core/java/android/view/
DImeBackAnimationController.java74 public void onBackStarted(@NonNull BackEvent backEvent) { in onBackStarted() method in ImeBackAnimationController
DViewRootImpl.java7455 animationCallback.onBackStarted( in doOnBackKeyEvent()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java386 backCallback.onBackStarted(createBackEvent(0, 0)); in testPlayBackAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java261 public void onBackStarted(BackEvent event) {
263 mPrimaryBouncerView.getDelegate().getBackCallback().onBackStarted(event);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackNavigationControllerTests.java748 public void onBackStarted(BackMotionEvent backMotionEvent) { in createOnBackInvokedCallback()
/frameworks/base/core/api/
Dcurrent.txt61475 method public default void onBackStarted(@NonNull android.window.BackEvent);