Home
last modified time | relevance | path

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

123

/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/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.java67 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testNoScroll()
89 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testShortScroll()
110 Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testLongScroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java293 case Gravity.CENTER_HORIZONTAL: in rotateGravityRight()
307 retGravity |= Gravity.CENTER_HORIZONTAL; in rotateGravityRight()
346 case Gravity.CENTER_HORIZONTAL: in rotateGravityLeft()
360 retGravity |= Gravity.CENTER_HORIZONTAL; in rotateGravityLeft()
501 targetGravity = Gravity.CENTER_HORIZONTAL|Gravity.TOP; in updatePaddingAndGravityIfTooTall()
508 targetGravity = Gravity.CENTER_HORIZONTAL|Gravity.BOTTOM; in updatePaddingAndGravityIfTooTall()
/frameworks/base/core/java/android/view/
DGravity.java63 public static final int CENTER_HORIZONTAL = AXIS_SPECIFIED<<AXIS_X_SHIFT; field in Gravity
70 public static final int CENTER = CENTER_VERTICAL|CENTER_HORIZONTAL;
483 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/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/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()
DTextureViewActivity.java96 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java163 } else if (mChronometerGravity == Gravity.CENTER_HORIZONTAL) { in onChronometerTick()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java130 progressBar.setForegroundGravity(Gravity.CENTER_HORIZONTAL); in getProgressBar()
/frameworks/base/core/java/com/android/internal/view/
DTooltipPopup.java124 outParams.gravity = Gravity.CENTER_HORIZONTAL | Gravity.TOP; in computePosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingAnimation.java107 mGravity = Gravity.CENTER_HORIZONTAL | Gravity.CENTER; in WirelessChargingView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileView.java66 setGravity(Gravity.CENTER_HORIZONTAL | Gravity.TOP); in QSTileView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipDismissViewController.java111 lp.gravity = Gravity.TOP | Gravity.CENTER_HORIZONTAL; in createDismissTarget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java95 lp.gravity = Gravity.CENTER_HORIZONTAL; in newLinearLayoutParams()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java160 public static final int CENTER_HORIZONTAL = 14; field in RelativeLayout
574 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_HORIZONTAL] != 0) { in onMeasure()
851 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_HORIZONTAL] != 0) { in positionChildHorizontal()
1250 @ViewDebug.IntToString(from = CENTER_HORIZONTAL, to = "centerHorizontal"),
1358 rules[CENTER_HORIZONTAL] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1859 propertyReader.readBoolean(mCenterHorizontalId, rules[CENTER_HORIZONTAL] == TRUE); in readProperties()
DLinearLayout.java182 @ViewDebug.FlagToString(mask = Gravity.CENTER_HORIZONTAL,
183 equals = Gravity.CENTER_HORIZONTAL, name = "CENTER_HORIZONTAL"),
1653 case Gravity.CENTER_HORIZONTAL: in layoutVertical()
1736 case Gravity.CENTER_HORIZONTAL: in layoutHorizontal()
2009 @ViewDebug.IntToString(from = Gravity.CENTER_HORIZONTAL, to = "CENTER_HORIZONTAL"),
/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java444 mSnapGravities.add(Gravity.TOP | Gravity.CENTER_HORIZONTAL); in calculateSnapTargets()
445 mSnapGravities.add(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in calculateSnapTargets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt295 gravity = Gravity.BOTTOM or Gravity.CENTER_HORIZONTAL in <lambda>()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DAnimatedTemperatureView.java68 && (gravity & Gravity.HORIZONTAL_GRAVITY_MASK) != Gravity.CENTER_HORIZONTAL; in isHorizontal()

123