Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java31 public static final WmDisplayCutout NO_CUTOUT = new WmDisplayCutout(DisplayCutout.NO_CUTOUT, field in WmDisplayCutout
50 if (inner == DisplayCutout.NO_CUTOUT) { in computeSafeInsets()
51 return NO_CUTOUT; in computeSafeInsets()
/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/tests/wmtests/src/com/android/server/wm/utils/
DWmDisplayCutoutTest.java23 import static android.view.DisplayCutout.NO_CUTOUT;
259 assertEquals(new WmDisplayCutout(NO_CUTOUT, null), new WmDisplayCutout(NO_CUTOUT, null)); in test_equals()
266 new WmDisplayCutout(NO_CUTOUT, new Size(1, 2))); in test_equals()
271 assertEquals(new WmDisplayCutout(NO_CUTOUT, null).hashCode(), in test_hashCode()
272 new WmDisplayCutout(NO_CUTOUT, null).hashCode()); in test_hashCode()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java19 import static android.view.DisplayCutout.NO_CUTOUT;
139 assertTrue(NO_CUTOUT.isBoundsEmpty()); in testHasCutout_noCutout()
140 assertThat(NO_CUTOUT.getWaterfallInsets(), equalTo(Insets.NONE)); in testHasCutout_noCutout()
141 assertThat(NO_CUTOUT.getCutoutPath(), nullValue()); in testHasCutout_noCutout()
463 new ParcelableWrapper(NO_CUTOUT).writeToParcel(p, 0); in parcel_unparcel_nocutout()
468 assertEquals(NO_CUTOUT, ParcelableWrapper.CREATOR.createFromParcel(p).get()); in parcel_unparcel_nocutout()
/frameworks/base/core/java/android/view/
DDisplayCutout.java90 public static final DisplayCutout NO_CUTOUT = new DisplayCutout( field in DisplayCutout
1168 if (this == DisplayCutout.NO_CUTOUT) { in getRotated()
1169 return DisplayCutout.NO_CUTOUT; in getRotated()
1254 this(NO_CUTOUT); in ParcelableWrapper()
1279 } else if (cutout == NO_CUTOUT) { in writeCutoutToParcel()
1331 return NO_CUTOUT; in readCutoutFromParcel()
DWindowInsets.java201 return DisplayCutout.NO_CUTOUT; in displayCutoutCopyConstructorArgument()
1009 ? DisplayCutout.NO_CUTOUT in insetUnchecked()
1326 mDisplayCutout = displayCutout != null ? displayCutout : DisplayCutout.NO_CUTOUT; in setDisplayCutout()
DInsetsState.java281 return DisplayCutout.NO_CUTOUT; in calculateRelativeCutout()
291 return DisplayCutout.NO_CUTOUT; in calculateRelativeCutout()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java19 import static android.view.DisplayCutout.NO_CUTOUT;
305 doReturn(NO_CUTOUT).when(mDisplayContent).calculateDisplayCutoutForRotation(anyInt()); in testUpdateDisplayConfigurationByDecor()
344 state, displayInfo, NO_CUTOUT, NO_ROUNDED_CORNERS, new PrivacyIndicatorBounds()); in testImeMinimalSourceFrame()
DDisplayPolicyTestsBase.java87 : DisplayCutout.NO_CUTOUT; in displayInfoAndCutoutForRotation()
DDisplayRotationTests.java25 import static android.view.DisplayCutout.NO_CUTOUT;
1318 .thenReturn(NO_CUTOUT); in build()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayLayoutTest.java161 info.displayCutout = DisplayCutout.NO_CUTOUT; in createDisplayInfo()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java406 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotation()
444 if (inner == DisplayCutout.NO_CUTOUT) { in computeSafeInsets()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2229 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotationAndDisplaySizeUncached()
2230 return WmDisplayCutout.NO_CUTOUT; in calculateDisplayCutoutForRotationAndDisplaySizeUncached()
2878 ? DisplayCutout.NO_CUTOUT : mDisplayInfo.displayCutout; in updateBaseDisplayMetricsIfNeeded()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java263 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59778 Landroid/view/DisplayCutout;->NO_CUTOUT:Landroid/view/DisplayCutout;