Searched defs:cornerCutoutMargins (Results 1 - 2 of 2) sorted by relevance

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

Completed in 66 milliseconds