Home
last modified time | relevance | path

Searched refs:mNavigationBar (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarTest.java141 private NavigationBar mNavigationBar; field in NavigationBarTest
281 mNavigationBar = createNavBar(mContext); in setup()
314 mNavigationBar.init(); in testHomeLongPress()
315 mNavigationBar.onViewAttached(); in testHomeLongPress()
316 mNavigationBar.onHomeLongClick(mHomeButtonView); in testHomeLongPress()
327 mNavigationBar.init(); in testHomeLongPressOverride()
328 mNavigationBar.onViewAttached(); in testHomeLongPressOverride()
329 mNavigationBar.onHomeLongClick(mHomeButtonView); in testHomeLongPressOverride()
353 mNavigationBar.init(); in testHomeLongPressWithCustomDuration()
354 mNavigationBar.onViewAttached(); in testHomeLongPressWithCustomDuration()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DNavigationBarMixinTest.java46 private NavigationBar mNavigationBar; field in NavigationBarMixinTest
54 mNavigationBar = new NavigationBar(mContext); in setUp()
55 doReturn(mNavigationBar) in setUp()
63 assertSame(mNavigationBar, mixin.getNavigationBar()); in testGetNavigationBar()
70 assertEquals("More", mNavigationBar.getNextButton().getText()); in testSetNextButtonText()
73 assertEquals("Foobar", mNavigationBar.getNextButton().getText()); in testSetNextButtonText()
79 mNavigationBar.getNextButton().setText("lorem ipsum"); in testGetNextButtonText()
91 mNavigationBar.getNextButton().performClick(); in testSetNavigationBarListener()
94 mNavigationBar.getBackButton().performClick(); in testSetNavigationBarListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoHideController.java52 private AutoHideUiElement mNavigationBar; field in AutoHideController
86 mNavigationBar = element; in setNavigationBar()
100 if (mNavigationBar != null) { in hideTransientBars()
101 mNavigationBar.hide(); in hideTransientBars()
137 } else if (mNavigationBar != null) { in getCheckBarModesRunnable()
138 return () -> mNavigationBar.synchronizeState(); in getCheckBarModesRunnable()
167 if (mNavigationBar != null) { in checkUserAutoHide()
168 shouldHide &= mNavigationBar.shouldHideOnTouch(); in checkUserAutoHide()
192 if (mNavigationBar != null && mNavigationBar.isVisible()) { in isAnyTransientBarShown()
/frameworks/base/services/core/java/com/android/server/wm/
DNavBarFadeAnimationController.java40 private final WindowState mNavigationBar; field in NavBarFadeAnimationController
49 mNavigationBar = displayContent.getDisplayPolicy().getNavigationBar(); in NavBarFadeAnimationController()
85 final Runnable fadeAnim = () -> fadeWindowToken(show, mNavigationBar.mToken, in fadeWindowToken()
89 } else if (!controller.hasFadeOperation(mNavigationBar.mToken)) { in fadeWindowToken()
DDisplayPolicy.java264 private WindowState mNavigationBar = null; field in DisplayPolicy
1084 if (mNavigationBar != null && mNavigationBar.isAlive()) { in validateAddingWindowLw()
1129 mNavigationBar = win; in addWindowLw()
1247 if (!ENABLE_HIDE_IME_CAPTION_BAR && mNavigationBar != null in getImeSourceFrameProvider()
1253 sTmpRect.intersectUnchecked(mNavigationBar.getFrame()); in getImeSourceFrameProvider()
1272 } else if (mNavigationBar == win) {
1273 mNavigationBar = null;
1308 return mNavigationBar;
2218 if (mNavigationBar != null) {
2219 final int gravity = mNavigationBar.mAttrs.forRotation(displayRotation).gravity;
[all …]