/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 83 mState.mGravity = gravity; in ClipDrawable() 149 state.mGravity = a.getInt( in updateStateFromTypedArray() 150 R.styleable.ClipDrawable_gravity, state.mGravity); in updateStateFromTypedArray() 201 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection); in draw() 221 int mGravity = Gravity.LEFT; field in ClipDrawable.ClipState 228 mGravity = orig.mGravity; in ClipState()
|
D | ScaleDrawable.java | 92 mState.mGravity = gravity; in ScaleDrawable() 165 state.mGravity = a.getInt( in updateStateFromTypedArray() 166 R.styleable.ScaleDrawable_scaleGravity, state.mGravity); in updateStateFromTypedArray() 242 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection); in onBoundsChange() 263 int mGravity = Gravity.LEFT; field in ScaleDrawable.ScaleState 273 mGravity = orig.mGravity; in ScaleState()
|
D | BitmapDrawable.java | 301 return mBitmapState.mGravity; in getGravity() 309 if (mBitmapState.mGravity != gravity) { in setGravity() 310 mBitmapState.mGravity = gravity; in setGravity() 617 Gravity.apply(mBitmapState.mGravity, mBitmapWidth, mBitmapHeight, in updateDstRectAndInsetsIfDirty() 885 setGravity(a.getInt(R.styleable.BitmapDrawable_gravity, state.mGravity)); in updateStateFromTypedArray() 963 if (mBitmapState.mGravity != Gravity.FILL) { in getOpacity() 987 int mGravity = Gravity.FILL; field in BitmapDrawable.BitmapState 1015 mGravity = bitmapState.mGravity; in BitmapState()
|
D | LayerDrawable.java | 379 layer.mGravity = a.getInteger(attr, layer.mGravity); in updateLayerFromTypedArray() 747 childDrawable.mGravity = gravity; in setLayerGravity() 760 return childDrawable.mGravity; in getLayerGravity() 1589 final int gravity = resolveGravity(r.mGravity, layerW, layerH, intrinsicW, intrinsicH); in updateLayerBoundsInternal() 1840 public int mGravity = Gravity.NO_GRAVITY; 1887 mGravity = orig.mGravity;
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/ |
D | AnimatedTemperatureView.java | 90 private final int mGravity; field in AnimatedTemperatureView 113 mGravity = typedArray.getInt(R.styleable.AnimatedTemperatureView_android_gravity, in AnimatedTemperatureView() 166 textView.setGravity(mGravity); in generateTextView() 173 if (isHorizontal(mGravity)) { in generateTextView() 174 if (isLeft(mGravity, getLayoutDirection())) { in generateTextView() 244 return mGravity; in getGravity()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 194 private int mGravity = Gravity.START | Gravity.TOP; field in LinearLayout 618 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBaseline() 1248 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1414 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1615 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutVertical() 1616 final int minorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutVertical() 1721 final int majorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutHorizontal() 1722 final int minorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutHorizontal() 1872 if (mGravity != gravity) { in setGravity() 1881 mGravity = gravity; in setGravity() [all …]
|
D | Toast.java | 124 mTN.mGravity = context.getResources().getInteger( in Toast() 228 mTN.mGravity = gravity; in setGravity() 239 return mTN.mGravity; in getGravity() 366 int mGravity; field in Toast.TN 488 … final int gravity = Gravity.getAbsoluteGravity(mGravity, config.getLayoutDirection()); in handleShow()
|
D | RelativeLayout.java | 212 private int mGravity = Gravity.START | Gravity.TOP; field in RelativeLayout 266 mGravity = a.getInt(R.styleable.RelativeLayout_gravity, mGravity); in initFromAttributes() 319 return mGravity; in getGravity() 340 if (mGravity != gravity) { in setGravity() 349 mGravity = gravity; in setGravity() 357 if ((mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) != gravity) { in setHorizontalGravity() 358 mGravity = (mGravity & ~Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) | gravity; in setHorizontalGravity() 366 if ((mGravity & Gravity.VERTICAL_GRAVITY_MASK) != gravity) { in setVerticalGravity() 367 mGravity = (mGravity & ~Gravity.VERTICAL_GRAVITY_MASK) | gravity; in setVerticalGravity() 440 int gravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in onMeasure() [all …]
|
D | Spinner.java | 108 private int mGravity; field in Spinner 309 mGravity = a.getInt(R.styleable.Spinner_gravity, Gravity.CENTER); in Spinner() 486 if (mGravity != gravity) { in setGravity() 490 mGravity = gravity; in setGravity() 503 return mGravity; in getGravity() 676 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in layout()
|
D | Gallery.java | 104 private int mGravity; field in Gallery 965 switch (mGravity) { in calculateTop() 1379 if (mGravity != gravity) { in setGravity() 1380 mGravity = gravity; in setGravity()
|
D | Toolbar.java | 178 private int mGravity = Gravity.START | Gravity.CENTER_VERTICAL; field in Toolbar 246 mGravity = a.getInteger(R.styleable.Toolbar_gravity, mGravity); in Toolbar() 1916 switch (mGravity & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout() 2123 return mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getChildVerticalGravity()
|
D | GridView.java | 132 private int mGravity = Gravity.START; field in GridView 1563 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in setupChild() 2054 if (mGravity != gravity) { in setGravity() 2055 mGravity = gravity; in setGravity() 2069 return mGravity; in getGravity()
|
D | PopupWindow.java | 229 private int mGravity = Gravity.NO_GRAVITY; field in PopupWindow 1334 mGravity = gravity; in showAtLocation() 1593 int gravity = mGravity == Gravity.NO_GRAVITY ? Gravity.START | Gravity.TOP : mGravity; in computeGravity()
|
D | TextView.java | 737 private int mGravity = Gravity.TOP | Gravity.START; 2694 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getExtendedPaddingTop() 2731 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getExtendedPaddingBottom() 5142 != (mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK)) { in setGravity() 5146 if (gravity != mGravity) { in setGravity() 5150 mGravity = gravity; in setGravity() 5170 return mGravity; in getGravity() 7322 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getVerticalOffset() 7346 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBottomVerticalOffset() 7519 if (curs < 0 && (mGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.BOTTOM) { in onPreDraw() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 67 private final int mGravity; field in OverlayDisplayWindow 103 mGravity = gravity; in OverlayDisplayWindow() 239 mWindowX = (mGravity & Gravity.LEFT) == Gravity.LEFT ? in createWindow() 241 mWindowY = (mGravity & Gravity.TOP) == Gravity.TOP ? in createWindow()
|
D | OverlayDisplayAdapter.java | 372 private final int mGravity; field in OverlayDisplayAdapter.OverlayDisplayHandle 384 mGravity = gravity; in OverlayDisplayHandle() 455 pw.println(" mGravity=" + mGravity); in dumpLocked() 473 mName, mode.mWidth, mode.mHeight, mode.mDensityDpi, mGravity, mSecure,
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | SoftInputWindow.java | 52 final int mGravity; field in SoftInputWindow 137 mGravity = gravity; in SoftInputWindow() 237 lp.gravity = mGravity; in initDockWindow()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationActionListLayout.java | 42 private final int mGravity; field in NotificationActionListLayout 65 mGravity = ta.getInt(0, 0); in NotificationActionListLayout() 206 final boolean centerAligned = (mGravity & Gravity.CENTER_HORIZONTAL) != 0; in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WirelessChargingAnimation.java | 97 private int mGravity; field in WirelessChargingAnimation.WirelessChargingView 107 mGravity = Gravity.CENTER_HORIZONTAL | Gravity.CENTER; in WirelessChargingView()
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 60 private int mGravity; field in FragmentBreadCrumbs 109 mGravity = a.getInt(com.android.internal.R.styleable.FragmentBreadCrumbs_gravity, in FragmentBreadCrumbs() 214 final int horizontalGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in onLayout()
|
D | Notification.java | 9102 private int mGravity = DEFAULT_GRAVITY; field in Notification.Builder.WearableExtender 9140 mGravity = wearableBundle.getInt(KEY_GRAVITY, DEFAULT_GRAVITY); in WearableExtender() 9188 if (mGravity != DEFAULT_GRAVITY) { in extend() 9189 wearableBundle.putInt(KEY_GRAVITY, mGravity); in extend() 9218 that.mGravity = this.mGravity; in clone() 9489 mGravity = gravity; in setGravity() 9501 return mGravity; in getGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 105 private int mGravity; field in ExpandHelper 174 mGravity = Gravity.TOP; in ExpandHelper() 193 drag *= mGravity == Gravity.BOTTOM ? -1f : 1f; in updateExpansion() 253 mGravity = gravity; in setGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 90 private final int mGravity; field in PasswordTextView 128 mGravity = a.getInt(R.styleable.PasswordTextView_android_gravity, Gravity.CENTER); in PasswordTextView() 159 if ((mGravity & Gravity.HORIZONTAL_GRAVITY_MASK) == Gravity.LEFT) { in onDraw() 160 if ((mGravity & Gravity.RELATIVE_LAYOUT_DIRECTION) != 0 in onDraw()
|
/frameworks/base/core/java/android/view/ |
D | NotificationHeaderView.java | 50 private final int mGravity; field in NotificationHeaderView 109 mGravity = ta.getInt(0, 0); in NotificationHeaderView() 197 final boolean centerAligned = (mGravity & Gravity.CENTER_HORIZONTAL) != 0; in onLayout()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 1285 private int mGravity = Gravity.NO_GRAVITY; field in TaskLaunchParamsModifierTests.WindowLayoutBuilder 1310 mGravity = gravity; in setGravity() 1326 mGravity, mMinWidth, mMinHeight); in build()
|