/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/ |
D | TvPipGravityTest.java | 138 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/ |
D | GlifLayoutTest.java | 105 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/ |
D | ButtonPreferenceTest.java | 123 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/ |
D | ListTouchBottomGravityManyTest.java | 105 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/ |
D | GridTouchVerticalSpacingStackFromBottomTest.java | 68 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/ |
D | Gravity.java | 69 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/ |
D | GlobalActionsColumnLayout.java | 109 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/ |
D | ButtonPreference.java | 190 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/ |
D | SurfaceInputTestActivity.java | 93 500, 500, Gravity.CENTER_HORIZONTAL | Gravity.TOP)); in onCreate() 97 500, 500, Gravity.CENTER_HORIZONTAL | Gravity.TOP)); in onCreate()
|
D | SurfaceControlViewHostTest.java | 43 500, 500, Gravity.CENTER_HORIZONTAL | Gravity.TOP)); in onCreate()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuItemView.java | 201 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/ |
D | LayoutInsetsTest.java | 17 …static int[] GRAVITIES = {Gravity.LEFT, Gravity.LEFT, Gravity.CENTER_HORIZONTAL, Gravity.RIGHT, Gr…
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | GetBitmapActivity.java | 76 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in onCreate()
|
D | MovingSurfaceViewActivity.java | 92 size, size, Gravity.CENTER_HORIZONTAL | Gravity.TOP)); in onCreate()
|
D | DisplayListLayersActivity.java | 73 params.gravity = Gravity.CENTER_HORIZONTAL; in addChild()
|
D | GetBitmapSurfaceViewActivity.java | 77 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in onCreate()
|
D | StretchySurfaceViewActivity.java | 114 size, size, Gravity.CENTER_HORIZONTAL | Gravity.TOP)); in onCreate()
|
D | TextureViewActivity.java | 96 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/ |
D | KeyguardIndicationArea.kt | 48 gravity = Gravity.CENTER_HORIZONTAL in <lambda>()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | TextProgressBar.java | 163 } else if (mChronometerGravity == Gravity.CENTER_HORIZONTAL) { in onChronometerTick()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/ |
D | A11yMenuOverlayLayout.java | 215 | 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/ |
D | VolumePanelPopup.kt | 144 else -> Gravity.CENTER_HORIZONTAL in calculateGravity()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/anc/ui/composable/ |
D | AncButtonComponent.kt | 70 var gravity by remember { mutableIntStateOf(Gravity.CENTER_HORIZONTAL) } in Content()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuMessageView.java | 99 containerParams.gravity = Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL; in onAttachedToWindow()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | TooltipPopup.java | 124 outParams.gravity = Gravity.CENTER_HORIZONTAL | Gravity.TOP; in computePosition()
|