Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarControllerImpl.java200 NavigationBar navBar = mNavigationBars.valueAt(i); in onNavigationModeChanged() local
201 if (navBar == null) { in onNavigationModeChanged()
204 navBar.getView().updateStates(); in onNavigationModeChanged()
396 NavigationBar navBar = component.getNavigationBar(); in createNavigationBar() local
397 navBar.init(); in createNavigationBar()
398 mNavigationBars.put(displayId, navBar); in createNavigationBar()
400 navBar.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in createNavigationBar()
404 navBar.setImeWindowStatus(display.getDisplayId(), result.mImeToken, in createNavigationBar()
419 NavigationBar navBar = mNavigationBars.get(displayId); in removeNavigationBar() local
420 if (navBar != null) { in removeNavigationBar()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarTransitionsTest.java84 NavigationBarView navBar = spy(new NavigationBarView(mContext, null)); in setup() local
85 when(navBar.getCurrentView()).thenReturn(navBar); in setup()
86 when(navBar.findViewById(anyInt())).thenReturn(navBar); in setup()
88 navBar, mLightBarTransitionsFactory, mDisplayTracker); in setup()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java78 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_navBar() local
88 .setWindowContainer(navBar, null, null); in testStripForDispatch_navBar()
92 assertNull(navBar.getInsetsState().peekSource(ID_IME)); in testStripForDispatch_navBar()
93 assertNull(navBar.getInsetsState().peekSource(ID_STATUS_BAR)); in testStripForDispatch_navBar()
99 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_pip() local
105 .setWindowContainer(navBar, null, null); in testStripForDispatch_pip()
116 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_freeform() local
122 .setWindowContainer(navBar, null, null); in testStripForDispatch_freeform()
132 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_multiwindow_alwaysOnTop() local
138 .setWindowContainer(navBar, null, null); in testStripForDispatch_multiwindow_alwaysOnTop()
[all …]
DTransitionTests.java1119 final WindowState navBar = createWindow(null, TYPE_NAVIGATION_BAR, "navBar"); in testDisplayRotationChange() local
1126 final WindowState[] windows = { statusBar, navBar, ime, screenDecor }; in testDisplayRotationChange()
1129 mDisplayContent.getDisplayPolicy().addWindowLw(navBar, navBar.mAttrs); in testDisplayRotationChange()
1137 assertEquals(WindowContainer.SYNC_STATE_NONE, navBar.mSyncState); in testDisplayRotationChange()
1173 assertShouldFreezeInsetsPosition(asyncRotationController, navBar, false); in testDisplayRotationChange()
1177 navBar.mWinAnimator.mDrawState = WindowStateAnimator.HAS_DRAWN; in testDisplayRotationChange()
1179 assertFalse(asyncRotationController.isTargetToken(navBar.mToken)); in testDisplayRotationChange()
1246 final WindowState navBar = createNavBarWithProvidedInsets(mDisplayContent); in testFixedRotationOpen() local
1247 final InsetsSourceProvider navBarInsetsProvider = navBar.getControllableInsetProvider(); in testFixedRotationOpen()
1280 assertFalse(asyncRotationController.isTargetToken(navBar.mToken)); in testFixedRotationOpen()
[all …]
DRecentsAnimationControllerTest.java816 final WindowState navBar = spy(createWindow(null, TYPE_NAVIGATION_BAR, "NavigationBar")); in setupForShouldAttachNavBarDuringTransition() local
817 mDefaultDisplay.getDisplayPolicy().addWindowLw(navBar, navBar.mAttrs); in setupForShouldAttachNavBarDuringTransition()
819 doReturn(navBar).when(mController).getNavigationBarWindow(); in setupForShouldAttachNavBarDuringTransition()
DInsetsPolicyTest.java261 final WindowState navBar = addNavigationBar(); in testShowTransientBars_bothCanBeTransient_appGetsBothFakeControls() local
264 navBar.setHasSurface(true); in testShowTransientBars_bothCanBeTransient_appGetsBothFakeControls()
DRemoteAnimationControllerTest.java801 final WindowState navBar = createWindow(null, TYPE_NAVIGATION_BAR, "NavigationBar"); in setupForNonAppTargetNavBar() local
802 mDisplayContent.getDisplayPolicy().addWindowLw(navBar, navBar.mAttrs); in setupForNonAppTargetNavBar()
DDisplayContentTests.java1543 final WindowState navBar = createWindow(null, TYPE_NAVIGATION_BAR, "navBar"); in testHybridRotationAnimation() local
1545 final WindowState[] windows = { statusBar, navBar, app }; in testHybridRotationAnimation()
1549 displayPolicy.addWindowLw(navBar, navBar.mAttrs); in testHybridRotationAnimation()
1566 assertFalse(displayContent.shouldSyncRotationChange(navBar)); in testHybridRotationAnimation()
1571 navBar.setOrientationChanging(false); in testHybridRotationAnimation()
/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/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/packages/SystemUI/src/com/android/systemui/assist/ui/
DInvocationLightsView.java287 NavigationBar navBar = mNavigationBarController.getDefaultNavigationBar(); in attemptRegisterNavBarListener() local
288 if (navBar == null) { in attemptRegisterNavBarListener()
292 updateDarkness(navBar.getBarTransitions().addDarkIntensityListener(this)); in attemptRegisterNavBarListener()
303 NavigationBar navBar = mNavigationBarController.getDefaultNavigationBar(); in attemptUnregisterNavBarListener() local
304 if (navBar == null) { in attemptUnregisterNavBarListener()
308 navBar.getBarTransitions().removeDarkIntensityListener(this); in attemptUnregisterNavBarListener()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java150 View navBar = null; in Layout() local
165 navBar = createNavBar(getContext(), mBuilder.useGestureNav(), density, isRtl, in Layout()
196 statusBar, navBar, appCompatActionBar); in Layout()
376 View navBar; in createNavBar() local
378 navBar = new NavigationHandle(context); in createNavBar()
380 navBar = new NavigationBar(context, density, orientation, isRtl, isRtlSupported, in createNavBar()
388 navBar.setLayoutParams(params); in createNavBar()
389 navBar.setId(getId(ID_NAV_BAR)); in createNavBar()
390 return navBar; in createNavBar()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java315 InsetsSourceControl navBar = controls[0]; in testShowHideSelectively() local
343 InsetsSourceControl navBar = controls[0]; in testShowHideSingle() local
415 InsetsSourceControl navBar = controls[0]; in testShowMultipleHideOneByOne() local
1073 final InsetsSourceControl navBar = createControl(ID_NAVIGATION_BAR, navigationBars()); in prepareControls() local
1078 controls[0] = navBar; in prepareControls()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java2347 final long navBar = p.start(SecureSettingsProto.NAV_BAR); in dumpProtoSecureSettingsLocked() local
2354 p.end(navBar); in dumpProtoSecureSettingsLocked()