Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/window/
H A DWindowOnBackInvokedDispatcherTest.java254 callbackInfo1.getCallback().onBackStarted(mBackEvent); in propagatesTopCallback_samePriority()
261 callbackInfo2.getCallback().onBackStarted(mBackEvent); in propagatesTopCallback_samePriority()
278 callbackInfo.getCallback().onBackStarted(mBackEvent); in propagatesTopCallback_differentPriority()
281 verify(mCallback1).onBackStarted(any(BackEvent.class)); in propagatesTopCallback_differentPriority()
321 verify(mCallback2).onBackStarted(any(BackEvent.class)); in propagatesTopCallback_sameInstanceAddedTwice()
330 callbackInfo.getCallback().onBackStarted(mBackEvent); in onUnregisterWhileBackInProgress_callOnBackCancelled()
333 verify(mCallback1).onBackStarted(any(BackEvent.class)); in onUnregisterWhileBackInProgress_callOnBackCancelled()
347 callbackInfo.getCallback().onBackStarted(mBackEvent); in onBackInvoked_calledAfterOnBackStarted()
350 verify(mCallback1).onBackStarted(any(BackEvent.class)); in onBackInvoked_calledAfterOnBackStarted()
365 callbackInfo.getCallback().onBackStarted(mBackEvent); in onDetachFromWindow_cancelCallbackAndIgnoreOnBackInvoked()
[all …]
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
H A DOnBackAnimationCallbackExtension.kt39 onBackStarted: (BackEvent) -> Unit = {},
47 override fun onBackStarted(backEvent: BackEvent) {
49 onBackStarted(backEvent)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/
H A DOnBackAnimationCallbackExtensionTest.kt33 onBackStarted = onBackStart,
47 onBackAnimationCallback.onBackStarted(backEvent)
64 onBackAnimationCallback.onBackStarted(backEvent)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
H A DBackAnimationControllerTest.java235 verify(mAnimatorCallback).onBackStarted(any(BackMotionEvent.class)); in backToHome_dispatchesEvents()
261 verify(mAnimatorCallback).onBackStarted(any(BackMotionEvent.class)); in backToHomeWithAnimationCallback_dispatchesEvents()
297 verify(mAnimatorCallback, never()).onBackStarted(any()); in animationDisabledFromSettings()
340 verify(mAnimatorCallback).onBackStarted(any()); in ignoresGesture_transitionInProgress()
367 verify(mAnimatorCallback).onBackStarted(any()); in acceptsGesture_transitionTimeout()
383 verify(mAnimatorCallback).onBackStarted(any()); in cancelBackInvokeWhenLostFocus()
430 verify(mAppCallback, never()).onBackStarted(any()); in animationNotDefined()
434 verify(mAnimatorCallback, never()).onBackStarted(any()); in animationNotDefined()
458 verify(mAppCallback, times(1)).onBackStarted(any()); in callbackShouldDeliverProgress()
462 verify(mAnimatorCallback, never()).onBackStarted(any()); in callbackShouldDeliverProgress()
[all …]
H A DBackProgressAnimatorTest.java67 mProgressAnimator.onBackStarted(backEvent, this::onGestureProgress); in setUp()
/aosp14/frameworks/base/core/java/android/window/
H A DIOnBackInvokedCallback.aidl36 void onBackStarted(in BackMotionEvent backMotionEvent); in onBackStarted() method
H A DOnBackAnimationCallback.java49 default void onBackStarted(@NonNull BackEvent backEvent) {} in onBackStarted() method
H A DWindowOnBackInvokedDispatcher.java324 public void onBackStarted(BackMotionEvent backEvent) { in onBackStarted() method in WindowOnBackInvokedDispatcher.OnBackInvokedCallbackWrapper
328 mProgressAnimator.onBackStarted(backEvent, event -> in onBackStarted()
330 callback.onBackStarted(new BackEvent( in onBackStarted()
H A DBackProgressAnimator.java107 public void onBackStarted(BackMotionEvent event, ProgressCallback callback) { in onBackStarted() method in BackProgressAnimator
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
H A DCrossTaskBackAnimation.java323 public void onBackStarted(BackMotionEvent backEvent) { in onBackStarted() method in CrossTaskBackAnimation.Callback
324 mProgressAnimator.onBackStarted(backEvent, in onBackStarted()
H A DCustomizeActivityAnimation.java277 public void onBackStarted(BackMotionEvent backEvent) { in onBackStarted() method in CustomizeActivityAnimation.Callback
278 mProgressAnimator.onBackStarted(backEvent, in onBackStarted()
H A DCrossActivityAnimation.java362 public void onBackStarted(BackMotionEvent backEvent) { in onBackStarted() method in CrossActivityAnimation.Callback
363 mProgressAnimator.onBackStarted(backEvent, in onBackStarted()
H A DBackAnimationController.java488 callback.onBackStarted(backEvent); in dispatchOnBackStarted()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DStatusBarKeyguardViewManagerTest.java626 backCallback.onBackStarted(event); in testPredictiveBackCallback_noBackAnimationForFullScreenBouncer()
627 verify(mBouncerViewDelegateBackCallback, never()).onBackStarted(any()); in testPredictiveBackCallback_noBackAnimationForFullScreenBouncer()
643 backCallback.onBackStarted(event); in testPredictiveBackCallback_forwardsBackDispatches()
644 verify(mBouncerViewDelegateBackCallback).onBackStarted(eq(event)); in testPredictiveBackCallback_forwardsBackDispatches()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarKeyguardViewManager.java239 public void onBackStarted(BackEvent event) {
241 mPrimaryBouncerView.getDelegate().getBackCallback().onBackStarted(event);
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardSecurityContainerTest.java386 backCallback.onBackStarted(createBackEvent(0, 0)); in testPlayBackAnimation()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DBackNavigationControllerTests.java514 public void onBackStarted(BackMotionEvent backMotionEvent) { in createOnBackInvokedCallback()
/aosp14/frameworks/base/core/java/android/view/
H A DViewRootImpl.java6768 animationCallback.onBackStarted( in doOnBackKeyEvent()
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt60814 method public default void onBackStarted(@NonNull android.window.BackEvent);