/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | WmDisplayCutoutTest.java | 23 import static android.view.DisplayCutout.NO_CUTOUT; 143 assertEquals(new WmDisplayCutout(NO_CUTOUT, null), new WmDisplayCutout(NO_CUTOUT, null)); in test_equals() 150 new WmDisplayCutout(NO_CUTOUT, new Size(1, 2))); in test_equals() 155 assertEquals(new WmDisplayCutout(NO_CUTOUT, null).hashCode(), in test_hashCode() 156 new WmDisplayCutout(NO_CUTOUT, null).hashCode()); in test_hashCode()
|
/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/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 33 public static final WmDisplayCutout NO_CUTOUT = new WmDisplayCutout(DisplayCutout.NO_CUTOUT, field in WmDisplayCutout 46 if (inner == DisplayCutout.NO_CUTOUT || inner.isBoundsEmpty()) { in computeSafeInsets() 47 return NO_CUTOUT; in computeSafeInsets() 96 return NO_CUTOUT; in calculateRelativeTo()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsStateTest.java | 74 DisplayCutout.NO_CUTOUT, null, null, SOFT_INPUT_ADJUST_RESIZE, typeSideMap); in testCalculateInsets() 93 DisplayCutout.NO_CUTOUT, null, null, SOFT_INPUT_ADJUST_RESIZE, null); in testCalculateInsets_imeAndNav() 112 DisplayCutout.NO_CUTOUT, null, null, 0, null); in testCalculateInsets_navRightStatusTop() 126 DisplayCutout.NO_CUTOUT, null, null, 0, null); in testCalculateInsets_imeIgnoredWithoutAdjustResize() 139 DisplayCutout.NO_CUTOUT, null, null, SOFT_INPUT_ADJUST_RESIZE, null); in testStripForDispatch()
|
D | DisplayCutoutTest.java | 19 import static android.view.DisplayCutout.NO_CUTOUT; 130 assertTrue(NO_CUTOUT.isEmpty()); in hasCutout() 316 new ParcelableWrapper(NO_CUTOUT).writeToParcel(p, 0); in parcel_unparcel_nocutout() 321 assertEquals(NO_CUTOUT, ParcelableWrapper.CREATOR.createFromParcel(p).get()); in parcel_unparcel_nocutout()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayFrames.java | 102 @NonNull public WmDisplayCutout mDisplayCutout = WmDisplayCutout.NO_CUTOUT; 105 @NonNull public WmDisplayCutout mDisplayInfoCutout = WmDisplayCutout.NO_CUTOUT; 130 mDisplayInfoCutout = displayCutout != null ? displayCutout : WmDisplayCutout.NO_CUTOUT; in onDisplayInfoUpdated()
|
D | WindowFrames.java | 141 WmDisplayCutout mDisplayCutout = WmDisplayCutout.NO_CUTOUT; 146 private WmDisplayCutout mLastDisplayCutout = WmDisplayCutout.NO_CUTOUT; 268 mDisplayCutout = WmDisplayCutout.NO_CUTOUT; in calculateDockedDividerInsets()
|
D | DisplayContent.java | 1657 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotationUncached() 1658 return WmDisplayCutout.NO_CUTOUT; in calculateDisplayCutoutForRotationUncached()
|
D | DisplayPolicy.java | 1337 outDisplayCutout.set(DisplayCutout.NO_CUTOUT); in getLayoutHintLw()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 88 public static final DisplayCutout NO_CUTOUT = new DisplayCutout( field in DisplayCutout 741 this(NO_CUTOUT); in ParcelableWrapper() 766 } else if (cutout == NO_CUTOUT) { in writeCutoutToParcel() 808 return NO_CUTOUT; in readCutoutFromParcel()
|
D | WindowInsets.java | 170 return DisplayCutout.NO_CUTOUT; in displayCutoutCopyConstructorArgument() 820 ? DisplayCutout.NO_CUTOUT in inset() 1114 mDisplayCutout = displayCutout != null ? displayCutout : DisplayCutout.NO_CUTOUT; in setDisplayCutout()
|
D | ViewRootImpl.java | 508 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT); 516 DisplayCutout mDispatchDisplayCutout = DisplayCutout.NO_CUTOUT;
|
D | View.java | 28468 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 786 .thenReturn(WmDisplayCutout.NO_CUTOUT); in build()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 192 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 74207 Landroid/view/DisplayCutout;->NO_CUTOUT:Landroid/view/DisplayCutout;
|