Home
last modified time | relevance | path

Searched refs:getWaterfallInsets (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java75 int leftInset = Math.max(cutout.getWaterfallInsets().left, in computeSafeInsets()
77 int topInset = Math.max(cutout.getWaterfallInsets().top, in computeSafeInsets()
79 int rightInset = Math.max(cutout.getWaterfallInsets().right, in computeSafeInsets()
81 int bottomInset = Math.max(cutout.getWaterfallInsets().bottom, in computeSafeInsets()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java358 final Insets waterfallInsets = rotateInsets(cutout.getWaterfallInsets(), rotation); in calculateDisplayCutoutForRotation()
405 int leftInset = Math.max(cutout.getWaterfallInsets().left, in computeSafeInsets()
407 int topInset = Math.max(cutout.getWaterfallInsets().top, in computeSafeInsets()
409 int rightInset = Math.max(cutout.getWaterfallInsets().right, in computeSafeInsets()
411 int bottomInset = Math.max(cutout.getWaterfallInsets().bottom, in computeSafeInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java70 mTopInset = displayCutout.getWaterfallInsets().top; in onApplyWindowInsets()
DKeyguardStatusBarView.java186 mDisplayCutout == null ? 0 : mDisplayCutout.getWaterfallInsets().top; in updateKeyguardStatusBarHeight()
286 mDisplayCutout == null ? 0 : mDisplayCutout.getWaterfallInsets().top; in updatePadding()
DPhoneStatusBarView.java315 mDisplayCutout == null ? 0 : mDisplayCutout.getWaterfallInsets().top; in updateStatusBarHeight()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java136 assertThat(NO_CUTOUT.getWaterfallInsets(), equalTo(Insets.NONE)); in testHasCutout_noCutout()
169 assertEquals(Insets.of(5, 6, 7, 8), cutout.getWaterfallInsets()); in testGetWaterfallInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java425 mWaterfallTopInset = cutout == null ? 0 : cutout.getWaterfallInsets().top; in onApplyWindowInsets()
/frameworks/base/core/java/android/view/
DDisplayCutout.java477 public @NonNull Insets getWaterfallInsets() { in getWaterfallInsets() method in DisplayCutout
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java425 Insets waterfall = cutout.getWaterfallInsets(); in updateDisplayCutoutMargins()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1651 mWaterfallTopInset = cutout.getWaterfallInsets().top;
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2026 RotationUtils.rotateInsets(cutout.getWaterfallInsets(), rotation); in calculateDisplayCutoutForRotationUncached()
/frameworks/base/core/api/
Dcurrent.txt46997 method @NonNull public android.graphics.Insets getWaterfallInsets();