Home
last modified time | relevance | path

Searched refs:horizontalGravity (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPhonePipKeepClearAlgorithm.java90 int horizontalGravity; in adjust() local
92 horizontalGravity = Gravity.RIGHT; in adjust()
94 horizontalGravity = Gravity.LEFT; in adjust()
100 if (horizontalGravity == Gravity.RIGHT) { in adjust()
/frameworks/base/services/core/java/com/android/server/wm/
DDesktopModeLaunchParamsModifier.java138 final int horizontalGravity = layout.gravity & Gravity.HORIZONTAL_GRAVITY_MASK; in calculate() local
142 applyLayoutGravity(verticalGravity, horizontalGravity, outParams.mBounds, in calculate()
145 } else if (verticalGravity > 0 || horizontalGravity > 0) { in calculate()
147 applyLayoutGravity(verticalGravity, horizontalGravity, outParams.mBounds, in calculate()
DLaunchParamsUtil.java241 static void applyLayoutGravity(int verticalGravity, int horizontalGravity, in applyLayoutGravity() argument
247 switch (horizontalGravity) { in applyLayoutGravity()
DTaskLaunchParamsModifier.java633 final int horizontalGravity = windowLayout.gravity & Gravity.HORIZONTAL_GRAVITY_MASK; in getLayoutBounds() local
634 if (!windowLayout.hasSpecifiedSize() && verticalGravity == 0 && horizontalGravity == 0) { in getLayoutBounds()
651 LaunchParamsUtil.applyLayoutGravity(verticalGravity, horizontalGravity, inOutBounds, in getLayoutBounds()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/anc/ui/composable/
DAncPopup.kt51 fun show(expandable: Expandable?, horizontalGravity: Int) { in show()
53 val gravity = horizontalGravity or Gravity.BOTTOM in show()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/spatialaudio/ui/composable/
DSpatialAudioPopup.kt52 fun show(expandable: Expandable, horizontalGravity: Int) { in show()
59 val gravity = horizontalGravity or Gravity.BOTTOM in show()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java214 final int horizontalGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in onLayout() local
215 switch (Gravity.getAbsoluteGravity(horizontalGravity, layoutDirection)) { in onLayout()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java356 public void setHorizontalGravity(int horizontalGravity) { in setHorizontalGravity() argument
357 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity()
442 final boolean horizontalGravity = gravity != Gravity.START && gravity != 0; in onMeasure()
454 if ((horizontalGravity || verticalGravity) && mIgnoreGravity != View.NO_ID) { in onMeasure()
533 if (child != ignore || horizontalGravity) { in onMeasure()
617 if (horizontalGravity || verticalGravity) { in onMeasure()
633 if (horizontalGravity) { in onMeasure()
DLinearLayout.java1960 public void setHorizontalGravity(int horizontalGravity) { in setHorizontalGravity() argument
1961 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/button/ui/composable/
DButtonComponent.kt59 private val onClick: (expandable: Expandable, horizontalGravity: Int) -> Unit
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithm.kt613 val horizontalGravity = pipGravity and Gravity.HORIZONTAL_GRAVITY_MASK in <lambda>() constant
614 val leftOrRight = horizontalGravity == Gravity.LEFT || horizontalGravity == Gravity.RIGHT in <lambda>()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1435 ? (seascape ? state.attributes.seascapeGravity : state.attributes.horizontalGravity) in updateColorViewInt()
2329 final int horizontalGravity; field in ColorViewAttributes
2334 private ColorViewAttributes(int translucentFlag, int verticalGravity, int horizontalGravity, in ColorViewAttributes() argument
2339 this.horizontalGravity = horizontalGravity; in ColorViewAttributes()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...