Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DActionBarOverlayLayoutTest.java19 import static android.view.DisplayCutout.NO_CUTOUT;
136 mLayout.dispatchApplyWindowInsets(insetsWith(TOP_INSET_5, NO_CUTOUT)); in topInset_noCutout_stable()
143 assertThat(mContentInsetsListener.captured, is(insetsWith(TOP_INSET_25, NO_CUTOUT))); in topInset_noCutout_stable()
148 mLayout.dispatchApplyWindowInsets(insetsWith(TOP_INSET_5, NO_CUTOUT)); in topInset_noCutout_notStable()
154 assertThat(mContentInsetsListener.captured, is(insetsWith(Insets.NONE, NO_CUTOUT))); in topInset_noCutout_notStable()
178 assertThat(mContentInsetsListener.captured, is(insetsWith(Insets.NONE, NO_CUTOUT))); in topInset_cutout_notStable()
203 assertThat(mContentInsetsListener.captured, is(insetsWith(Insets.NONE, NO_CUTOUT))); in topInset_cutout__hasContentOnApplyWindowInsetsListener()
209 mLayout.dispatchApplyWindowInsets(insetsWith(TOP_INSET_5, NO_CUTOUT)); in topInset_noCutout_noContentOnApplyWindowInsetsListener()
216 assertThat(mContentInsetsListener.captured, is(insetsWith(TOP_INSET_25, NO_CUTOUT))); in topInset_noCutout_noContentOnApplyWindowInsetsListener()
222 mLayout.dispatchApplyWindowInsets(insetsWith(TOP_INSET_5, NO_CUTOUT)); in topInset_noCutout__hasContentOnApplyWindowInsetsListener()
[all …]
/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/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.java21 import static android.view.DisplayCutout.NO_CUTOUT;
141 assertTrue(NO_CUTOUT.isBoundsEmpty()); in testHasCutout_noCutout()
142 assertThat(NO_CUTOUT.getWaterfallInsets(), equalTo(Insets.NONE)); in testHasCutout_noCutout()
143 assertThat(NO_CUTOUT.getCutoutPath(), nullValue()); in testHasCutout_noCutout()
468 new ParcelableWrapper(NO_CUTOUT).writeToParcel(p, 0); in parcel_unparcel_nocutout()
473 assertEquals(NO_CUTOUT, ParcelableWrapper.CREATOR.createFromParcel(p).get()); in parcel_unparcel_nocutout()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTestsBase.java87 : DisplayCutout.NO_CUTOUT; in displayInfoAndCutoutForRotation()
DDisplayPolicyTests.java20 import static android.view.DisplayCutout.NO_CUTOUT;
420 doReturn(NO_CUTOUT).when(mDisplayContent).calculateDisplayCutoutForRotation(anyInt()); in testUpdateDisplayConfigurationByDecor()
505 state, displayInfo, NO_CUTOUT, NO_ROUNDED_CORNERS, new PrivacyIndicatorBounds(), in testImeMinimalSourceFrame()
DDisplayRotationTests.java25 import static android.view.DisplayCutout.NO_CUTOUT;
1531 .thenReturn(NO_CUTOUT); in build()
/frameworks/base/core/java/android/view/
DDisplayCutout.java95 public static final DisplayCutout NO_CUTOUT = new DisplayCutout( field in DisplayCutout
1315 if (this == DisplayCutout.NO_CUTOUT) {
1316 return DisplayCutout.NO_CUTOUT;
1436 this(NO_CUTOUT); in ParcelableWrapper()
1461 } else if (cutout == NO_CUTOUT) { in writeCutoutToParcel()
1514 return NO_CUTOUT; in readCutoutFromParcel()
DWindowInsets.java216 return DisplayCutout.NO_CUTOUT; in displayCutoutCopyConstructorArgument()
1187 ? DisplayCutout.NO_CUTOUT in insetUnchecked()
1599 mDisplayCutout = displayCutout != null ? displayCutout : DisplayCutout.NO_CUTOUT; in setDisplayCutout()
DInsetsState.java190 return DisplayCutout.NO_CUTOUT; in calculateRelativeCutout()
200 return DisplayCutout.NO_CUTOUT; in calculateRelativeCutout()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayLayoutTest.java161 info.displayCutout = DisplayCutout.NO_CUTOUT; in createDisplayInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarViewTest.kt338 /* displayCutout = */ DisplayCutout.NO_CUTOUT,
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2339 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotationAndDisplaySizeUncached()
2340 return WmDisplayCutout.NO_CUTOUT; in calculateDisplayCutoutForRotationAndDisplaySizeUncached()
2346 return WmDisplayCutout.NO_CUTOUT; in calculateDisplayCutoutForRotationAndDisplaySizeUncached()
3036 ? DisplayCutout.NO_CUTOUT : mDisplayInfo.displayCutout; in updateBaseDisplayMetricsIfNeeded()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java301 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59135 Landroid/view/DisplayCutout;->NO_CUTOUT:Landroid/view/DisplayCutout;