Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowFrameTests.java163 w.computeFrameLw(pf, df, of, cf, vf, dcf, sf, null, WmDisplayCutout.NO_CUTOUT, false); in testLayoutInFullscreenTaskInsets()
178 w.computeFrameLw(pf, df, of, cf, vf, dcf, sf, null, WmDisplayCutout.NO_CUTOUT, false); in testLayoutInFullscreenTaskInsets()
199 w.computeFrameLw(pf, pf, pf, pf, pf, pf, pf, pf, WmDisplayCutout.NO_CUTOUT, false); in testLayoutInFullscreenTaskNoInsets()
207 w.computeFrameLw(pf, pf, pf, pf, pf, pf, pf, pf, WmDisplayCutout.NO_CUTOUT, false); in testLayoutInFullscreenTaskNoInsets()
214 w.computeFrameLw(pf, pf, pf, pf, pf, pf, pf, pf, WmDisplayCutout.NO_CUTOUT, false); in testLayoutInFullscreenTaskNoInsets()
227 w.computeFrameLw(pf, pf, pf, pf, pf, pf, pf, pf, WmDisplayCutout.NO_CUTOUT, false); in testLayoutInFullscreenTaskNoInsets()
234 w.computeFrameLw(pf, pf, pf, pf, pf, pf, pf, pf, WmDisplayCutout.NO_CUTOUT, false); in testLayoutInFullscreenTaskNoInsets()
242 w.computeFrameLw(pf, pf, pf, pf, pf, pf, pf, pf, WmDisplayCutout.NO_CUTOUT, false); in testLayoutInFullscreenTaskNoInsets()
252 w.computeFrameLw(pf, pf, pf, pf, pf, pf, pf, pf, WmDisplayCutout.NO_CUTOUT, false); in testLayoutInFullscreenTaskNoInsets()
255 w.computeFrameLw(pf, pf, pf, pf, pf, pf, pf, pf, WmDisplayCutout.NO_CUTOUT, false); in testLayoutInFullscreenTaskNoInsets()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/utils/
DWmDisplayCutoutTest.java20 import static android.view.DisplayCutout.NO_CUTOUT;
140 assertEquals(new WmDisplayCutout(NO_CUTOUT, null), new WmDisplayCutout(NO_CUTOUT, null)); in test_equals()
147 new WmDisplayCutout(NO_CUTOUT, new Size(1, 2))); in test_equals()
152 assertEquals(new WmDisplayCutout(NO_CUTOUT, null).hashCode(), in test_hashCode()
153 new WmDisplayCutout(NO_CUTOUT, null).hashCode()); in test_hashCode()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DActionBarOverlayLayoutTest.java19 import static android.view.DisplayCutout.NO_CUTOUT;
121 mLayout.dispatchApplyWindowInsets(insetsWith(TOP_INSET_5, NO_CUTOUT)); in topInset_noCutout_stable()
128 assertThat(mContentInsetsListener.captured, is(insetsWith(TOP_INSET_25, NO_CUTOUT))); in topInset_noCutout_stable()
133 mLayout.dispatchApplyWindowInsets(insetsWith(TOP_INSET_5, NO_CUTOUT)); in topInset_noCutout_notStable()
139 assertThat(mContentInsetsListener.captured, is(insetsWith(ZERO_INSET, NO_CUTOUT))); in topInset_noCutout_notStable()
163 assertThat(mContentInsetsListener.captured, is(insetsWith(ZERO_INSET, NO_CUTOUT))); in topInset_cutout_notStable()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java33 public static final WmDisplayCutout NO_CUTOUT = new WmDisplayCutout(DisplayCutout.NO_CUTOUT, field in WmDisplayCutout
46 if (inner == DisplayCutout.NO_CUTOUT || inner.isBoundsEmpty()) { in computeSafeInsets()
47 return NO_CUTOUT; in computeSafeInsets()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java19 import static android.view.DisplayCutout.NO_CUTOUT;
56 assertTrue(NO_CUTOUT.isEmpty()); in hasCutout()
226 new ParcelableWrapper(NO_CUTOUT).writeToParcel(p, 0); in parcel_unparcel_nocutout()
231 assertEquals(NO_CUTOUT, ParcelableWrapper.CREATOR.createFromParcel(p).get()); in parcel_unparcel_nocutout()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java102 @NonNull public WmDisplayCutout mDisplayCutout = WmDisplayCutout.NO_CUTOUT;
105 @NonNull public WmDisplayCutout mDisplayInfoCutout = WmDisplayCutout.NO_CUTOUT;
130 mDisplayInfoCutout = displayCutout != null ? displayCutout : WmDisplayCutout.NO_CUTOUT; in onDisplayInfoUpdated()
DWindowState.java358 WmDisplayCutout mDisplayCutout = WmDisplayCutout.NO_CUTOUT;
359 private WmDisplayCutout mLastDisplayCutout = WmDisplayCutout.NO_CUTOUT;
1071 displayCutout = WmDisplayCutout.NO_CUTOUT; in computeFrameLw()
DDisplayContent.java1247 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotationUncached()
1248 return WmDisplayCutout.NO_CUTOUT; in calculateDisplayCutoutForRotationUncached()
/frameworks/base/core/java/android/view/
DDisplayCutout.java77 public static final DisplayCutout NO_CUTOUT = new DisplayCutout(ZERO_RECT, EMPTY_REGION, field in DisplayCutout
481 this(NO_CUTOUT); in ParcelableWrapper()
506 } else if (cutout == NO_CUTOUT) { in writeCutoutToParcel()
548 return NO_CUTOUT; in readCutoutFromParcel()
DViewRootImpl.java407 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
414 DisplayCutout mDispatchDisplayCutout = DisplayCutout.NO_CUTOUT;
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DPhoneWindowManagerLayoutTest.java319 assertThat(cutout.get(), equalTo(DisplayCutout.NO_CUTOUT)); in layoutHint_screenDecorWindow()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java183 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java4631 outDisplayCutout.set(DisplayCutout.NO_CUTOUT); in getLayoutHintLw()