/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 79 mState.mGravity = gravity; in ClipDrawable() 145 state.mGravity = a.getInt( in updateStateFromTypedArray() 146 R.styleable.ClipDrawable_gravity, state.mGravity); in updateStateFromTypedArray() 197 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection); in draw() 217 int mGravity = Gravity.LEFT; field in ClipDrawable.ClipState 224 mGravity = orig.mGravity; in ClipState()
|
D | ScaleDrawable.java | 90 mState.mGravity = gravity; in ScaleDrawable() 163 state.mGravity = a.getInt( in updateStateFromTypedArray() 164 R.styleable.ScaleDrawable_scaleGravity, state.mGravity); in updateStateFromTypedArray() 240 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection); in onBoundsChange() 261 int mGravity = Gravity.LEFT; field in ScaleDrawable.ScaleState 271 mGravity = orig.mGravity; in ScaleState()
|
D | BitmapDrawable.java | 281 return mBitmapState.mGravity; in getGravity() 289 if (mBitmapState.mGravity != gravity) { in setGravity() 290 mBitmapState.mGravity = gravity; in setGravity() 581 Gravity.apply(mBitmapState.mGravity, mBitmapWidth, mBitmapHeight, in updateDstRectAndInsetsIfDirty() 804 setGravity(a.getInt(R.styleable.BitmapDrawable_gravity, state.mGravity)); in updateStateFromTypedArray() 884 if (mBitmapState.mGravity != Gravity.FILL) { in getOpacity() 907 int mGravity = Gravity.FILL; field in BitmapDrawable.BitmapState 928 mGravity = bitmapState.mGravity; in BitmapState()
|
D | LayerDrawable.java | 380 layer.mGravity = a.getInteger(attr, layer.mGravity); in updateLayerFromTypedArray() 734 childDrawable.mGravity = gravity; in setLayerGravity() 747 return childDrawable.mGravity; in getLayerGravity() 1565 final int gravity = resolveGravity(r.mGravity, layerW, layerH, intrinsicW, intrinsicH); in updateLayerBoundsInternal() 1814 public int mGravity = Gravity.NO_GRAVITY; 1852 mGravity = orig.mGravity;
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 48 private int mGravity = Gravity.FILL; field in RoundedBitmapDrawable 135 return mGravity; in getGravity() 146 if (mGravity != gravity) { in setGravity() 147 mGravity = gravity; in setGravity() 225 gravityCompatApply(mGravity, minDimen, minDimen, getBounds(), mDstRect); in updateDstRect() 235 gravityCompatApply(mGravity, mBitmapWidth, mBitmapHeight, getBounds(), mDstRect); in updateDstRect() 364 if (mGravity != Gravity.FILL || mIsCircular) { in getOpacity()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 104 mTN.mGravity = context.getResources().getInteger( in Toast() 213 mTN.mGravity = gravity; in setGravity() 224 return mTN.mGravity; in getGravity() 348 int mGravity; field in Toast.TN 412 … final int gravity = Gravity.getAbsoluteGravity(mGravity, config.getLayoutDirection()); in handleShow()
|
D | LinearLayout.java | 169 private int mGravity = Gravity.START | Gravity.TOP; field in LinearLayout 539 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBaseline() 1161 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1326 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1527 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutVertical() 1528 final int minorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutVertical() 1633 final int majorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutHorizontal() 1634 final int minorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutHorizontal() 1780 if (mGravity != gravity) { in setGravity() 1789 mGravity = gravity; in setGravity() [all …]
|
D | RelativeLayout.java | 206 private int mGravity = Gravity.START | Gravity.TOP; field in RelativeLayout 258 mGravity = a.getInt(R.styleable.RelativeLayout_gravity, mGravity); in initFromAttributes() 300 return mGravity; in getGravity() 321 if (mGravity != gravity) { in setGravity() 330 mGravity = gravity; in setGravity() 338 if ((mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) != gravity) { in setHorizontalGravity() 339 mGravity = (mGravity & ~Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) | gravity; in setHorizontalGravity() 347 if ((mGravity & Gravity.VERTICAL_GRAVITY_MASK) != gravity) { in setVerticalGravity() 348 mGravity = (mGravity & ~Gravity.VERTICAL_GRAVITY_MASK) | gravity; in setVerticalGravity() 421 int gravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in onMeasure() [all …]
|
D | Spinner.java | 102 private int mGravity; field in Spinner 301 mGravity = a.getInt(R.styleable.Spinner_gravity, Gravity.CENTER); in Spinner() 466 if (mGravity != gravity) { in setGravity() 470 mGravity = gravity; in setGravity() 482 return mGravity; in getGravity() 654 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in layout()
|
D | Gallery.java | 101 private int mGravity; field in Gallery 949 switch (mGravity) { in calculateTop() 1362 if (mGravity != gravity) { in setGravity() 1363 mGravity = gravity; in setGravity()
|
D | TextView.java | 581 private int mGravity = Gravity.TOP | Gravity.START; field in TextView 2057 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getExtendedPaddingTop() 2094 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getExtendedPaddingBottom() 3588 (mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK)) { in setGravity() 3592 if (gravity != mGravity) { in setGravity() 3596 mGravity = gravity; in setGravity() 3616 return mGravity; in getGravity() 5188 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getVerticalOffset() 5211 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBottomVerticalOffset() 5385 if (curs < 0 && (mGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.BOTTOM) { in onPreDraw() [all …]
|
D | Toolbar.java | 168 private int mGravity = Gravity.START | Gravity.CENTER_VERTICAL; field in Toolbar 234 mGravity = a.getInteger(R.styleable.Toolbar_gravity, mGravity); in Toolbar() 1769 switch (mGravity & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout() 1976 return mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getChildVerticalGravity()
|
D | GridView.java | 117 private int mGravity = Gravity.START; field in GridView 1531 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in setupChild() 2029 if (mGravity != gravity) { in setGravity() 2030 mGravity = gravity; in setGravity() 2043 return mGravity; in getGravity()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | LinearLayoutCompat.java | 115 private int mGravity = GravityCompat.START | Gravity.TOP; field in LinearLayoutCompat 449 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBaseline() 1059 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1232 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1434 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutVertical() 1435 final int minorGravity = mGravity & GravityCompat.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutVertical() 1530 final int majorGravity = mGravity & GravityCompat.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutHorizontal() 1531 final int minorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutHorizontal() 1673 if (mGravity != gravity) { in setGravity() 1682 mGravity = gravity; in setGravity() [all …]
|
D | Toolbar.java | 176 private int mGravity = GravityCompat.START | Gravity.CENTER_VERTICAL; field in Toolbar 241 mGravity = a.getInteger(R.styleable.Toolbar_android_gravity, mGravity); in Toolbar() 1794 switch (mGravity & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout() 2001 return mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getChildVerticalGravity()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | SoftInputWindow.java | 41 final int mGravity; field in SoftInputWindow 76 mGravity = gravity; in SoftInputWindow() 174 lp.gravity = mGravity; in initDockWindow()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 66 private final int mGravity; field in OverlayDisplayWindow 100 mGravity = gravity; in OverlayDisplayWindow() 236 mWindowX = (mGravity & Gravity.LEFT) == Gravity.LEFT ? in createWindow() 238 mWindowY = (mGravity & Gravity.TOP) == Gravity.TOP ? in createWindow()
|
D | OverlayDisplayAdapter.java | 358 private final int mGravity; field in OverlayDisplayAdapter.OverlayDisplayHandle 370 mGravity = gravity; in OverlayDisplayHandle() 441 pw.println(" mGravity=" + mGravity); in dumpLocked() 459 mName, mode.mWidth, mode.mHeight, mode.mDensityDpi, mGravity, mSecure,
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 59 private int mGravity; field in PagerTitleStrip 142 mGravity = a.getInteger(3, Gravity.BOTTOM); in PagerTitleStrip() 239 mGravity = gravity; in setGravity() 381 final int vgrav = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in updateTextPositions()
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 60 private int mGravity; field in FragmentBreadCrumbs 106 mGravity = a.getInt(com.android.internal.R.styleable.FragmentBreadCrumbs_gravity, in FragmentBreadCrumbs() 211 final int horizontalGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in onLayout()
|
D | Notification.java | 5687 private int mGravity = DEFAULT_GRAVITY; field in Notification.WearableExtender 5724 mGravity = wearableBundle.getInt(KEY_GRAVITY, DEFAULT_GRAVITY); in WearableExtender() 5771 if (mGravity != DEFAULT_GRAVITY) { in extend() 5772 wearableBundle.putInt(KEY_GRAVITY, mGravity); in extend() 5798 that.mGravity = this.mGravity; in clone() 6055 mGravity = gravity; in setGravity() 6066 return mGravity; in getGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 104 private int mGravity; field in ExpandHelper 168 mGravity = Gravity.TOP; in ExpandHelper() 186 drag *= mGravity == Gravity.BOTTOM ? -1f : 1f; in updateExpansion() 246 mGravity = gravity; in setGravity()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | PasswordTextView.java | 85 private final int mGravity; field in PasswordTextView 123 mGravity = a.getInt(R.styleable.PasswordTextView_android_gravity, Gravity.CENTER); in PasswordTextView() 151 if ((mGravity & Gravity.HORIZONTAL_GRAVITY_MASK) == Gravity.LEFT) { in onDraw() 152 if ((mGravity & Gravity.RELATIVE_LAYOUT_DIRECTION) != 0 in onDraw()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | NotificationCompat.java | 2933 private int mGravity = DEFAULT_GRAVITY; field in NotificationCompat.WearableExtender 2973 mGravity = wearableBundle.getInt(KEY_GRAVITY, DEFAULT_GRAVITY); in WearableExtender() 3022 if (mGravity != DEFAULT_GRAVITY) { in extend() 3023 wearableBundle.putInt(KEY_GRAVITY, mGravity); in extend() 3049 that.mGravity = this.mGravity; in clone() 3306 mGravity = gravity; in setGravity() 3317 return mGravity; in getGravity()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GridLayoutManager.java | 535 private int mGravity = Gravity.START | Gravity.TOP; field in GridLayoutManager 791 mGravity = gravity; in setGravity() 1625 final int verticalGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutChild() 1627 …Gravity.getAbsoluteGravity(mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK, View.LAYOUT_DIRECT… in layoutChild() 1628 mGravity & Gravity.HORIZONTAL_GRAVITY_MASK; in layoutChild()
|