Home
last modified time | relevance | path

Searched refs:navBar (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNavigationBarController.java136 NavigationBarFragment navBar = (NavigationBarFragment) fragment; in createNavigationBar()
146 navBar.setLightBarController(lightBarController); in createNavigationBar()
155 navBar.setAutoHideController(autoHideController); in createNavigationBar()
156 navBar.restoreSystemUiVisibilityState(); in createNavigationBar()
157 mNavigationBars.append(displayId, navBar); in createNavigationBar()
160 navBar.setImeWindowStatus(display.getDisplayId(), result.mImeToken, in createNavigationBar()
168 NavigationBarFragment navBar = mNavigationBars.get(displayId); in removeNavigationBar() local
169 if (navBar != null) { in removeNavigationBar()
170 View navigationWindow = navBar.getView().getRootView(); in removeNavigationBar()
179 NavigationBarFragment navBar = mNavigationBars.get(displayId); in checkNavBarModes() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarTransitionsTest.java48 NavigationBarView navBar = spy(new NavigationBarView(mContext, null)); in setup() local
49 when(navBar.getCurrentView()).thenReturn(navBar); in setup()
50 when(navBar.findViewById(anyInt())).thenReturn(navBar); in setup()
51 mTransitions = new NavigationBarTransitions(navBar); in setup()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java143 InsetsSourceControl navBar = controls[0]; in testAnimationEndState() local
153 assertTrue(mController.getSourceConsumer(navBar.getType()).isVisible()); in testAnimationEndState()
160 assertFalse(mController.getSourceConsumer(navBar.getType()).isVisible()); in testAnimationEndState()
188 InsetsSourceControl navBar = controls[0]; in testShowHideSelectively() local
197 assertTrue(mController.getSourceConsumer(navBar.getType()).isVisible()); in testShowHideSelectively()
204 assertFalse(mController.getSourceConsumer(navBar.getType()).isVisible()); in testShowHideSelectively()
214 InsetsSourceControl navBar = controls[0]; in testShowHideSingle() local
223 assertTrue(mController.getSourceConsumer(navBar.getType()).isVisible()); in testShowHideSingle()
230 assertFalse(mController.getSourceConsumer(navBar.getType()).isVisible()); in testShowHideSingle()
237 assertTrue(mController.getSourceConsumer(navBar.getType()).isVisible()); in testShowHideSingle()
[all …]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DOverlayPlugin.java29 void setup(View statusBar, View navBar); in setup() argument
34 default void setup(View statusBar, View navBar, Callback callback) { in setup() argument
35 setup(statusBar, navBar); in setup()
/frameworks/base/packages/SystemUI/plugin/ExamplePlugin/src/com/android/systemui/plugin/testoverlayplugin/
DSampleOverlayPlugin.java63 public void setup(View statusBar, View navBar) { in setup() argument
74 if (navBar instanceof ViewGroup) { in setup()
76 .inflate(R.layout.colored_overlay, (ViewGroup) navBar, false); in setup()
77 ((ViewGroup) navBar).addView(mNavBarView); in setup()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java83 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testStripForDispatch_navBar() local
87 getController().getSourceProvider(TYPE_NAVIGATION_BAR).setWindow(navBar, null); in testStripForDispatch_navBar()
89 assertEquals(new InsetsState(), getController().getInsetsForDispatch(navBar)); in testStripForDispatch_navBar()
95 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testBarControllingWinChanged() local
99 getController().getSourceProvider(TYPE_NAVIGATION_BAR).setWindow(navBar, null); in testBarControllingWinChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DInvocationLightsView.java285 NavigationBarFragment navBar = controller.getDefaultNavigationBarFragment(); in attemptRegisterNavBarListener() local
286 if (navBar == null) { in attemptRegisterNavBarListener()
290 updateDarkness(navBar.getBarTransitions().addDarkIntensityListener(this)); in attemptRegisterNavBarListener()
302 NavigationBarFragment navBar = controller.getDefaultNavigationBarFragment(); in attemptUnregisterNavBarListener() local
303 if (navBar == null) { in attemptUnregisterNavBarListener()
307 navBar.getBarTransitions().removeDarkIntensityListener(this); in attemptUnregisterNavBarListener()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java147 NavigationBar navBar = null; in Layout() local
161 navBar = createNavBar(getContext(), density, isRtl, getParams().isRtlSupported(), in Layout()
192 statusBar, navBar, appCompatActionBar); in Layout()
350 NavigationBar navBar = in createNavBar() local
358 navBar.setLayoutParams(params); in createNavBar()
359 navBar.setId(getId(ID_NAV_BAR)); in createNavBar()
360 return navBar; in createNavBar()
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DAutomationUtils.java91 UiObject2 navBar = device.findObject(By.res(SYSTEMUI_PACKAGE, "navigation_bar_frame")); in openQuickstep() local
96 if (navBar != null) { in openQuickstep()
97 navBarVisibleBounds = navBar.getVisibleBounds(); in openQuickstep()