Home
last modified time | relevance | path

Searched refs:absoluteGravity (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/widget/
DCircleView.kt235 val absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection) in applyGravity() constant
241 when (absoluteGravity and Gravity.HORIZONTAL_GRAVITY_MASK) { in applyGravity()
247 when (absoluteGravity and Gravity.VERTICAL_GRAVITY_MASK) { in applyGravity()
253 when (absoluteGravity and Gravity.FILL) { in applyGravity()
DCircleView.java292 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in applyGravity() local
298 switch (absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK) { in applyGravity()
311 switch (absoluteGravity & Gravity.VERTICAL_GRAVITY_MASK) { in applyGravity()
324 switch (absoluteGravity & Gravity.FILL) { in applyGravity()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java648 int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in onLayout() local
651 absoluteGravity = rotation.toNaturalGravity(absoluteGravity); in onLayout()
653 switch (absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK) { in onLayout()
666 switch (absoluteGravity & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout()
679 switch (absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK) { in onLayout()
692 switch (absoluteGravity & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java115 public int toNaturalGravity(int absoluteGravity) {
116 int horizontalGravity = absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK;
117 int verticalGravity = absoluteGravity & Gravity.VERTICAL_GRAVITY_MASK;
131 return ((absoluteGravity & ~Gravity.HORIZONTAL_GRAVITY_MASK)
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DRotationMode.java45 public int toNaturalGravity(int absoluteGravity) { in toNaturalGravity() argument
46 return absoluteGravity; in toNaturalGravity()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java1161 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in layoutVertical() local
1162 switch (absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK) { in layoutVertical()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java1161 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in layoutVertical() local
1162 switch (absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK) { in layoutVertical()