/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | WmDisplayCutoutTest.java | 61 assertEquals(new Rect(0, 15, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_top() 70 assertEquals(new Rect(15, 0, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_left() 79 assertEquals(new Rect(0, 0, 0, 15), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_bottom() 88 assertEquals(new Rect(0, 0, 15, 0), cutout.getDisplayCutout().getSafeInsets()); in calculateRelativeTo_right() 97 assertThat(cutout.getDisplayCutout().getBoundingRectTop(), in calculateRelativeTo_bounds() 106 assertEquals(new Rect(0, 20, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_top() 114 assertEquals(new Rect(20, 0, 0, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_left() 122 assertEquals(new Rect(0, 0, 0, 20), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_bottom() 130 assertEquals(new Rect(0, 0, 20, 0), cutout.getDisplayCutout().getSafeInsets()); in computeSafeInsets_right() 136 2000).getDisplayCutout(); in computeSafeInsets_bounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationController.java | 446 insets.getDisplayCutout() != null 447 ? insets.getDisplayCutout().getSafeInsetLeft() 455 insets.getDisplayCutout() != null 456 ? insets.getDisplayCutout().getSafeInsetRight() 463 insets.getDisplayCutout() != null 464 ? insets.getDisplayCutout().getSafeInsetTop() 473 insets.getDisplayCutout() != null 474 ? insets.getDisplayCutout().getSafeInsetBottom()
|
D | ExpandedAnimationController.java | 364 insets.getDisplayCutout() != null in getExpandedY() 365 ? insets.getDisplayCutout().getSafeInsetTop() in getExpandedY() 534 DisplayCutout cutout = insets.getDisplayCutout(); in getAvailableScreenWidth()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowFrameTests.java | 445 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetTop(), 50); in testDisplayCutout() 446 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetBottom(), 0); in testDisplayCutout() 447 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetLeft(), 0); in testDisplayCutout() 448 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetRight(), 0); in testDisplayCutout() 472 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetTop(), 50); in testDisplayCutout_tempDisplayedBounds() 473 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetBottom(), 0); in testDisplayCutout_tempDisplayedBounds() 474 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetLeft(), 0); in testDisplayCutout_tempDisplayedBounds() 475 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetRight(), 0); in testDisplayCutout_tempDisplayedBounds()
|
D | DisplayPolicyTestsBase.java | 122 info.displayCutout = cutout.getDisplayCutout(); in displayInfoAndCutoutForRotation()
|
D | DisplayContentTests.java | 446 .computeSafeInsets(200, 400).getDisplayCutout(); in testDisplayCutout_rot0() 477 .computeSafeInsets(displayWidth, displayHeight).getDisplayCutout(); in testDisplayCutout_rot90() 495 .getDisplayCutout(), dc.getDisplayInfo().displayCutout); in testDisplayCutout_rot90()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowFrames.java | 409 mDisplayCutout.getDisplayCutout().writeToProto(proto, CUTOUT); in writeToProto() 431 pw.println(prefix + " cutout=" + mDisplayCutout.getDisplayCutout() in dump() 432 + " last=" + mLastDisplayCutout.getDisplayCutout()); in dump()
|
D | DisplayFrames.java | 175 if (!mDisplayCutout.getDisplayCutout().isEmpty()) { in onBeginLayout() 176 final DisplayCutout c = mDisplayCutout.getDisplayCutout(); in onBeginLayout()
|
D | DockedStackDividerController.java | 181 rotation).getDisplayCutout(); in getSmallestWidthDpForBounds() 283 mDisplayContent.calculateDisplayCutoutForRotation(rotation).getDisplayCutout(); in initSnapAlgorithmForRotations()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTouchableRegionManager.java | 79 && (mStatusBarWindowView.getRootWindowInsets().getDisplayCutout() != null); in updateTouchableRegion()
|
D | PhoneStatusBarView.java | 167 if (!Objects.equals(getRootWindowInsets().getDisplayCutout(), mDisplayCutout)) { in updateOrientationAndCutout() 169 mDisplayCutout = getRootWindowInsets().getDisplayCutout(); in updateOrientationAndCutout()
|
D | KeyguardBottomAreaView.java | 831 int bottom = insets.getDisplayCutout() != null in onApplyWindowInsets() 832 ? insets.getDisplayCutout().getSafeInsetBottom() : 0; in onApplyWindowInsets()
|
D | HeadsUpAppearanceController.java | 225 DisplayCutout cutout = (windowInset != null) ? windowInset.getDisplayCutout() : null; in getRtlTranslation()
|
D | HeadsUpManagerPhone.java | 393 DisplayCutout cutout = mStatusBarWindowView.getRootWindowInsets().getDisplayCutout(); in updateRegionForNotch()
|
D | KeyguardStatusBarView.java | 227 DisplayCutout dc = getRootWindowInsets().getDisplayCutout(); in updateLayoutConsideringCutout()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 168 public DisplayCutout getDisplayCutout() { in getDisplayCutout() method in WmDisplayCutout
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleExpandedView.java | 331 insets.getDisplayCutout() != null in updateInsets() 332 ? insets.getDisplayCutout().getSafeInsetBottom() in updateInsets()
|
D | BubbleStackView.java | 439 DisplayCutout cutout = insets.getDisplayCutout(); in BubbleStackView() 1531 insets.getDisplayCutout() != null in getStatusBarHeight() 1532 ? insets.getDisplayCutout().getSafeInsetTop() in getStatusBarHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | HeadsUpStatusBarView.java | 237 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/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDetail.java | 151 DisplayCutout cutout = insets.getDisplayCutout(); in onApplyWindowInsets()
|
D | QuickStatusBarHeader.java | 400 DisplayCutout cutout = insets.getDisplayCutout(); in onApplyWindowInsets()
|
/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()
|
/frameworks/base/core/java/android/view/ |
D | InsetsController.java | 137 mLastInsets.shouldAlwaysConsumeSystemBars(), mLastInsets.getDisplayCutout(), in InsetsController()
|
D | WindowInsets.java | 428 public DisplayCutout getDisplayCutout() { in getDisplayCutout() method in WindowInsets
|