/frameworks/base/core/java/android/window/ |
D | WindowOnBackInvokedDispatcher.java | 95 private final HashMap<OnBackInvokedCallback, Integer> mAllCallbacks = new HashMap<>(); 100 public final TreeMap<Integer, ArrayList<OnBackInvokedCallback>> 161 @Priority int priority, @NonNull OnBackInvokedCallback callback) { in registerOnBackInvokedCallback() 172 @NonNull OnBackInvokedCallback callback, @Priority int priority) { in registerOnBackInvokedCallbackUnchecked() 191 ArrayList<OnBackInvokedCallback> callbacks = mOnBackInvokedCallbacks.get(priority); in registerOnBackInvokedCallbackUnchecked() 202 OnBackInvokedCallback previousTopCallback = getTopCallback(); in registerOnBackInvokedCallbackUnchecked() 214 public void unregisterOnBackInvokedCallback(@NonNull OnBackInvokedCallback callback) { in unregisterOnBackInvokedCallback() 229 OnBackInvokedCallback previousTopCallback = getTopCallback(); in unregisterOnBackInvokedCallback() 231 ArrayList<OnBackInvokedCallback> callbacks = mOnBackInvokedCallbacks.get(priority); in unregisterOnBackInvokedCallback() 257 private void sendCancelledIfInProgress(@NonNull OnBackInvokedCallback callback) { in sendCancelledIfInProgress() [all …]
|
D | ProxyOnBackInvokedDispatcher.java | 51 private final List<Pair<OnBackInvokedCallback, Integer>> mCallbacks = new ArrayList<>(); 63 int priority, @NonNull OnBackInvokedCallback callback) { in registerOnBackInvokedCallback() 74 public void registerSystemOnBackInvokedCallback(@NonNull OnBackInvokedCallback callback) { in registerSystemOnBackInvokedCallback() 80 @NonNull OnBackInvokedCallback callback) { in unregisterOnBackInvokedCallback() 94 @NonNull OnBackInvokedCallback callback, int priority) { in registerOnBackInvokedCallbackUnchecked() 124 for (Pair<OnBackInvokedCallback, Integer> callbackPair : mCallbacks) { in transferCallbacksToDispatcher() 140 for (Pair<OnBackInvokedCallback, Integer> callback : mCallbacks) { in clearCallbacksOnDispatcher()
|
D | OnBackInvokedDispatcher.java | 83 @Priority @IntRange(from = 0) int priority, @NonNull OnBackInvokedCallback callback); in registerOnBackInvokedCallback() 91 void unregisterOnBackInvokedCallback(@NonNull OnBackInvokedCallback callback); in unregisterOnBackInvokedCallback() 97 default void registerSystemOnBackInvokedCallback(@NonNull OnBackInvokedCallback callback) { } in registerSystemOnBackInvokedCallback()
|
D | ImeOnBackInvokedDispatcher.java | 94 @NonNull OnBackInvokedCallback callback) { in registerOnBackInvokedCallback() 110 @NonNull OnBackInvokedCallback callback) { in unregisterOnBackInvokedCallback() 311 private final OnBackInvokedCallback mCallback; 313 ImeOnBackInvokedCallbackWrapper(@NonNull OnBackInvokedCallback callback) { in ImeOnBackInvokedCallbackWrapper()
|
D | CompatOnBackInvokedCallback.java | 26 public interface CompatOnBackInvokedCallback extends OnBackInvokedCallback{
|
D | OnBackInvokedCallback.java | 47 public interface OnBackInvokedCallback { interface
|
D | OnBackAnimationCallback.java | 41 public interface OnBackAnimationCallback extends OnBackInvokedCallback {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | CredentialPasswordViewBinder.kt | 10 import android.window.OnBackInvokedCallback in <lambda>() 40 val onBackInvokedCallback = OnBackInvokedCallback { host.onCredentialAborted() } in <lambda>() 97 private class OnBackButtonListener(private val onBackInvokedCallback: OnBackInvokedCallback) :
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/back/domain/interactor/ |
D | BackActionInteractor.kt | 21 import android.window.OnBackInvokedCallback in <lambda>() 73 OnBackInvokedCallback { onBackRequested() } in <lambda>()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/activity/ |
D | A11yMenuSettingsActivity.java | 30 import android.window.OnBackInvokedCallback; 44 private OnBackInvokedCallback mCallback = () -> {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | AlternateBouncerViewBinder.kt | 26 import android.window.OnBackInvokedCallback in <lambda>() 129 private val onBackInvokedCallback: OnBackInvokedCallback = OnBackInvokedCallback { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WorkLockActivity.java | 36 import android.window.OnBackInvokedCallback; 66 private final OnBackInvokedCallback mBackCallback = this::onBackInvoked;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ |
D | CreateUserActivity.java | 28 import android.window.OnBackInvokedCallback; 67 private final OnBackInvokedCallback mBackCallback = this::onBackInvoked;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputViewTest.java | 60 import android.window.OnBackInvokedCallback; 267 ArgumentCaptor<OnBackInvokedCallback> onBackInvokedCallbackCaptor = ArgumentCaptor.forClass( in testPredictiveBack_registerAndUnregister() 268 OnBackInvokedCallback.class); in testPredictiveBack_registerAndUnregister() 295 ArgumentCaptor<OnBackInvokedCallback> onBackInvokedCallbackCaptor = ArgumentCaptor.forClass( in testUiPredictiveBack_openAndDispatchCallback() 296 OnBackInvokedCallback.class); in testUiPredictiveBack_openAndDispatchCallback()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | ControlsEditingActivityTest.kt | 9 import android.window.OnBackInvokedCallback 57 @Captor private lateinit var captureCallback: ArgumentCaptor<OnBackInvokedCallback>
|
D | ControlsFavoritingActivityTest.kt | 10 import android.window.OnBackInvokedCallback 78 @Captor private lateinit var captureCallback: ArgumentCaptor<OnBackInvokedCallback>
|
D | ControlsProviderSelectorActivityTest.kt | 27 import android.window.OnBackInvokedCallback 88 @Captor private lateinit var captureCallback: ArgumentCaptor<OnBackInvokedCallback>
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/back/domain/interactor/ |
D | BackActionInteractorTest.kt | 26 import android.window.OnBackInvokedCallback 313 private fun getBackInvokedCallback(): OnBackInvokedCallback { in getBackInvokedCallback() 315 val captor = argumentCaptor<OnBackInvokedCallback>() in getBackInvokedCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsProviderSelectorActivity.kt | 32 import android.window.OnBackInvokedCallback in <lambda>() 82 private val mOnBackInvokedCallback = OnBackInvokedCallback { in <lambda>()
|
D | ControlsEditingActivity.kt | 31 import android.window.OnBackInvokedCallback 87 private val mOnBackInvokedCallback = OnBackInvokedCallback { in <lambda>()
|
D | ControlsFavoritingActivity.kt | 36 import android.window.OnBackInvokedCallback in <lambda>() 111 private val mOnBackInvokedCallback = OnBackInvokedCallback { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | LegacyScreenshotViewProxy.kt | 31 import android.window.OnBackInvokedCallback 186 val onBackInvokedCallback = OnBackInvokedCallback { in addPredictiveBackListener()
|
D | ScreenshotShelfViewProxy.kt | 37 import android.window.OnBackInvokedCallback in <lambda>() 284 val onBackInvokedCallback = OnBackInvokedCallback { in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | WindowOnBackInvokedDispatcherTest.java | 146 ArrayList<OnBackInvokedCallback> callbacksDefault = mDispatcher in assertCallbacksSize() 151 ArrayList<OnBackInvokedCallback> callbacksOverlay = mDispatcher in assertCallbacksSize() 157 private void assertTopCallback(OnBackInvokedCallback expectedCallback) { in assertTopCallback()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackNavigationControllerTests.java | 67 import android.window.OnBackInvokedCallback; 562 OnBackInvokedCallback appCallback = createBackCallback(appLatch); in testUnregisterCallbacksWithSystemCallback() 563 OnBackInvokedCallback systemCallback = createBackCallback(systemLatch); in testUnregisterCallbacksWithSystemCallback() 769 private OnBackInvokedCallback createBackCallback(CountDownLatch latch) { in createBackCallback() 770 return new OnBackInvokedCallback() { in createBackCallback()
|