Home
last modified time | relevance | path

Searched refs:mWindowInsetsController (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/
DOverlayViewGlobalStateControllerTest.java74 private WindowInsetsController mWindowInsetsController; field in OverlayViewGlobalStateControllerTest
83 when(mBaseLayout.getWindowInsetsController()).thenReturn(mWindowInsetsController); in setUp()
115 verify(mWindowInsetsController).show(navigationBars()); in showView_nothingVisible_windowNotFocusable_shouldShowNavBar_navBarsVisible()
126 verify(mWindowInsetsController, never()).hide(navigationBars()); in showView_nothingVisible_windowNotFocusable_shouldHideNavBar_notHidden()
137 verify(mWindowInsetsController).show(statusBars()); in showView_nothingVisible_windowNotFocusable_shouldShowStatusBar_statusBarsVisible()
148 verify(mWindowInsetsController, never()).hide(statusBars()); in showView_nothingVisible_windowNotFocusable_shouldHideStatusBar_notHidden()
159 verify(mWindowInsetsController).hide(navigationBars()); in showView_nothingAlreadyShown_shouldShowNavBarFalse_navigationBarsHidden()
170 verify(mWindowInsetsController).show(navigationBars()); in showView_nothingAlreadyShown_shouldShowNavBarTrue_navigationBarsShown()
181 verify(mWindowInsetsController).hide(statusBars()); in showView_nothingAlreadyShown_shouldShowStatusBarFalse_statusBarsHidden()
192 verify(mWindowInsetsController).show(statusBars()); in showView_nothingAlreadyShown_shouldShowStatusBarTrue_statusBarsShown()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/systembars/
DSystemBarsFragment.java39 private WindowInsetsController mWindowInsetsController; field in SystemBarsFragment
56 mWindowInsetsController = view.getWindowInsetsController(); in onViewCreated()
66 v -> mWindowInsetsController.show(WindowInsets.Type.statusBars())); in initStatusBarInsetsButtons()
68 v -> mWindowInsetsController.hide(WindowInsets.Type.statusBars())); in initStatusBarInsetsButtons()
73 v -> mWindowInsetsController.show(WindowInsets.Type.navigationBars())); in initNavigationBarInsetsButtons()
75 v -> mWindowInsetsController.hide(WindowInsets.Type.navigationBars())); in initNavigationBarInsetsButtons()
80 v -> mWindowInsetsController.show(WindowInsets.Type.systemBars())); in initSystemBarInsetsButtons()
82 v -> mWindowInsetsController.hide(WindowInsets.Type.systemBars())); in initSystemBarInsetsButtons()
87 v -> mWindowInsetsController.setSystemBarsBehavior( in initSystemBarBehaviorButtons()
90 v -> mWindowInsetsController.setSystemBarsBehavior( in initSystemBarBehaviorButtons()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DOverlayViewGlobalStateController.java58 private final WindowInsetsController mWindowInsetsController; field in OverlayViewGlobalStateController
79 mWindowInsetsController = in OverlayViewGlobalStateController()
249 mWindowInsetsController.show(navigationBars()); in refreshSystemBarVisibility()
255 mWindowInsetsController.hide(navigationBars()); in refreshSystemBarVisibility()
257 mWindowInsetsController.show(navigationBars()); in refreshSystemBarVisibility()
263 mWindowInsetsController.show(statusBars()); in refreshStatusBarVisibility()
269 mWindowInsetsController.hide(statusBars()); in refreshStatusBarVisibility()
271 mWindowInsetsController.show(statusBars()); in refreshStatusBarVisibility()