Home
last modified time | relevance | path

Searched refs:CENTER_HORIZONTAL (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipGravityTest.java138 Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in updateGravity_expand_horizontal()
140 Gravity.TOP | Gravity.CENTER_HORIZONTAL); in updateGravity_expand_horizontal()
142 Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in updateGravity_expand_horizontal()
144 Gravity.TOP | Gravity.CENTER_HORIZONTAL); in updateGravity_expand_horizontal()
158 assertGravityAfterCollapse(Gravity.TOP | Gravity.CENTER_HORIZONTAL, in updateGravity_collapse()
160 assertGravityAfterCollapse(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, in updateGravity_collapse()
170 assertGravityAfterCollapse(Gravity.TOP | Gravity.CENTER_HORIZONTAL, in updateGravity_collapse_RTL()
172 assertGravityAfterCollapse(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, in updateGravity_collapse_RTL()
254 mTvPipBoundsState.setTvPipGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in updateGravity_move_expanded_valid()
255 moveAndCheckGravity(KEYCODE_DPAD_UP, Gravity.TOP | Gravity.CENTER_HORIZONTAL, true); in updateGravity_move_expanded_valid()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java105 Gravity.CENTER_HORIZONTAL, in testGlifV2Theme()
106 titleView.getGravity() & Gravity.CENTER_HORIZONTAL); in testGlifV2Theme()
114 Gravity.CENTER_HORIZONTAL, in testGlifV2Theme()
115 parent.getGravity() & Gravity.CENTER_HORIZONTAL); in testGlifV2Theme()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DButtonPreferenceTest.java123 mPreference.setGravity(Gravity.CENTER_HORIZONTAL); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal()
129 assertThat(lp.gravity).isEqualTo(Gravity.CENTER_HORIZONTAL); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal()
133 assertThat(lp.gravity).isEqualTo(Gravity.CENTER_HORIZONTAL); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal()
137 assertThat(lp.gravity).isEqualTo(Gravity.CENTER_HORIZONTAL); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListTouchBottomGravityManyTest.java105 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, in testNoScroll()
127 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, in testShortScroll()
148 Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testLongScroll()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchVerticalSpacingStackFromBottomTest.java68 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testNoScroll()
90 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testShortScroll()
113 Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, (int) (windowHeight * 0.75f)); in testLongScroll()
/frameworks/base/core/java/android/view/
DGravity.java69 public static final int CENTER_HORIZONTAL = AXIS_SPECIFIED<<AXIS_X_SHIFT; field in Gravity
76 public static final int CENTER = CENTER_VERTICAL|CENTER_HORIZONTAL;
147 Gravity.CENTER_HORIZONTAL,
516 if ((gravity & CENTER_HORIZONTAL) == CENTER_HORIZONTAL) { in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java109 setGravity(Gravity.CENTER_HORIZONTAL | Gravity.TOP); in centerAlongEdge()
113 setGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM); in centerAlongEdge()
/frameworks/base/packages/SettingsLib/ButtonPreference/src/com/android/settingslib/widget/
DButtonPreference.java190 if (gravity == Gravity.CENTER_HORIZONTAL || gravity == Gravity.CENTER_VERTICAL in setGravity()
192 mGravity = Gravity.CENTER_HORIZONTAL; in setGravity()
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DSurfaceInputTestActivity.java93 500, 500, Gravity.CENTER_HORIZONTAL | Gravity.TOP)); in onCreate()
97 500, 500, Gravity.CENTER_HORIZONTAL | Gravity.TOP)); in onCreate()
DSurfaceControlViewHostTest.java43 500, 500, Gravity.CENTER_HORIZONTAL | Gravity.TOP)); in onCreate()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java201 setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in setIcon()
213 setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); in setIcon()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DLayoutInsetsTest.java17 …static int[] GRAVITIES = {Gravity.LEFT, Gravity.LEFT, Gravity.CENTER_HORIZONTAL, Gravity.RIGHT, Gr…
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DGetBitmapActivity.java76 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in onCreate()
DMovingSurfaceViewActivity.java92 size, size, Gravity.CENTER_HORIZONTAL | Gravity.TOP)); in onCreate()
DDisplayListLayersActivity.java73 params.gravity = Gravity.CENTER_HORIZONTAL; in addChild()
DGetBitmapSurfaceViewActivity.java77 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in onCreate()
DStretchySurfaceViewActivity.java114 size, size, Gravity.CENTER_HORIZONTAL | Gravity.TOP)); in onCreate()
DTextureViewActivity.java96 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/
DKeyguardIndicationArea.kt48 gravity = Gravity.CENTER_HORIZONTAL in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java163 } else if (mChronometerGravity == Gravity.CENTER_HORIZONTAL) { in onChronometerTick()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
DA11yMenuOverlayLayout.java215 | Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL; in updateLayoutPosition()
226 | Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL; in updateLayoutPosition()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/popup/ui/composable/
DVolumePanelPopup.kt144 else -> Gravity.CENTER_HORIZONTAL in calculateGravity()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/anc/ui/composable/
DAncButtonComponent.kt70 var gravity by remember { mutableIntStateOf(Gravity.CENTER_HORIZONTAL) } in Content()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuMessageView.java99 containerParams.gravity = Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL; in onAttachedToWindow()
/frameworks/base/core/java/com/android/internal/view/
DTooltipPopup.java124 outParams.gravity = Gravity.CENTER_HORIZONTAL | Gravity.TOP; in computePosition()

1234