Home
last modified time | relevance | path

Searched refs:getSafeInsetRight (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java138 assertEquals(7, mCutoutNumbers.getSafeInsetRight()); in testGetSafeInsets()
175 assertEquals(0, cutout.getSafeInsetRight()); in inset_insets_withLeftCutout()
185 assertEquals(0, cutout.getSafeInsetRight()); in inset_insets_withTopCutout()
195 assertEquals(97, cutout.getSafeInsetRight()); in inset_insets_withRightCutout()
205 assertEquals(cutout.getSafeInsetRight(), 0); in inset_insets_withBottomCutout()
215 assertEquals(cutout.getSafeInsetRight(), 0); in inset_insets_consumeInset()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDisplayCutoutView.java98 return displayCutout.getSafeInsetRight() > 0 in hasCutout()
151 if (displayCutout.getSafeInsetRight() > 0) { in localBounds()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java183 if (c.getSafeInsetRight() > 0) { in onBeginLayout()
184 mDisplayCutoutSafe.right = mRestrictedOverscan.right - c.getSafeInsetRight(); in onBeginLayout()
DDisplayPolicy.java2828 width -= displayCutout.getSafeInsetLeft() + displayCutout.getSafeInsetRight(); in getNonDecorDisplayWidth()
2986 outInsets.right += displayCutout.getSafeInsetRight(); in getNonDecorInsetsLw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DHeadsUpStatusBarView.java241 ? (isRtl ? displayCutout.getSafeInsetRight() : displayCutout.getSafeInsetLeft()) in fitSystemWindows()
247 if (displayCutout != null && displayCutout.getSafeInsetRight() == 0 in fitSystemWindows()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java94 && insetRight >= mInner.getSafeInsetRight() in calculateRelativeTo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java96 when(mCutout.getSafeInsetRight()).thenReturn(mCutoutInsetSize); in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowFrameTests.java448 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetRight(), 0); in testDisplayCutout()
475 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetRight(), 0); in testDisplayCutout_tempDisplayedBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceController.java202 int cutoutRight = (cutout != null) ? cutout.getSafeInsetRight() : 0; in getRtlTranslation()
DStatusBarWindowView.java177 rightCutout = displayCutout.getSafeInsetRight(); in fitSystemWindows()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DStackAnimationController.java435 ? insets.getDisplayCutout().getSafeInsetRight()
/frameworks/base/core/java/android/view/
DDisplayCutout.java375 public int getSafeInsetRight() { in getSafeInsetRight() method in DisplayCutout
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java994 return displayCutout.getSafeInsetRight() > 0 in hasCutout()
1043 if (displayCutout.getSafeInsetRight() > 0) { in getGravity()
/frameworks/base/config/
Dboot-image-profile.txt16121 HSPLandroid/view/DisplayCutout;->getSafeInsetRight()I
/frameworks/base/api/
Dcurrent.txt48657 method public int getSafeInsetRight();