Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayPolicyTests.java239 final InsetsSource navSource = new InsetsSource( in testUpdateLightNavigationBarLw() local
241 navSource.setFrame(mNavBarWindow.getFrame()); in testUpdateLightNavigationBarLw()
242 opaqueDarkNavBar.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
244 dimming.mAboveInsetsState.addSource(navSource); in testUpdateLightNavigationBarLw()
310 final InsetsSource navSource = new InsetsSource( in testOverlappingWithNavBar() local
312 navSource.setFrame(new Rect(100, 200, 200, 300)); in testOverlappingWithNavBar()
313 testOverlappingWithNavBarType(navSource); in testOverlappingWithNavBar()
318 final InsetsSource navSource = new InsetsSource( in testOverlappingWithExtraNavBar() local
320 navSource.setFrame(new Rect(100, 200, 200, 300)); in testOverlappingWithExtraNavBar()
321 testOverlappingWithNavBarType(navSource); in testOverlappingWithExtraNavBar()
[all …]
H A DWindowStateTests.java1048 final InsetsSource navSource = new InsetsSource(navId, navigationBars()); in testImeAlwaysReceivesVisibleNavigationBarInsets() local
1049 mImeWindow.mAboveInsetsState.addSource(navSource); in testImeAlwaysReceivesVisibleNavigationBarInsets()
1050 mAppWindow.mAboveInsetsState.addSource(navSource); in testImeAlwaysReceivesVisibleNavigationBarInsets()
1052 navSource.setVisible(false); in testImeAlwaysReceivesVisibleNavigationBarInsets()
1056 navSource.setVisible(true); in testImeAlwaysReceivesVisibleNavigationBarInsets()
H A DSizeCompatTests.java3722 final InsetsSource navSource = new InsetsSource(
3724 navSource.setFlags(FLAG_INSETS_ROUNDED_CORNER, FLAG_INSETS_ROUNDED_CORNER);
3725 navSource.setFrame(new Rect(0, screenHeight - taskbarHeight, screenWidth, screenHeight));
3730 w1.mAboveInsetsState.addSource(navSource);
3770 final InsetsSource navSource = new InsetsSource(
3772 navSource.setFlags(FLAG_INSETS_ROUNDED_CORNER, FLAG_INSETS_ROUNDED_CORNER);
3774 navSource.setVisible(!immersive);
3775 navSource.setFrame(new Rect(0, screenHeight - taskbarHeight, screenWidth, screenHeight));
3779 w1.mAboveInsetsState.addSource(navSource);
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DInsetsPolicy.java383 final InsetsSource navSource = new InsetsSource(source); in adjustVisibilityForIme() local
384 navSource.setVisible(navVisible); in adjustVisibilityForIme()
385 state.addSource(navSource); in adjustVisibilityForIme()