Home
last modified time | relevance | path

Searched refs:absGravity (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/core/java/android/view/
H A DGravity.java192 int absGravity = getAbsoluteGravity(gravity, layoutDirection); in apply() local
193 apply(absGravity, w, h, container, 0, 0, outRect); in apply()
329 int absGravity = getAbsoluteGravity(gravity, layoutDirection); in apply() local
330 apply(absGravity, w, h, container, xAdj, yAdj, outRect); in apply()
408 int absGravity = getAbsoluteGravity(gravity, layoutDirection); in applyDisplay() local
409 applyDisplay(absGravity, display, inoutObj); in applyDisplay()
/aosp12/frameworks/base/core/java/android/widget/
H A DToastPresenter.java143 int absGravity = Gravity.getAbsoluteGravity(gravity, config.getLayoutDirection()); in adjustLayoutParams() local
144 params.gravity = absGravity; in adjustLayoutParams()
145 if ((absGravity & Gravity.HORIZONTAL_GRAVITY_MASK) == Gravity.FILL_HORIZONTAL) { in adjustLayoutParams()
148 if ((absGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.FILL_VERTICAL) { in adjustLayoutParams()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
H A DCarKeyguardViewController.java474 int absGravity = Gravity.getAbsoluteGravity(systemUIToast.getGravity(), in makeOverlayToast() local
476 params.gravity = absGravity; in makeOverlayToast()
478 if ((absGravity & Gravity.HORIZONTAL_GRAVITY_MASK) == Gravity.FILL_HORIZONTAL) { in makeOverlayToast()
481 if ((absGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.FILL_VERTICAL) { in makeOverlayToast()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
H A DInternetDialogController.java1129 int absGravity = Gravity.getAbsoluteGravity(systemUIToast.getGravity(),
1131 params.gravity = absGravity;
1132 if ((absGravity & Gravity.HORIZONTAL_GRAVITY_MASK) == Gravity.FILL_HORIZONTAL) {
1135 if ((absGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.FILL_VERTICAL) {