/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 32 public static final WmDisplayCutout NO_CUTOUT = new WmDisplayCutout(DisplayCutout.NO_CUTOUT, field in WmDisplayCutout 51 if (inner == DisplayCutout.NO_CUTOUT) { in computeSafeInsets() 52 return NO_CUTOUT; in computeSafeInsets() 100 return NO_CUTOUT; in calculateRelativeTo()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | ActionBarOverlayLayoutTest.java | 19 import static android.view.DisplayCutout.NO_CUTOUT; 125 mLayout.dispatchApplyWindowInsets(insetsWith(TOP_INSET_5, NO_CUTOUT)); in topInset_noCutout_stable() 132 assertThat(mContentInsetsListener.captured, is(insetsWith(TOP_INSET_25, NO_CUTOUT))); in topInset_noCutout_stable() 137 mLayout.dispatchApplyWindowInsets(insetsWith(TOP_INSET_5, NO_CUTOUT)); in topInset_noCutout_notStable() 143 assertThat(mContentInsetsListener.captured, is(insetsWith(Insets.NONE, NO_CUTOUT))); in topInset_noCutout_notStable() 167 assertThat(mContentInsetsListener.captured, is(insetsWith(Insets.NONE, NO_CUTOUT))); in topInset_cutout_notStable()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsStateTest.java | 81 false, DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_RESIZE, 0, 0, typeSideMap); in testCalculateInsets() 100 false, DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_RESIZE, 0, 0, null); in testCalculateInsets_imeAndNav() 119 false, DisplayCutout.NO_CUTOUT, 0, 0, 0, null); in testCalculateInsets_navRightStatusTop() 135 false, DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_NOTHING, 0, 0, null); in testCalculateInsets_imeIgnoredWithoutAdjustResize() 151 false, DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_NOTHING, 0, in testCalculateInsets_systemUiFlagLayoutStable() 155 DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_NOTHING, 0, in testCalculateInsets_systemUiFlagLayoutStable() 168 false, DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_NOTHING, FLAG_FULLSCREEN, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() 172 DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_NOTHING, 0, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() 216 false, DisplayCutout.NO_CUTOUT, 0, 0, 0, null); in testCalculateInsets_extraNavRightStatusTop() 232 false, DisplayCutout.NO_CUTOUT, 0, 0, 0, null); in testCalculateInsets_navigationRightClimateTop() [all …]
|
D | DisplayCutoutTest.java | 19 import static android.view.DisplayCutout.NO_CUTOUT; 132 assertTrue(NO_CUTOUT.isBoundsEmpty()); in testHasCutout_noCutout() 401 new ParcelableWrapper(NO_CUTOUT).writeToParcel(p, 0); in parcel_unparcel_nocutout() 406 assertEquals(NO_CUTOUT, ParcelableWrapper.CREATOR.createFromParcel(p).get()); in parcel_unparcel_nocutout()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | WmDisplayCutoutTest.java | 23 import static android.view.DisplayCutout.NO_CUTOUT; 307 assertEquals(new WmDisplayCutout(NO_CUTOUT, null), new WmDisplayCutout(NO_CUTOUT, null)); in test_equals() 314 new WmDisplayCutout(NO_CUTOUT, new Size(1, 2))); in test_equals() 319 assertEquals(new WmDisplayCutout(NO_CUTOUT, null).hashCode(), in test_hashCode() 320 new WmDisplayCutout(NO_CUTOUT, null).hashCode()); in test_hashCode()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayFrames.java | 93 @NonNull public WmDisplayCutout mDisplayCutout = WmDisplayCutout.NO_CUTOUT; 96 @NonNull public WmDisplayCutout mDisplayInfoCutout = WmDisplayCutout.NO_CUTOUT; 117 mDisplayInfoCutout = displayCutout != null ? displayCutout : WmDisplayCutout.NO_CUTOUT; in onDisplayInfoUpdated()
|
D | WindowFrames.java | 133 WmDisplayCutout mDisplayCutout = WmDisplayCutout.NO_CUTOUT; 138 private WmDisplayCutout mLastDisplayCutout = WmDisplayCutout.NO_CUTOUT; 229 mDisplayCutout = WmDisplayCutout.NO_CUTOUT; in calculateDockedDividerInsets()
|
D | DisplayContent.java | 1838 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotationUncached() 1839 return WmDisplayCutout.NO_CUTOUT; in calculateDisplayCutoutForRotationUncached()
|
D | DisplayPolicy.java | 1381 outDisplayCutout.set(DisplayCutout.NO_CUTOUT);
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 78 public static final DisplayCutout NO_CUTOUT = new DisplayCutout( field in DisplayCutout 782 this(NO_CUTOUT); in ParcelableWrapper() 807 } else if (cutout == NO_CUTOUT) { in writeCutoutToParcel() 850 return NO_CUTOUT; in readCutoutFromParcel()
|
D | WindowInsets.java | 193 return DisplayCutout.NO_CUTOUT; in displayCutoutCopyConstructorArgument() 939 ? DisplayCutout.NO_CUTOUT in inset() 1243 mDisplayCutout = displayCutout != null ? displayCutout : DisplayCutout.NO_CUTOUT; in setDisplayCutout()
|
D | ViewRootImpl.java | 564 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
|
D | View.java | 28882 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/ |
D | DisplayLayout.java | 356 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotation() 390 if (inner == DisplayCutout.NO_CUTOUT) { in computeSafeInsets()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wm/ |
D | DisplayLayoutTest.java | 136 info.displayCutout = DisplayCutout.NO_CUTOUT; in createDisplayInfo()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TransactionParcelTests.java | 194 Surface.ROTATION_90, DisplayCutout.NO_CUTOUT); in testLaunch() 354 new FixedRotationAdjustments(Surface.ROTATION_270, DisplayCutout.NO_CUTOUT))); in testFixedRotationAdjustments()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 862 .thenReturn(WmDisplayCutout.NO_CUTOUT); in build()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 192 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;
|