Home
last modified time | relevance | path

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

/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()
100 return NO_CUTOUT; in calculateRelativeTo()
/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/core/tests/coretests/src/android/view/
DInsetsStateTest.java81 false, DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_RESIZE, 0, 0, typeSideMap); in testCalculateInsets()
100 false, DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_RESIZE, 0, 0, null); in testCalculateInsets_imeAndNav()
119 false, DisplayCutout.NO_CUTOUT, 0, 0, 0, null); in testCalculateInsets_navRightStatusTop()
135 false, DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_NOTHING, 0, 0, null); in testCalculateInsets_imeIgnoredWithoutAdjustResize()
151 false, DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_NOTHING, 0, in testCalculateInsets_systemUiFlagLayoutStable()
155 DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_NOTHING, 0, in testCalculateInsets_systemUiFlagLayoutStable()
168 false, DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_NOTHING, FLAG_FULLSCREEN, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen()
172 DisplayCutout.NO_CUTOUT, SOFT_INPUT_ADJUST_NOTHING, 0, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen()
216 false, DisplayCutout.NO_CUTOUT, 0, 0, 0, null); in testCalculateInsets_extraNavRightStatusTop()
232 false, DisplayCutout.NO_CUTOUT, 0, 0, 0, null); in testCalculateInsets_navigationRightClimateTop()
[all …]
DDisplayCutoutTest.java19 import static android.view.DisplayCutout.NO_CUTOUT;
132 assertTrue(NO_CUTOUT.isBoundsEmpty()); in testHasCutout_noCutout()
401 new ParcelableWrapper(NO_CUTOUT).writeToParcel(p, 0); in parcel_unparcel_nocutout()
406 assertEquals(NO_CUTOUT, ParcelableWrapper.CREATOR.createFromParcel(p).get()); in parcel_unparcel_nocutout()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DWmDisplayCutoutTest.java23 import static android.view.DisplayCutout.NO_CUTOUT;
307 assertEquals(new WmDisplayCutout(NO_CUTOUT, null), new WmDisplayCutout(NO_CUTOUT, null)); in test_equals()
314 new WmDisplayCutout(NO_CUTOUT, new Size(1, 2))); in test_equals()
319 assertEquals(new WmDisplayCutout(NO_CUTOUT, null).hashCode(), in test_hashCode()
320 new WmDisplayCutout(NO_CUTOUT, null).hashCode()); in test_hashCode()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java93 @NonNull public WmDisplayCutout mDisplayCutout = WmDisplayCutout.NO_CUTOUT;
96 @NonNull public WmDisplayCutout mDisplayInfoCutout = WmDisplayCutout.NO_CUTOUT;
117 mDisplayInfoCutout = displayCutout != null ? displayCutout : WmDisplayCutout.NO_CUTOUT; in onDisplayInfoUpdated()
DWindowFrames.java133 WmDisplayCutout mDisplayCutout = WmDisplayCutout.NO_CUTOUT;
138 private WmDisplayCutout mLastDisplayCutout = WmDisplayCutout.NO_CUTOUT;
229 mDisplayCutout = WmDisplayCutout.NO_CUTOUT; in calculateDockedDividerInsets()
DDisplayContent.java1838 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotationUncached()
1839 return WmDisplayCutout.NO_CUTOUT; in calculateDisplayCutoutForRotationUncached()
DDisplayPolicy.java1381 outDisplayCutout.set(DisplayCutout.NO_CUTOUT);
/frameworks/base/core/java/android/view/
DDisplayCutout.java78 public static final DisplayCutout NO_CUTOUT = new DisplayCutout( field in DisplayCutout
782 this(NO_CUTOUT); in ParcelableWrapper()
807 } else if (cutout == NO_CUTOUT) { in writeCutoutToParcel()
850 return NO_CUTOUT; in readCutoutFromParcel()
DWindowInsets.java193 return DisplayCutout.NO_CUTOUT; in displayCutoutCopyConstructorArgument()
939 ? DisplayCutout.NO_CUTOUT in inset()
1243 mDisplayCutout = displayCutout != null ? displayCutout : DisplayCutout.NO_CUTOUT; in setDisplayCutout()
DViewRootImpl.java564 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
DView.java28882 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DDisplayLayout.java356 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotation()
390 if (inner == DisplayCutout.NO_CUTOUT) { in computeSafeInsets()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wm/
DDisplayLayoutTest.java136 info.displayCutout = DisplayCutout.NO_CUTOUT; in createDisplayInfo()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java194 Surface.ROTATION_90, DisplayCutout.NO_CUTOUT); in testLaunch()
354 new FixedRotationAdjustments(Surface.ROTATION_270, DisplayCutout.NO_CUTOUT))); in testFixedRotationAdjustments()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java862 .thenReturn(WmDisplayCutout.NO_CUTOUT); in build()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java192 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;