Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java242 final InsetsSource navSource = new InsetsSource( in testUpdateLightNavigationBarLw() local
244 navSource.setFrame(mNavBarWindow.getFrame()); in testUpdateLightNavigationBarLw()
245 opaqueDarkNavBar.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
246 opaqueLightNavBar.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
247 dimming.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
248 imeDrawDarkNavBar.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
249 imeDrawLightNavBar.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
333 final InsetsSource navSource = new InsetsSource( in testOverlappingWithNavBar() local
335 navSource.setFrame(new Rect(100, 200, 200, 300)); in testOverlappingWithNavBar()
336 testOverlappingWithNavBarType(navSource); in testOverlappingWithNavBar()
[all …]
DWindowStateTests.java1093 final InsetsSource navSource = new InsetsSource(navId, navigationBars()); in testImeAlwaysReceivesVisibleNavigationBarInsets() local
1094 mImeWindow.mAboveInsetsState.addSource(navSource); in testImeAlwaysReceivesVisibleNavigationBarInsets()
1095 mAppWindow.mAboveInsetsState.addSource(navSource); in testImeAlwaysReceivesVisibleNavigationBarInsets()
1097 navSource.setVisible(false); in testImeAlwaysReceivesVisibleNavigationBarInsets()
1101 navSource.setVisible(true); in testImeAlwaysReceivesVisibleNavigationBarInsets()
DSizeCompatTests.java3583 final InsetsSource navSource = new InsetsSource(
3585 navSource.setFlags(FLAG_INSETS_ROUNDED_CORNER, FLAG_INSETS_ROUNDED_CORNER);
3586 navSource.setFrame(new Rect(0, screenHeight - taskbarHeight, screenWidth, screenHeight));
3591 w1.mAboveInsetsState.addSource(navSource);
3632 final InsetsSource navSource = new InsetsSource(
3634 navSource.setFlags(FLAG_INSETS_ROUNDED_CORNER, FLAG_INSETS_ROUNDED_CORNER);
3636 navSource.setVisible(!immersive);
3637 navSource.setFrame(new Rect(0, screenHeight - taskbarHeight, screenWidth, screenHeight));
3641 w1.mAboveInsetsState.addSource(navSource);
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java381 final InsetsSource navSource = new InsetsSource(source); in adjustVisibilityForIme() local
382 navSource.setVisible(navVisible); in adjustVisibilityForIme()
383 state.addSource(navSource); in adjustVisibilityForIme()