Home
last modified time | relevance | path

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

123

/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/core/java/com/android/internal/view/menu/
DIconMenuItemView.java189 setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in setIcon()
201 setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); in setIcon()
DActionMenuItemView.java280 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in onLongClick()
/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()
DDisplayListLayersActivity.java73 params.gravity = Gravity.CENTER_HORIZONTAL; in addChild()
DTextureViewActivity.java96 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in onCreate()
DGradientsActivity.java86 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in onCreate()
/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;
/frameworks/base/services/core/java/com/android/server/am/
DCompatModeDialog.java46 getWindow().setGravity(Gravity.BOTTOM|Gravity.CENTER_HORIZONTAL); in CompatModeDialog()
/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java163 } else if (mChronometerGravity == Gravity.CENTER_HORIZONTAL) { in onChronometerTick()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DScaleFrameLayout.java110 case Gravity.CENTER_HORIZONTAL: in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java95 lp.gravity = Gravity.CENTER_HORIZONTAL; in newLinearLayoutParams()
/frameworks/base/core/java/android/widget/
DLinearLayout.java150 @ViewDebug.FlagToString(mask = Gravity.CENTER_HORIZONTAL,
151 equals = Gravity.CENTER_HORIZONTAL, name = "CENTER_HORIZONTAL"),
1566 case Gravity.CENTER_HORIZONTAL: in layoutVertical()
1649 case Gravity.CENTER_HORIZONTAL: in layoutHorizontal()
1900 @ViewDebug.IntToString(from = Gravity.CENTER_HORIZONTAL, to = "CENTER_HORIZONTAL"),
DRelativeLayout.java155 public static final int CENTER_HORIZONTAL = 14; field in RelativeLayout
555 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_HORIZONTAL] != 0) { in onMeasure()
832 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_HORIZONTAL] != 0) { in positionChildHorizontal()
1208 @ViewDebug.IntToString(from = CENTER_HORIZONTAL, to = "centerHorizontal"),
1303 rules[CENTER_HORIZONTAL] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
DTableRow.java237 case Gravity.CENTER_HORIZONTAL: in measureChildBeforeLayout()
/frameworks/support/design/src/android/support/design/widget/
DCollapsingTextHelper.java305 case Gravity.CENTER_HORIZONTAL: in calculateBaseOffsets()
337 case Gravity.CENTER_HORIZONTAL: in calculateBaseOffsets()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java469 return Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM; in getPreferredOptionsPanelGravity()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java257 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in onLongClick()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java78 setGravity(Gravity.CENTER_HORIZONTAL); in CustomBar()
/frameworks/base/core/java/android/app/
DActionBar.java1331 @ViewDebug.IntToString(from = Gravity.CENTER_HORIZONTAL, to = "CENTER_HORIZONTAL"),
DFragmentBreadCrumbs.java218 case Gravity.CENTER_HORIZONTAL: in onLayout()
DMediaRouteButton.java232 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in performLongClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java120 : (Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in getRequestLayoutParams()

123