Home
last modified time | relevance | path

Searched refs:mOnBackInvokedCallbacks (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/window/
DWindowOnBackInvokedDispatcher.java101 mOnBackInvokedCallbacks = new TreeMap<>(); field in WindowOnBackInvokedDispatcher
188 if (!mOnBackInvokedCallbacks.containsKey(priority)) { in registerOnBackInvokedCallbackUnchecked()
189 mOnBackInvokedCallbacks.put(priority, new ArrayList<>()); in registerOnBackInvokedCallbackUnchecked()
191 ArrayList<OnBackInvokedCallback> callbacks = mOnBackInvokedCallbacks.get(priority); in registerOnBackInvokedCallbackUnchecked()
199 mOnBackInvokedCallbacks.get(prevPriority).remove(callback); in registerOnBackInvokedCallbackUnchecked()
231 ArrayList<OnBackInvokedCallback> callbacks = mOnBackInvokedCallbacks.get(priority); in unregisterOnBackInvokedCallback()
234 mOnBackInvokedCallbacks.remove(priority); in unregisterOnBackInvokedCallback()
299 mOnBackInvokedCallbacks.clear(); in clear()
329 for (Integer priority : mOnBackInvokedCallbacks.descendingKeySet()) { in getTopCallback()
330 ArrayList<OnBackInvokedCallback> callbacks = mOnBackInvokedCallbacks.get(priority); in getTopCallback()
/frameworks/base/core/tests/coretests/src/android/window/
DWindowOnBackInvokedDispatcherTest.java147 .mOnBackInvokedCallbacks.get(PRIORITY_DEFAULT); in assertCallbacksSize()
152 .mOnBackInvokedCallbacks.get(PRIORITY_OVERLAY); in assertCallbacksSize()