Home
last modified time | relevance | path

Searched refs:NO_CUTOUT (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DWmDisplayCutoutTest.java23 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/
DActionBarOverlayLayoutTest.java19 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/
DWmDisplayCutout.java33 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/
DInsetsStateTest.java74 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()
DDisplayCutoutTest.java19 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/
DDisplayFrames.java102 @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()
DWindowFrames.java141 WmDisplayCutout mDisplayCutout = WmDisplayCutout.NO_CUTOUT;
146 private WmDisplayCutout mLastDisplayCutout = WmDisplayCutout.NO_CUTOUT;
268 mDisplayCutout = WmDisplayCutout.NO_CUTOUT; in calculateDockedDividerInsets()
DDisplayContent.java1657 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotationUncached()
1658 return WmDisplayCutout.NO_CUTOUT; in calculateDisplayCutoutForRotationUncached()
DDisplayPolicy.java1337 outDisplayCutout.set(DisplayCutout.NO_CUTOUT); in getLayoutHintLw()
/frameworks/base/core/java/android/view/
DDisplayCutout.java88 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()
DWindowInsets.java170 return DisplayCutout.NO_CUTOUT; in displayCutoutCopyConstructorArgument()
820 ? DisplayCutout.NO_CUTOUT in inset()
1114 mDisplayCutout = displayCutout != null ? displayCutout : DisplayCutout.NO_CUTOUT; in setDisplayCutout()
DViewRootImpl.java508 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
516 DisplayCutout mDispatchDisplayCutout = DisplayCutout.NO_CUTOUT;
DView.java28468 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java786 .thenReturn(WmDisplayCutout.NO_CUTOUT); in build()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java192 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt74207 Landroid/view/DisplayCutout;->NO_CUTOUT:Landroid/view/DisplayCutout;