Home
last modified time | relevance | path

Searched refs:CENTER_HORIZONTAL (Results 1 – 25 of 62) 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/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipRecentsOverlayManager.java32 import static android.view.Gravity.CENTER_HORIZONTAL;
108 mPipRecentsControlsViewLayoutParams.gravity = TOP | CENTER_HORIZONTAL; in initViews()
114 mPipRecentsControlsViewFocusedLayoutParams.gravity = TOP | CENTER_HORIZONTAL; in initViews()
DPipControlsView.java110 setGravity(Gravity.TOP | Gravity.CENTER_HORIZONTAL); in PipControlsView()
/frameworks/support/v4/tests/java/android/support/v4/view/
DGravityCompatTest.java99 GravityCompat.apply(Gravity.CENTER_HORIZONTAL | Gravity.TOP, 100, 50, in testApplyNoOffsetsLtr()
135 GravityCompat.apply(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM, 100, 50, in testApplyNoOffsetsLtr()
200 GravityCompat.apply(Gravity.CENTER_HORIZONTAL | Gravity.TOP, 100, 50, in testApplyNoOffsetsRtl()
236 GravityCompat.apply(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM, 100, 50, in testApplyNoOffsetsRtl()
/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.java291 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/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/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()
DGradientsActivity.java86 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in onCreate()
/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/base/core/java/android/widget/
DLinearLayout.java158 @ViewDebug.FlagToString(mask = Gravity.CENTER_HORIZONTAL,
159 equals = Gravity.CENTER_HORIZONTAL, name = "CENTER_HORIZONTAL"),
1565 case Gravity.CENTER_HORIZONTAL: in layoutVertical()
1648 case Gravity.CENTER_HORIZONTAL: in layoutHorizontal()
1914 @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()
1214 @ViewDebug.IntToString(from = CENTER_HORIZONTAL, to = "centerHorizontal"),
1315 rules[CENTER_HORIZONTAL] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java95 lp.gravity = Gravity.CENTER_HORIZONTAL; in newLinearLayoutParams()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DScaleFrameLayout.java141 case Gravity.CENTER_HORIZONTAL: in onLayout()
/frameworks/support/design/src/android/support/design/widget/
DCollapsingTextHelper.java380 case Gravity.CENTER_HORIZONTAL: in calculateBaseOffsets()
412 case Gravity.CENTER_HORIZONTAL: in calculateBaseOffsets()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java78 setGravity(Gravity.CENTER_HORIZONTAL); in CustomBar()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DActionMenuItemView.java273 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in onLongClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java131 : (Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); in getRequestLayoutParams()

123