/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | WmDisplayCutoutTest.java | 62 assertEquals(new Rect(0, 15, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_top() 71 assertEquals(new Rect(15, 0, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_left() 80 assertEquals(new Rect(0, 0, 0, 15), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_bottom() 89 assertEquals(new Rect(0, 0, 15, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_right() 98 assertThat(cutout.getDisplayCutout().getBoundingRectTop(), in calculateRelativeTo_bounds() 107 assertEquals(new Rect(0, 20, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_cutoutTop() 115 assertEquals(new Rect(20, 0, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_cutoutLeft() 123 assertEquals(new Rect(0, 0, 0, 20), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_cutoutBottom() 131 assertEquals(new Rect(0, 0, 20, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_cutoutRight() 139 assertEquals(new Rect(0, 20, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_topLeftCornerCutout_portrait() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationController.java | 604 insets.getDisplayCutout() != null 605 ? insets.getDisplayCutout().getSafeInsetLeft() 613 insets.getDisplayCutout() != null 614 ? insets.getDisplayCutout().getSafeInsetRight() 621 insets.getDisplayCutout() != null 622 ? insets.getDisplayCutout().getSafeInsetTop() 631 insets.getDisplayCutout() != null 632 ? insets.getDisplayCutout().getSafeInsetBottom()
|
D | ExpandedAnimationController.java | 465 insets.getDisplayCutout() != null in getExpandedY() 466 ? insets.getDisplayCutout().getSafeInsetTop() in getExpandedY() 641 DisplayCutout cutout = insets.getDisplayCutout(); in getAvailableScreenWidth()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayFrames.java | 134 if (!mDisplayCutout.getDisplayCutout().isEmpty()) { in onBeginLayout() 135 final DisplayCutout c = mDisplayCutout.getDisplayCutout(); in onBeginLayout()
|
D | WindowFrames.java | 347 mDisplayCutout.getDisplayCutout().dumpDebug(proto, CUTOUT); in dumpDebug() 365 pw.println(prefix + " cutout=" + mDisplayCutout.getDisplayCutout() in dump() 366 + " last=" + mLastDisplayCutout.getDisplayCutout()); in dump()
|
D | DisplayContent.java | 1762 calculateDisplayCutoutForRotation(rotation).getDisplayCutout(); in isNonDecorDisplayCloseToSquare() 1786 final DisplayCutout displayCutout = wmDisplayCutout.getDisplayCutout(); in updateDisplayAndOrientation() 1869 calculateDisplayCutoutForRotation(rotation).getDisplayCutout(); in computeScreenConfiguration() 2044 rotation).getDisplayCutout(); in reduceCompatConfigWidthSize() 2097 rotation).getDisplayCutout(); in reduceConfigLayout() 2119 rotation).getDisplayCutout(); in adjustDisplaySizeRanges()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTouchableRegionManager.java | 184 && (mNotificationShadeWindowView.getRootWindowInsets().getDisplayCutout() != null); in updateTouchableRegion() 231 DisplayCutout cutout = windowInsets.getDisplayCutout(); in updateRegionForNotch()
|
D | PhoneStatusBarView.java | 157 if (!Objects.equals(getRootWindowInsets().getDisplayCutout(), mDisplayCutout)) { in updateOrientationAndCutout() 159 mDisplayCutout = getRootWindowInsets().getDisplayCutout(); in updateOrientationAndCutout()
|
D | StatusBarWindowView.java | 60 DisplayCutout displayCutout = getRootWindowInsets().getDisplayCutout(); in onApplyWindowInsets()
|
D | KeyguardBottomAreaView.java | 840 int bottom = insets.getDisplayCutout() != null in onApplyWindowInsets() 841 ? insets.getDisplayCutout().getSafeInsetBottom() : 0; in onApplyWindowInsets()
|
D | HeadsUpAppearanceController.java | 228 DisplayCutout cutout = (windowInset != null) ? windowInset.getDisplayCutout() : null; in getRtlTranslation()
|
D | NotificationShadeWindowView.java | 107 DisplayCutout displayCutout = getRootWindowInsets().getDisplayCutout(); in onApplyWindowInsets()
|
D | KeyguardStatusBarView.java | 245 mDisplayCutout = getRootWindowInsets().getDisplayCutout(); in updateLayoutConsideringCutout()
|
/frameworks/base/core/java/android/window/ |
D | WindowMetricsHelper.java | 56 final DisplayCutout cutout = windowInsets.getDisplayCutout(); in getBoundsExcludingNavigationBarAndCutout()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowFrameTests.java | 435 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetTop(), 50); in testDisplayCutout() 436 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetBottom(), 0); in testDisplayCutout() 437 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetLeft(), 0); in testDisplayCutout() 438 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetRight(), 0); in testDisplayCutout()
|
D | DisplayPolicyTestsBase.java | 127 info.displayCutout = cutout.getDisplayCutout(); in displayInfoAndCutoutForRotation()
|
D | DisplayContentTests.java | 582 .computeSafeInsets(200, 400).getDisplayCutout(); in testDisplayCutout_rot0() 617 .computeSafeInsets(displayWidth, displayHeight).getDisplayCutout(); in testDisplayCutout_rot90() 634 .computeSafeInsets(displayHeight, displayWidth).getDisplayCutout(), in testDisplayCutout_rot90()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 157 public DisplayCutout getDisplayCutout() { in getDisplayCutout() method in WmDisplayCutout
|
/frameworks/base/core/java/android/view/ |
D | DisplayAdjustments.java | 145 public DisplayCutout getDisplayCutout(@Nullable DisplayCutout realCutout) { in getDisplayCutout() method in DisplayAdjustments
|
D | Display.java | 856 ? getDisplayAdjustments().getDisplayCutout(mDisplayInfo.displayCutout) in getCutout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleExpandedView.java | 526 insets.getDisplayCutout() != null in updateInsets() 527 ? insets.getDisplayCutout().getSafeInsetBottom() in updateInsets()
|
D | BubbleStackView.java | 946 DisplayCutout cutout = insets.getDisplayCutout(); in BubbleStackView() 2575 insets.getDisplayCutout() != null in getStatusBarHeight() 2576 ? insets.getDisplayCutout().getSafeInsetTop() in getStatusBarHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | HeadsUpStatusBarView.java | 248 DisplayCutout displayCutout = getRootWindowInsets().getDisplayCutout(); in fitSystemWindows()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/ |
D | PhysicsAnimationLayoutTestCase.java | 92 when(mWindowInsets.getDisplayCutout()).thenReturn(mCutout); in setUp()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 230 if (insets.getDisplayCutout() != null) { in onApplyWindowInsets() 231 mHeaderPaddingTop = insets.getDisplayCutout().getSafeInsetTop(); in onApplyWindowInsets()
|