Home
last modified time | relevance | path

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

/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.java32 public static final WmDisplayCutout NO_CUTOUT = new WmDisplayCutout(DisplayCutout.NO_CUTOUT, field in WmDisplayCutout
51 if (inner == DisplayCutout.NO_CUTOUT) { in computeSafeInsets()
52 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.java19 import static android.view.DisplayCutout.NO_CUTOUT;
135 assertTrue(NO_CUTOUT.isBoundsEmpty()); in testHasCutout_noCutout()
136 assertThat(NO_CUTOUT.getWaterfallInsets(), equalTo(Insets.NONE)); in testHasCutout_noCutout()
137 assertThat(NO_CUTOUT.getCutoutPath(), nullValue()); in testHasCutout_noCutout()
459 new ParcelableWrapper(NO_CUTOUT).writeToParcel(p, 0); in parcel_unparcel_nocutout()
464 assertEquals(NO_CUTOUT, ParcelableWrapper.CREATOR.createFromParcel(p).get()); in parcel_unparcel_nocutout()
/frameworks/base/core/java/android/view/
DDisplayCutout.java85 public static final DisplayCutout NO_CUTOUT = new DisplayCutout( field in DisplayCutout
1002 this(NO_CUTOUT); in ParcelableWrapper()
1027 } else if (cutout == NO_CUTOUT) { in writeCutoutToParcel()
1076 return NO_CUTOUT; in readCutoutFromParcel()
DWindowInsets.java204 return DisplayCutout.NO_CUTOUT; in displayCutoutCopyConstructorArgument()
995 ? DisplayCutout.NO_CUTOUT in insetUnchecked()
1312 mDisplayCutout = displayCutout != null ? displayCutout : DisplayCutout.NO_CUTOUT; in setDisplayCutout()
DInsetsState.java261 return DisplayCutout.NO_CUTOUT; in calculateRelativeCutout()
271 return DisplayCutout.NO_CUTOUT; in calculateRelativeCutout()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayLayoutTest.java129 info.displayCutout = DisplayCutout.NO_CUTOUT; in createDisplayInfo()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java41 import static com.android.server.wm.utils.WmDisplayCutout.NO_CUTOUT;
321 state, displayInfo, NO_CUTOUT, NO_ROUNDED_CORNERS, new PrivacyIndicatorBounds()); in testImeMinimalSourceFrame()
DDisplayPolicyTestsBase.java120 WmDisplayCutout cutout = WmDisplayCutout.NO_CUTOUT; in displayInfoAndCutoutForRotation()
DDisplayRotationTests.java862 .thenReturn(WmDisplayCutout.NO_CUTOUT); in build()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java352 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotation()
389 if (inner == DisplayCutout.NO_CUTOUT) { in computeSafeInsets()
/frameworks/base/core/tests/mockingcoretests/src/android/view/
DDisplayTest.java161 DisplayCutout.NO_CUTOUT); in testGetRotation_displayAdjustmentsWithoutOverride_rotationNotAdjusted()
585 DisplayCutout.NO_CUTOUT); in setFixedRotationAdjustments()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java202 Surface.ROTATION_90, 1920, 1080, DisplayCutout.NO_CUTOUT); in testLaunch()
368 DisplayCutout.NO_CUTOUT))); in testFixedRotationAdjustments()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2018 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotationUncached()
2019 return WmDisplayCutout.NO_CUTOUT; in calculateDisplayCutoutForRotationUncached()
2661 ? DisplayCutout.NO_CUTOUT : mDisplayInfo.displayCutout; in updateBaseDisplayMetricsIfNeeded()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java229 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt63101 Landroid/view/DisplayCutout;->NO_CUTOUT:Landroid/view/DisplayCutout;