Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DToolbarControllerImpl.java84 private final Set<Toolbar.OnBackListener> mOnBackListeners = new HashSet<>();
603 List<Toolbar.OnBackListener> listenersCopy = new ArrayList<>(mOnBackListeners); in setState()
604 for (Toolbar.OnBackListener listener : listenersCopy) { in setState()
744 public void registerOnBackListener(Toolbar.OnBackListener listener) { in registerOnBackListener()
749 public boolean unregisterOnBackListener(Toolbar.OnBackListener listener) { in unregisterOnBackListener()
DToolbar.java60 public interface OnBackListener { interface in Toolbar
580 public void registerOnBackListener(OnBackListener listener) { in registerOnBackListener()
585 public boolean unregisterOnBackListener(OnBackListener listener) { in unregisterOnBackListener()
DToolbarController.java251 void registerOnBackListener(Toolbar.OnBackListener listener); in registerOnBackListener()
254 boolean unregisterOnBackListener(Toolbar.OnBackListener listener); in unregisterOnBackListener()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/toolbar/
DToolbarTest.java156 Toolbar.OnBackListener listener = () -> { in registerOnBackListener_whenBackIsPressed_shouldCallListener()
275 Toolbar.OnBackListener listener = () -> { in registerOnBackListener_whenListenerRegisteredTwice_shouldntCallListenerTwice()
292 Toolbar.OnBackListener listener = () -> { in unregisterOnBackListener_previouslyRegisteredListener_shouldUnregister()