Home
last modified time | relevance | path

Searched refs:getSafeInsetTop (Results 1 – 17 of 17) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DDisplayCutoutTest.java162 assertEquals(6, mCutoutNumbers.getSafeInsetTop()); in testGetSafeInsets()
259 assertEquals(0, cutout.getSafeInsetTop()); in inset_insets_withLeftCutout()
269 assertEquals(98, cutout.getSafeInsetTop()); in inset_insets_withTopCutout()
279 assertEquals(0, cutout.getSafeInsetTop()); in inset_insets_withRightCutout()
289 assertEquals(cutout.getSafeInsetTop(), 0); in inset_insets_withBottomCutout()
299 assertEquals(cutout.getSafeInsetTop(), 8); in inset_insets_withWaterfallCutout()
309 assertEquals(cutout.getSafeInsetTop(), 0); in inset_insets_consumeInset()
H A DInsetsStateTest.java608 assertEquals(1, cutout.getSafeInsetTop()); in testCalculateRelativeCutout()
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DSystemBarUtils.java47 final int safeInsetTop = cutout == null ? 0 : cutout.getSafeInsetTop(); in getStatusBarHeight()
/aosp14/frameworks/base/core/java/android/view/
H A DInsetsState.java213 && insetTop >= raw.getSafeInsetTop() in calculateRelativeCutout()
512 if (cutout.getSafeInsetTop() > 0) { in getDisplayCutoutSafe()
513 outBounds.top = displayFrame.top + cutout.getSafeInsetTop(); in getDisplayCutoutSafe()
H A DWindowLayout.java130 if (systemBarsInsets.top >= cutout.getSafeInsetTop()) { in computeFrames()
H A DDisplayCutout.java607 public int getSafeInsetTop() { in getSafeInsetTop() method in DisplayCutout
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
H A DPhysicsAnimationLayoutTestCase.java93 when(mCutout.getSafeInsetTop()).thenReturn(mCutoutInsetSize); in setUp()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowConfigurationTests.java199 ? info.displayCutout.getSafeInsetTop() : 0; in testAppBounds_RootConfigurationBounds()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayLayout.java395 outInsets.top += displayCutout.getSafeInsetTop(); in computeNonDecorInsets()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
H A DClipboardOverlayView.java515 Math.max(cutout.getSafeInsetTop(), waterfall.top), in computeMargins()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java246 Math.max(headerPaddingTop, insets.getDisplayCutout().getSafeInsetTop()); in onApplyWindowInsets()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotView.java474 Math.max(cutout.getSafeInsetTop(), waterfall.top), in updateInsets()
/aosp14/frameworks/base/config/
H A Dboot-profile.txt1008 Landroid/view/DisplayCutout;->getSafeInsetTop()I
H A Dboot-image-profile.txt16383 HSPLandroid/view/DisplayCutout;->getSafeInsetTop()I
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt16319 HSPLandroid/view/DisplayCutout;->getSafeInsetTop()I
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt50327 method public int getSafeInsetTop();