/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/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/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 | 19 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/ |
D | DisplayCutout.java | 90 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()
|
D | WindowInsets.java | 201 return DisplayCutout.NO_CUTOUT; in displayCutoutCopyConstructorArgument() 1009 ? DisplayCutout.NO_CUTOUT in insetUnchecked() 1326 mDisplayCutout = displayCutout != null ? displayCutout : DisplayCutout.NO_CUTOUT; in setDisplayCutout()
|
D | InsetsState.java | 281 return DisplayCutout.NO_CUTOUT; in calculateRelativeCutout() 291 return DisplayCutout.NO_CUTOUT; in calculateRelativeCutout()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTests.java | 19 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()
|
D | DisplayPolicyTestsBase.java | 87 : DisplayCutout.NO_CUTOUT; in displayInfoAndCutoutForRotation()
|
D | DisplayRotationTests.java | 25 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/ |
D | DisplayLayoutTest.java | 161 info.displayCutout = DisplayCutout.NO_CUTOUT; in createDisplayInfo()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 406 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/ |
D | DisplayContent.java | 2229 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/ |
D | WallpaperService.java | 263 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 59778 Landroid/view/DisplayCutout;->NO_CUTOUT:Landroid/view/DisplayCutout;
|