Searched refs:getSafeInsetTop (Results 1 - 9 of 9) sorted by relevance
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | DisplayCutoutCompat.java | 40 * {@link #getSafeInsetTop()} etc. 54 public int getSafeInsetTop() { method in class:DisplayCutoutCompat 56 return ((DisplayCutout) mDisplayCutout).getSafeInsetTop();
|
/frameworks/support/compat/src/androidTest/java/androidx/core/view/ |
H A D | DisplayCutoutCompatTest.java | 63 assertEquals("top", 10, mCutoutTopBottom.getSafeInsetTop()); 68 assertEquals("top", 0, mCutoutTopBottom.getSafeInsetTop());
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | DisplayCutoutTest.java | 63 assertEquals(2, mCutoutNumbers.getSafeInsetTop()); 105 assertEquals(cutout.getSafeInsetTop(), 0); 115 assertEquals(cutout.getSafeInsetTop(), 98); 125 assertEquals(cutout.getSafeInsetTop(), 0); 135 assertEquals(cutout.getSafeInsetTop(), 0); 145 assertEquals(cutout.getSafeInsetTop(), 0);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayFrames.java | 180 if (c.getSafeInsetTop() > 0) { 181 mDisplayCutoutSafe.top = mRestrictedOverscan.top + c.getSafeInsetTop();
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayCutout.java | 102 * {@link #getSafeInsetTop()} etc. 146 public int getSafeInsetTop() { method in class:DisplayCutout 187 * bounds.op(0, 0, Integer.MAX_VALUE, displayCutout.getSafeInsetTop(), Region.Op.INTERSECT); 213 bounds.op(0, 0, Integer.MAX_VALUE, getSafeInsetTop(), Region.Op.INTERSECT); 225 bounds.op(getSafeInsetLeft() + 1, getSafeInsetTop() + 1,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ScreenDecorations.java | 545 || displayCutout.getSafeInsetTop() > 0; 567 bounds.op(0, 0, Integer.MAX_VALUE, displayCutout.getSafeInsetTop(), 577 bounds.op(0, displayCutout.getSafeInsetTop() + 1, Integer.MAX_VALUE, 596 } else if (displayCutout.getSafeInsetTop() > 0) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | WindowFrameTests.java | 438 assertEquals(w.mDisplayCutout.getDisplayCutout().getSafeInsetTop(), 50); 460 assertEquals(w.mDisplayCutout.getDisplayCutout().getSafeInsetTop(), 50);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 2985 height -= displayCutout.getSafeInsetTop() + displayCutout.getSafeInsetBottom(); 3010 statusBarHeight = Math.max(0, statusBarHeight - displayCutout.getSafeInsetTop()); 7183 outInsets.top += displayCutout.getSafeInsetTop();
|
/frameworks/base/config/ |
H A D | boot-image-profile.txt | [all...] |
Completed in 271 milliseconds