Home
last modified time | relevance | path

Searched refs:getOnBackInvokedCallback (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/window/
DBackNavigationTest.java97 assertNotNull("OnBackInvokedCallback is null", info.getOnBackInvokedCallback()); in assertCallbackIsCalled()
98 info.getOnBackInvokedCallback().onBackInvoked(); in assertCallbackIsCalled()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackNavigationControllerTests.java122 assertThat(backNavigationInfo.getOnBackInvokedCallback()).isEqualTo(callback); in backNavInfo_HomeWhenBackToLauncher()
227 assertThat(backNavigationInfo.getOnBackInvokedCallback()).isEqualTo(callback); in backTypeCrossActivityWithCustomizeExitAnimation()
243 assertThat(backNavigationInfo.getOnBackInvokedCallback()).isEqualTo(callback); in backTypeCrossActivityWhenBackToPreviousActivity()
421 assertThat(backNavigationInfo.getOnBackInvokedCallback()).isEqualTo(callback); in backTypeDialogCloseWhenBackFromDialog()
452 assertThat(backNavigationInfo.getOnBackInvokedCallback()).isEqualTo(callback); in backInfoWindowWithNoActivity()
473 assertThat(backNavigationInfo.getOnBackInvokedCallback()).isEqualTo(callback); in backInfoWithAnimationCallback()
504 assertThat(backNavigationInfo.getOnBackInvokedCallback()).isEqualTo(appCallback); in backTypeCallback()
534 assertThat(backNavigationInfo.getOnBackInvokedCallback()).isEqualTo(callback); in backAnimationSkipSharedElementTransition()
581 IOnBackInvokedCallback callback = backNavigationInfo.getOnBackInvokedCallback(); in testUnregisterCallbacksWithSystemCallback()
/frameworks/base/core/java/android/window/
DBackNavigationInfo.java195 public IOnBackInvokedCallback getOnBackInvokedCallback() { in getOnBackInvokedCallback() method in BackNavigationInfo
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationController.java555 mActiveCallback = mBackNavigationInfo.getOnBackInvokedCallback(); in onBackNavigationInfoReceived()
718 final IOnBackInvokedCallback callback = mBackNavigationInfo.getOnBackInvokedCallback(); in invokeOrCancelBack()