Home
last modified time | relevance | path

Searched refs:mGravity (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/widget/
DCircleView.java76 private int mGravity; field in CircleView
95 mGravity = a.getInt(R.styleable.CircleView_android_gravity, Gravity.NO_GRAVITY); in CircleView()
109 if (mGravity != Gravity.NO_GRAVITY) { in onRtlPropertiesChanged()
110 applyGravity(mGravity, layoutDirection); in onRtlPropertiesChanged()
118 if (mGravity != Gravity.NO_GRAVITY) { in onLayout()
119 applyGravity(mGravity, getLayoutDirection()); in onLayout()
141 return mGravity; in getGravity()
156 if (mGravity != gravity) { in setGravity()
157 mGravity = gravity; in setGravity()
208 mGravity &= ~Gravity.HORIZONTAL_GRAVITY_MASK; in setCenterX()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java142 private int mGravity = Gravity.START | Gravity.TOP; field in MatchParentShrinkingLinearLayout
499 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBaseline()
1125 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutVertical()
1126 final int minorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutVertical()
1231 final int majorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutHorizontal()
1232 final int minorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutHorizontal()
1379 if (mGravity != gravity) { in setGravity()
1388 mGravity = gravity; in setGravity()
1396 if ((mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) != gravity) { in setHorizontalGravity()
1397 mGravity = (mGravity & ~Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) | gravity; in setHorizontalGravity()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java142 private int mGravity = Gravity.START | Gravity.TOP; field in MatchParentShrinkingLinearLayout
499 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBaseline()
1125 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutVertical()
1126 final int minorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutVertical()
1231 final int majorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutHorizontal()
1232 final int minorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutHorizontal()
1379 if (mGravity != gravity) { in setGravity()
1388 mGravity = gravity; in setGravity()
1396 if ((mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) != gravity) { in setHorizontalGravity()
1397 mGravity = (mGravity & ~Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) | gravity; in setHorizontalGravity()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java75 private int mGravity; field in ArrowPopup
184 if (Gravity.isVertical(mGravity)) { in reorderAndShow()
288 mGravity = 0; in orientAboutObject()
291 mGravity = Gravity.CENTER_VERTICAL; in orientAboutObject()
316 if (Gravity.isVertical(mGravity)) { in orientAboutObject()
341 mGravity |= Gravity.CENTER_HORIZONTAL; in onLayout()
344 if (Gravity.isHorizontal(mGravity)) { in onLayout()
348 if (Gravity.isVertical(mGravity)) { in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsBackgroundDrawable.java47 private int mGravity; field in AllAppsBackgroundDrawable.TransformedImageDrawable
59 mGravity = gravity; in TransformedImageDrawable()
76 if ((mGravity & Gravity.CENTER_HORIZONTAL) == Gravity.CENTER_HORIZONTAL) { in updateBounds()
79 if ((mGravity & Gravity.CENTER_VERTICAL) == Gravity.CENTER_VERTICAL) { in updateBounds()
/packages/apps/LegacyCamera/src/com/android/camera/
DOnScreenHint.java45 int mGravity = Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM; field in OnScreenHint
144 final int gravity = mGravity; in handleShow()