/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | ActionBarOverlayLayoutTest.java | 19 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/ |
D | WmDisplayCutout.java | 31 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/ |
D | WmDisplayCutoutTest.java | 23 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/ |
D | DisplayCutoutTest.java | 21 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/ |
D | DisplayPolicyTestsBase.java | 87 : DisplayCutout.NO_CUTOUT; in displayInfoAndCutoutForRotation()
|
D | DisplayPolicyTests.java | 20 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()
|
D | DisplayRotationTests.java | 25 import static android.view.DisplayCutout.NO_CUTOUT; 1531 .thenReturn(NO_CUTOUT); in build()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 95 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()
|
D | WindowInsets.java | 216 return DisplayCutout.NO_CUTOUT; in displayCutoutCopyConstructorArgument() 1187 ? DisplayCutout.NO_CUTOUT in insetUnchecked() 1599 mDisplayCutout = displayCutout != null ? displayCutout : DisplayCutout.NO_CUTOUT; in setDisplayCutout()
|
D | InsetsState.java | 190 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/ |
D | DisplayLayoutTest.java | 161 info.displayCutout = DisplayCutout.NO_CUTOUT; in createDisplayInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarViewTest.kt | 338 /* displayCutout = */ DisplayCutout.NO_CUTOUT,
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 2339 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/ |
D | WallpaperService.java | 301 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 59135 Landroid/view/DisplayCutout;->NO_CUTOUT:Landroid/view/DisplayCutout;
|