Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DDisplayCutoutTest.java159 assertEquals(7, mCutoutNumbers.getSafeInsetRight()); in testGetSafeInsets()
256 assertEquals(0, cutout.getSafeInsetRight()); in inset_insets_withLeftCutout()
266 assertEquals(0, cutout.getSafeInsetRight()); in inset_insets_withTopCutout()
276 assertEquals(97, cutout.getSafeInsetRight()); in inset_insets_withRightCutout()
286 assertEquals(cutout.getSafeInsetRight(), 0); in inset_insets_withBottomCutout()
296 assertEquals(cutout.getSafeInsetRight(), 0); in inset_insets_withWaterfallCutout()
306 assertEquals(cutout.getSafeInsetRight(), 0); in inset_insets_consumeInset()
H A DInsetsStateTest.java467 assertEquals(2, cutout.getSafeInsetRight()); in testCalculateRelativeCutout()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DDisplayCutoutView.java98 return displayCutout.getSafeInsetRight() > 0 in hasCutout()
151 if (displayCutout.getSafeInsetRight() > 0) { in localBounds()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayFrames.java108 if (cutout.getSafeInsetRight() > 0) { in onDisplayInfoUpdated()
109 safe.right = unrestricted.right - cutout.getSafeInsetRight(); in onDisplayInfoUpdated()
H A DDisplayPolicy.java2461 width -= displayCutout.getSafeInsetLeft() + displayCutout.getSafeInsetRight();
2580 outInsets.right += displayCutout.getSafeInsetRight();
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
H A DPhysicsAnimationLayoutTestCase.java96 when(mCutout.getSafeInsetRight()).thenReturn(mCutoutInsetSize); in setUp()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationShadeWindowView.java110 mRightInset = displayCutout.getSafeInsetRight(); in onApplyWindowInsets()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayLayout.java391 outInsets.right += displayCutout.getSafeInsetRight(); in computeNonDecorInsets()
/aosp12/frameworks/base/core/java/android/view/
H A DInsetsState.java269 && insetRight >= raw.getSafeInsetRight() in calculateRelativeCutout()
H A DDisplayCutout.java570 public int getSafeInsetRight() { in getSafeInsetRight() method in DisplayCutout
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotView.java445 Math.max(cutout.getSafeInsetRight(), waterfall.right), in updateInsets()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt16600 HSPLandroid/view/DisplayCutout;->getSafeInsetRight()I
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt47080 method public int getSafeInsetRight();
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt16649 HSPLandroid/view/DisplayCutout;->getSafeInsetRight()I