Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDisplayCutoutView.java95 return displayCutout.getSafeInsetLeft() > 0 in hasCutout()
123 bounds.op(0, 0, displayCutout.getSafeInsetLeft(), Integer.MAX_VALUE, in boundsFromDirection()
133 bounds.op(displayCutout.getSafeInsetLeft() + 1, 0, Integer.MAX_VALUE, in boundsFromDirection()
145 if (displayCutout.getSafeInsetLeft() > 0) { in localBounds()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java136 assertEquals(5, mCutoutNumbers.getSafeInsetLeft()); in testGetSafeInsets()
173 assertEquals(99, cutout.getSafeInsetLeft()); in inset_insets_withLeftCutout()
183 assertEquals(0, cutout.getSafeInsetLeft()); in inset_insets_withTopCutout()
193 assertEquals(0, cutout.getSafeInsetLeft()); in inset_insets_withRightCutout()
203 assertEquals(cutout.getSafeInsetLeft(), 0); in inset_insets_withBottomCutout()
213 assertEquals(cutout.getSafeInsetLeft(), 0); in inset_insets_consumeInset()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java177 if (c.getSafeInsetLeft() > 0) { in onBeginLayout()
178 mDisplayCutoutSafe.left = mRestrictedOverscan.left + c.getSafeInsetLeft(); in onBeginLayout()
DDisplayPolicy.java2826 width -= displayCutout.getSafeInsetLeft() + displayCutout.getSafeInsetRight(); in getNonDecorDisplayWidth()
2982 outInsets.left += displayCutout.getSafeInsetLeft(); in getNonDecorInsetsLw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DHeadsUpStatusBarView.java241 ? (isRtl ? displayCutout.getSafeInsetRight() : displayCutout.getSafeInsetLeft()) in fitSystemWindows()
248 && displayCutout.getSafeInsetLeft() == 0) { in fitSystemWindows()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java92 if (frame.left >= mInner.getSafeInsetLeft() in calculateRelativeTo()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java173 ? info.displayCutout.getSafeInsetLeft() : 0; in testAppBounds_RootConfigurationBounds()
DWindowFrameTests.java447 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetLeft(), 0); in testDisplayCutout()
474 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetLeft(), 0); in testDisplayCutout_tempDisplayedBounds()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java95 when(mCutout.getSafeInsetLeft()).thenReturn(mCutoutInsetSize); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceController.java201 int cutoutLeft = (cutout != null) ? cutout.getSafeInsetLeft() : 0; in getRtlTranslation()
DStatusBarWindowView.java176 leftCutout = displayCutout.getSafeInsetLeft(); in fitSystemWindows()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DStackAnimationController.java426 ? insets.getDisplayCutout().getSafeInsetLeft()
/frameworks/base/core/java/android/view/
DDisplayCutout.java370 public int getSafeInsetLeft() { in getSafeInsetLeft() method in DisplayCutout
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java991 return displayCutout.getSafeInsetLeft() > 0 in hasCutout()
1037 if (displayCutout.getSafeInsetLeft() > 0) { in getGravity()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...