Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DAnimatedTemperatureView.java88 private final int mGravity; field in AnimatedTemperatureView
112 mGravity = typedArray.getInt(R.styleable.AnimatedTemperatureView_android_gravity, in AnimatedTemperatureView()
157 textView.setGravity(mGravity); in generateTextView()
164 if (isHorizontal(mGravity)) { in generateTextView()
165 if (isLeft(mGravity, getLayoutDirection())) { in generateTextView()
240 return mGravity; in getGravity()
/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/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/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java118 private int mGravity; field in ArrowPopup
494 if (Gravity.isVertical(mGravity)) { in addArrow()
507 if (!Gravity.isVertical(mGravity)) { in updateArrowColor()
615 mGravity = 0; in orientAboutObject()
618 mGravity = Gravity.CENTER_VERTICAL; in orientAboutObject()
643 if (Gravity.isVertical(mGravity)) { in orientAboutObject()
672 mGravity |= Gravity.CENTER_HORIZONTAL; in onLayout()
675 if (Gravity.isHorizontal(mGravity)) { in onLayout()
679 if (Gravity.isVertical(mGravity)) { in onLayout()
/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()