Home
last modified time | relevance | path

Searched refs:CENTER_VERTICAL (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/java/android/view/
DGravity.java56 public static final int CENTER_VERTICAL = AXIS_SPECIFIED<<AXIS_Y_SHIFT; field in Gravity
70 public static final int CENTER = CENTER_VERTICAL|CENTER_HORIZONTAL;
480 if ((gravity & CENTER_VERTICAL) == CENTER_VERTICAL) { in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java294 retGravity |= Gravity.CENTER_VERTICAL; in rotateGravityRight()
306 case Gravity.CENTER_VERTICAL: in rotateGravityRight()
347 retGravity |= Gravity.CENTER_VERTICAL; in rotateGravityLeft()
359 case Gravity.CENTER_VERTICAL: in rotateGravityLeft()
515 targetGravity = Gravity.CENTER_VERTICAL|Gravity.RIGHT; in updatePaddingAndGravityIfTooTall()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java250 t1.setGravity(Gravity.START | Gravity.CENTER_VERTICAL); in doubleText()
259 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java213 setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); in setIcon()
304 Gravity.apply(Gravity.CENTER_VERTICAL | Gravity.START, mIcon.getIntrinsicWidth(), mIcon in positionIcon()
/frameworks/base/core/java/android/app/
DActionBar.java1371 @ViewDebug.IntToString(from = Gravity.CENTER_VERTICAL, to = "CENTER_VERTICAL"),
1396 this.gravity = Gravity.CENTER_VERTICAL | Gravity.START; in LayoutParams()
DFragmentBreadCrumbs.java64 private static final int DEFAULT_GRAVITY = Gravity.START | Gravity.CENTER_VERTICAL;
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java384 setGravity(Gravity.START | Gravity.CENTER_VERTICAL); in TabView()
450 lp.gravity = Gravity.CENTER_VERTICAL; in update()
470 lp.gravity = Gravity.CENTER_VERTICAL; in update()
DAlertDialogLayout.java298 case Gravity.CENTER_VERTICAL: in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java117 setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT); in centerAlongEdge()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java150 rotation == ROTATION_SEASCAPE ? (Gravity.CENTER_VERTICAL | Gravity.LEFT) : in getRequestLayoutParams()
151 rotation == ROTATION_LANDSCAPE ? (Gravity.CENTER_VERTICAL | Gravity.RIGHT) in getRequestLayoutParams()
/frameworks/base/core/java/android/widget/
DLinearLayout.java178 @ViewDebug.FlagToString(mask = Gravity.CENTER_VERTICAL,
179 equals = Gravity.CENTER_VERTICAL, name = "CENTER_VERTICAL"),
625 case Gravity.CENTER_VERTICAL: in getBaseline()
1625 case Gravity.CENTER_VERTICAL: in layoutVertical()
1785 case Gravity.CENTER_VERTICAL: in layoutHorizontal()
2007 @ViewDebug.IntToString(from = Gravity.CENTER_VERTICAL, to = "CENTER_VERTICAL"),
DRelativeLayout.java165 public static final int CENTER_VERTICAL = 15; field in RelativeLayout
604 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) { in onMeasure()
890 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) { in positionChildVertical()
1252 @ViewDebug.IntToString(from = CENTER_VERTICAL, to = "centerVertical"),
1361 rules[CENTER_VERTICAL] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1861 propertyReader.readBoolean(mCenterVerticalId, rules[CENTER_VERTICAL] == TRUE); in readProperties()
DToolbar.java178 private int mGravity = Gravity.START | Gravity.CENTER_VERTICAL;
1921 case Gravity.CENTER_VERTICAL: in onLayout()
2096 case Gravity.CENTER_VERTICAL: in getChildTop()
2120 case Gravity.CENTER_VERTICAL: in getChildVerticalGravity()
2332 this.gravity = Gravity.CENTER_VERTICAL | Gravity.START; in LayoutParams()
DActionMenuView.java582 params.gravity = Gravity.CENTER_VERTICAL; in generateDefaultLayoutParams()
598 result.gravity = Gravity.CENTER_VERTICAL; in generateLayoutParams()
DCheckedTextView.java437 case Gravity.CENTER_VERTICAL: in onDraw()
DFrameLayout.java321 case Gravity.CENTER_VERTICAL: in layoutChildren()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java111 tv.setGravity(Gravity.CENTER_VERTICAL); in initTextView()
/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java447 mSnapGravities.add(Gravity.CENTER_VERTICAL | Gravity.LEFT); in calculateSnapTargets()
448 mSnapGravities.add(Gravity.CENTER_VERTICAL | Gravity.RIGHT); in calculateSnapTargets()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayoutTest.java124 assertEquals(Gravity.CENTER_VERTICAL | Gravity.RIGHT, mColumnLayout.getGravity()); in testCenterAlongEdge_portrait()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DAnimatedTemperatureView.java80 && (gravity & Gravity.VERTICAL_GRAVITY_MASK) != Gravity.CENTER_VERTICAL; in isVertical()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java70 setGravity(Gravity.CENTER_VERTICAL); in CustomBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarWifiView.java173 lp.gravity = Gravity.CENTER_VERTICAL | Gravity.START; in initDotView()
DStatusBarMobileView.java125 lp.gravity = Gravity.CENTER_VERTICAL | Gravity.START; in initDotView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java69 setGravity(Gravity.CENTER_VERTICAL); // no LL.getGravity() in DemoStatusIcons()
DStatusBarIconController.java333 ((LinearLayout.LayoutParams) params).gravity = Gravity.CENTER_VERTICAL; in setHeightAndCenter()

12