Home
last modified time | relevance | path

Searched refs:backCallback (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/compose/
DOnBackEffect.kt47 val backCallback = remember { in OnBackEffect() constant
59 backDispatcher.addCallback(lifecycleOwner, backCallback) in OnBackEffect()
62 backCallback.remove() in OnBackEffect()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/
DBackPanelControllerTest.kt71 @Mock private lateinit var backCallback: NavigationEdgeBackPlugin.BackCallback variable in com.android.systemui.navigationbar.gestural.BackPanelControllerTest
91 mBackPanelController.setBackCallback(backCallback) in setup()
133 verify(backCallback).setTriggerBack(true) in handlesBackCommitted()
140 verify(backCallback).triggerBack() in handlesBackCommitted()
171 clearInvocations(backCallback) in handlesBackCancelled()
179 verify(backCallback).setTriggerBack(false) in handlesBackCancelled()
184 verify(backCallback).cancelBack() in handlesBackCancelled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt140 private lateinit var backCallback: NavigationEdgeBackPlugin.BackCallback in <lambda>() variable
334 backCallback.setTriggerBack(true) in <lambda>()
667 backCallback = callback in <lambda>()
902 backCallback.cancelBack() in <lambda>()
908 if (previousState != GestureState.FLUNG) backCallback.triggerBack() in <lambda>()
912 backCallback.setTriggerBack(false) in <lambda>()
915 backCallback.setTriggerBack(true) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java641 OnBackAnimationCallback backCallback = in testPredictiveBackCallback_noBackAnimationForFullScreenBouncer() local
645 backCallback.onBackStarted(event); in testPredictiveBackCallback_noBackAnimationForFullScreenBouncer()
659 OnBackAnimationCallback backCallback = in testPredictiveBackCallback_forwardsBackDispatches() local
663 backCallback.onBackStarted(event); in testPredictiveBackCallback_forwardsBackDispatches()
666 backCallback.onBackProgressed(event); in testPredictiveBackCallback_forwardsBackDispatches()
669 backCallback.onBackInvoked(); in testPredictiveBackCallback_forwardsBackDispatches()
672 backCallback.onBackCancelled(); in testPredictiveBackCallback_forwardsBackDispatches()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/binder/
DKeyguardBouncerViewBinder.kt69 return securityContainerController.backCallback in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java385 OnBackAnimationCallback backCallback = mKeyguardSecurityContainer.getBackCallback(); in testPlayBackAnimation() local
386 backCallback.onBackStarted(createBackEvent(0, 0)); in testPlayBackAnimation()
/frameworks/base/core/java/android/widget/
DPopupWindow.java2091 OnBackInvokedCallback backCallback = mBackCallback; in unregisterBackCallback() local
2093 if (onBackInvokedDispatcher != null && backCallback != null) { in unregisterBackCallback()
2095 backCallback); in unregisterBackCallback()