Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DGravityTest.java38 assertOneGravity(Gravity.CENTER_VERTICAL, Gravity.CENTER_VERTICAL, false); in testGetAbsoluteGravity()
39 assertOneGravity(Gravity.CENTER_VERTICAL, Gravity.CENTER_VERTICAL, true); in testGetAbsoluteGravity()
/frameworks/base/core/java/android/app/
DActionBar.java911 @ViewDebug.IntToString(from = Gravity.CENTER_VERTICAL, to = "CENTER_VERTICAL"),
932 this.gravity = Gravity.CENTER_VERTICAL | Gravity.LEFT; in LayoutParams()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java198 setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); in setIcon()
285 Gravity.apply(Gravity.CENTER_VERTICAL | Gravity.LEFT, mIcon.getIntrinsicWidth(), mIcon in positionIcon()
DActionMenuView.java457 params.gravity = Gravity.CENTER_VERTICAL; in generateDefaultLayoutParams()
471 result.gravity = Gravity.CENTER_VERTICAL; in generateLayoutParams()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java250 t1.setGravity(Gravity.LEFT | Gravity.CENTER_VERTICAL); in doubleText()
259 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText()
/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;
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java369 setGravity(Gravity.LEFT | Gravity.CENTER_VERTICAL); in TabView()
416 lp.gravity = Gravity.CENTER_VERTICAL; in update()
435 lp.gravity = Gravity.CENTER_VERTICAL; in update()
DActionBarView.java85 private static final int DEFAULT_CUSTOM_GRAVITY = Gravity.LEFT | Gravity.CENTER_VERTICAL;
1078 vgravity = Gravity.CENTER_VERTICAL; in onLayout()
1083 case Gravity.CENTER_VERTICAL: in onLayout()
/frameworks/base/core/java/android/widget/
DCheckedTextView.java182 case Gravity.CENTER_VERTICAL: in onDraw()
DLinearLayout.java123 @ViewDebug.FlagToString(mask = Gravity.CENTER_VERTICAL,
124 equals = Gravity.CENTER_VERTICAL, name = "CENTER_VERTICAL"),
460 case Gravity.CENTER_VERTICAL: in getBaseline()
1438 case Gravity.CENTER_VERTICAL: in layoutVertical()
1584 case Gravity.CENTER_VERTICAL: in layoutHorizontal()
1763 @ViewDebug.IntToString(from = Gravity.CENTER_VERTICAL, to = "CENTER_VERTICAL"),
DRelativeLayout.java150 public static final int CENTER_VERTICAL = 15; field in RelativeLayout
485 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) { in onMeasure()
718 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) { in positionChildVertical()
1045 @ViewDebug.IntToString(from = CENTER_VERTICAL, to = "centerVertical"),
1124 rules[CENTER_VERTICAL] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
DCompoundButton.java239 case Gravity.CENTER_VERTICAL: in onDraw()
DFrameLayout.java420 case Gravity.CENTER_VERTICAL: in onLayout()
DSwitch.java539 case Gravity.CENTER_VERTICAL: in onLayout()
DGallery.java921 case Gravity.CENTER_VERTICAL: in calculateTop()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java67 setGravity(Gravity.CENTER_VERTICAL); in CustomBar()
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselView.java79 public static final int CENTER_VERTICAL = 1; field in CarouselView.DetailAlignment
Dcarousel.rs98 CENTER_VERTICAL = 1,
857 if (detailTextureAlignment & CENTER_VERTICAL) {
880 } else if (detailTextureAlignment & CENTER_VERTICAL) {
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java507 case Gravity.CENTER_VERTICAL: in getStartLocation()
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dtoasts.jd138 toast.setGravity(Gravity.CENTER_VERTICAL, 0, 0);
/frameworks/base/core/java/android/webkit/
DWebTextView.java1126 gravity |= mSingle ? Gravity.CENTER_VERTICAL : Gravity.TOP; in setGravityForRtl()
/frameworks/base/api/
Dcurrent.txt21809 field public static final int CENTER_VERTICAL = 16; // 0x10
26736 field public static final int CENTER_VERTICAL = 15; // 0xf
D14.txt21809 field public static final int CENTER_VERTICAL = 16; // 0x10
26736 field public static final int CENTER_VERTICAL = 15; // 0xf