/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | WindowFrameTests.java | 163 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/ |
D | WmDisplayCutoutTest.java | 20 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/ |
D | ActionBarOverlayLayoutTest.java | 19 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/ |
D | WmDisplayCutout.java | 33 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/ |
D | DisplayCutoutTest.java | 19 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/ |
D | DisplayFrames.java | 102 @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()
|
D | WindowState.java | 358 WmDisplayCutout mDisplayCutout = WmDisplayCutout.NO_CUTOUT; 359 private WmDisplayCutout mLastDisplayCutout = WmDisplayCutout.NO_CUTOUT; 1071 displayCutout = WmDisplayCutout.NO_CUTOUT; in computeFrameLw()
|
D | DisplayContent.java | 1247 if (cutout == null || cutout == DisplayCutout.NO_CUTOUT) { in calculateDisplayCutoutForRotationUncached() 1248 return WmDisplayCutout.NO_CUTOUT; in calculateDisplayCutoutForRotationUncached()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 77 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()
|
D | ViewRootImpl.java | 407 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT); 414 DisplayCutout mDispatchDisplayCutout = DisplayCutout.NO_CUTOUT;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
D | PhoneWindowManagerLayoutTest.java | 319 assertThat(cutout.get(), equalTo(DisplayCutout.NO_CUTOUT)); in layoutHint_screenDecorWindow()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 183 DisplayCutout mDispatchedDisplayCutout = DisplayCutout.NO_CUTOUT;
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 4631 outDisplayCutout.set(DisplayCutout.NO_CUTOUT); in getLayoutHintLw()
|