Home
last modified time | relevance | path

Searched refs:cornerCutoutMargins (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java299 Pair<Integer, Integer> cornerCutoutMargins = cornerCutoutMargins(mDisplayCutout, in updateLayoutForCutout() local
301 updateCutoutLocation(cornerCutoutMargins); in updateLayoutForCutout()
302 updateSafeInsets(cornerCutoutMargins); in updateLayoutForCutout()
305 private void updateCutoutLocation(Pair<Integer, Integer> cornerCutoutMargins) { in updateCutoutLocation() argument
312 || mLastOrientation != ORIENTATION_PORTRAIT || cornerCutoutMargins != null) { in updateCutoutLocation()
329 private void updateSafeInsets(Pair<Integer, Integer> cornerCutoutMargins) { in updateSafeInsets() argument
343 if (cornerCutoutMargins != null) { in updateSafeInsets()
344 lp.leftMargin = Math.max(lp.leftMargin, cornerCutoutMargins.first); in updateSafeInsets()
345 lp.rightMargin = Math.max(lp.rightMargin, cornerCutoutMargins.second); in updateSafeInsets()
361 public static Pair<Integer, Integer> cornerCutoutMargins(DisplayCutout cutout, in cornerCutoutMargins() method in PhoneStatusBarView
DKeyguardStatusBarView.java219 Pair<Integer, Integer> cornerCutoutMargins = in updateLayoutConsideringCutout() local
220 PhoneStatusBarView.cornerCutoutMargins(dc, getDisplay()); in updateLayoutConsideringCutout()
221 updateCornerCutoutPadding(cornerCutoutMargins); in updateLayoutConsideringCutout()
222 if (dc == null || cornerCutoutMargins != null) { in updateLayoutConsideringCutout()
229 private void updateCornerCutoutPadding(Pair<Integer, Integer> cornerCutoutMargins) { in updateCornerCutoutPadding() argument
230 if (cornerCutoutMargins != null) { in updateCornerCutoutPadding()
231 setPadding(cornerCutoutMargins.first, 0, cornerCutoutMargins.second, 0); in updateCornerCutoutPadding()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java375 Pair<Integer, Integer> padding = PhoneStatusBarView.cornerCutoutMargins( in onApplyWindowInsets()