/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NavigationBarController.java | 134 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/ |
D | NavigationBarTransitionsTest.java | 60 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/ |
D | OverlayPlugin.java | 30 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/ |
D | InsetsStateControllerTest.java | 93 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/ |
D | SampleOverlayPlugin.java | 63 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/ |
D | InsetsControllerTest.java | 238 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/ |
D | InvocationLightsView.java | 287 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/ |
D | AssistHandleViewController.java | 53 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/ |
D | Layout.java | 148 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()
|