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.java134 NavigationBarFragment navBar = (NavigationBarFragment) fragment; in createNavigationBar()
145 navBar.setLightBarController(lightBarController); in createNavigationBar()
155 navBar.setAutoHideController(autoHideController); in createNavigationBar()
156 navBar.restoreAppearanceAndTransientState(); 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 navBar.setAutoHideController(/* autoHideController */ null); in removeNavigationBar()
171 View navigationWindow = navBar.getView().getRootView(); in removeNavigationBar()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarTransitionsTest.java60 NavigationBarView navBar = spy(new NavigationBarView(mContext, null)); in setup() local
61 when(navBar.getCurrentView()).thenReturn(navBar); in setup()
62 when(navBar.findViewById(anyInt())).thenReturn(navBar); in setup()
63 mTransitions = new NavigationBarTransitions(navBar, mock(CommandQueue.class)); in setup()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DOverlayPlugin.java30 void setup(View statusBar, View navBar); in setup() argument
35 default void setup(View statusBar, View navBar, Callback callback, in setup() argument
37 setup(statusBar, navBar); in setup()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java93 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_navBar() local
101 getController().getSourceProvider(ITYPE_NAVIGATION_BAR).setWindow(navBar, null, null); in testStripForDispatch_navBar()
103 assertNull(getController().getInsetsForDispatch(navBar).peekSource(ITYPE_IME)); in testStripForDispatch_navBar()
104 assertNull(getController().getInsetsForDispatch(navBar).peekSource(ITYPE_STATUS_BAR)); in testStripForDispatch_navBar()
110 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_pip() local
114 getController().getSourceProvider(ITYPE_NAVIGATION_BAR).setWindow(navBar, null, null); in testStripForDispatch_pip()
124 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_freeform() local
128 getController().getSourceProvider(ITYPE_NAVIGATION_BAR).setWindow(navBar, null, null); in testStripForDispatch_freeform()
138 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_multiwindow_alwaysOnTop() local
142 getController().getSourceProvider(ITYPE_NAVIGATION_BAR).setWindow(navBar, null, null); in testStripForDispatch_multiwindow_alwaysOnTop()
[all …]
/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/core/tests/coretests/src/android/view/
DInsetsControllerTest.java238 InsetsSourceControl navBar = controls[0]; in testAnimationEndState() local
249 assertTrue(mController.getSourceConsumer(navBar.getType()).isRequestedVisible()); in testAnimationEndState()
256 assertFalse(mController.getSourceConsumer(navBar.getType()).isRequestedVisible()); in testAnimationEndState()
284 InsetsSourceControl navBar = controls[0]; in testShowHideSelectively() local
297 assertFalse(mController.getSourceConsumer(navBar.getType()).isRequestedVisible()); in testShowHideSelectively()
306 assertTrue(mController.getSourceConsumer(navBar.getType()).isRequestedVisible()); in testShowHideSelectively()
316 InsetsSourceControl navBar = controls[0]; in testShowHideSingle() local
325 assertTrue(mController.getSourceConsumer(navBar.getType()).isRequestedVisible()); in testShowHideSingle()
332 assertFalse(mController.getSourceConsumer(navBar.getType()).isRequestedVisible()); in testShowHideSingle()
339 assertTrue(mController.getSourceConsumer(navBar.getType()).isRequestedVisible()); in testShowHideSingle()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DInvocationLightsView.java287 NavigationBarFragment navBar = controller.getDefaultNavigationBarFragment(); in attemptRegisterNavBarListener() local
288 if (navBar == null) { in attemptRegisterNavBarListener()
292 updateDarkness(navBar.getBarTransitions().addDarkIntensityListener(this)); in attemptRegisterNavBarListener()
304 NavigationBarFragment navBar = controller.getDefaultNavigationBarFragment(); in attemptUnregisterNavBarListener() local
305 if (navBar == null) { in attemptUnregisterNavBarListener()
309 navBar.getBarTransitions().removeDarkIntensityListener(this); in attemptUnregisterNavBarListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleViewController.java53 public AssistHandleViewController(Handler handler, View navBar) { in AssistHandleViewController() argument
55 mAssistHintLeft = navBar.findViewById(R.id.assist_hint_left); in AssistHandleViewController()
56 mAssistHintRight = navBar.findViewById(R.id.assist_hint_right); in AssistHandleViewController()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java148 NavigationBar navBar = null; in Layout() local
162 navBar = createNavBar(getContext(), density, isRtl, getParams().isRtlSupported(), in Layout()
193 statusBar, navBar, appCompatActionBar); in Layout()
352 NavigationBar navBar = in createNavBar() local
360 navBar.setLayoutParams(params); in createNavBar()
361 navBar.setId(getId(ID_NAV_BAR)); in createNavBar()
362 return navBar; in createNavBar()