Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java199 final InsetsSource navSource = new InsetsSource(ITYPE_NAVIGATION_BAR); in testUpdateLightNavigationBarLw() local
200 navSource.setFrame(mNavBarWindow.getFrame()); in testUpdateLightNavigationBarLw()
201 opaqueDarkNavBar.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
202 opaqueLightNavBar.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
203 dimming.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
204 imeDrawDarkNavBar.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
205 imeDrawLightNavBar.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
269 final InsetsSource navSource = new InsetsSource(ITYPE_NAVIGATION_BAR); in testOverlappingWithNavBar() local
270 navSource.setFrame(new Rect(100, 200, 200, 300)); in testOverlappingWithNavBar()
271 testOverlappingWithNavBarType(navSource); in testOverlappingWithNavBar()
[all …]
DWindowStateTests.java1012 final InsetsSource navSource = new InsetsSource(ITYPE_NAVIGATION_BAR); in testImeAlwaysReceivesVisibleNavigationBarInsets() local
1013 mImeWindow.mAboveInsetsState.addSource(navSource); in testImeAlwaysReceivesVisibleNavigationBarInsets()
1014 mAppWindow.mAboveInsetsState.addSource(navSource); in testImeAlwaysReceivesVisibleNavigationBarInsets()
1016 navSource.setVisible(false); in testImeAlwaysReceivesVisibleNavigationBarInsets()
1020 navSource.setVisible(true); in testImeAlwaysReceivesVisibleNavigationBarInsets()
DSizeCompatTests.java3392 final InsetsSource navSource = new InsetsSource(ITYPE_EXTRA_NAVIGATION_BAR);
3393 navSource.setFrame(new Rect(0, screenHeight - taskbarHeight, screenWidth, screenHeight));
3398 w1.mAboveInsetsState.addSource(navSource);
/frameworks/base/core/java/android/view/
DWindowLayout.java148 final InsetsSource navSource = state.peekSource(ITYPE_NAVIGATION_BAR); in computeFrames() local
149 if (navSource != null && navSource.calculateInsets(displayFrame, true).bottom > 0) { in computeFrames()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java445 final InsetsSource navSource = new InsetsSource(originalNavSource); in adjustVisibilityForIme() local
446 navSource.setVisible(navVisible); in adjustVisibilityForIme()
447 state.addSource(navSource); in adjustVisibilityForIme()