/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 47 private int mGravity = Gravity.FILL; field in RoundedBitmapDrawable 132 return mGravity; in getGravity() 143 if (mGravity != gravity) { in setGravity() 144 mGravity = gravity; in setGravity() 220 gravityCompatApply(mGravity, mBitmapWidth, mBitmapHeight, in updateDstRect() 299 if (mGravity != Gravity.FILL) { in getOpacity()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 73 mState.mGravity = gravity; in ClipDrawable() 137 state.mGravity = a.getInt(R.styleable.ClipDrawable_gravity, state.mGravity); in updateStateFromTypedArray() 295 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection); in draw() 356 int mGravity = Gravity.LEFT; field in ClipDrawable.ClipState 375 mGravity = orig.mGravity; in ClipState()
|
D | ScaleDrawable.java | 65 mState.mGravity = gravity; in ScaleDrawable() 177 state.mGravity = a.getInt(R.styleable.ScaleDrawable_scaleGravity, state.mGravity); in updateStateFromTypedArray() 306 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection); in onBoundsChange() 361 int mGravity = Gravity.LEFT; field in ScaleDrawable.ScaleState 382 mGravity = orig.mGravity; in ScaleState()
|
D | BitmapDrawable.java | 279 return mBitmapState.mGravity; in getGravity() 287 if (mBitmapState.mGravity != gravity) { in setGravity() 288 mBitmapState.mGravity = gravity; in setGravity() 574 Gravity.apply(mBitmapState.mGravity, mBitmapWidth, mBitmapHeight, in updateDstRectAndInsetsIfDirty() 786 setGravity(a.getInt(R.styleable.BitmapDrawable_gravity, state.mGravity)); in updateStateFromTypedArray() 857 if (mBitmapState.mGravity != Gravity.FILL) { in getOpacity() 880 int mGravity = Gravity.FILL; field in BitmapDrawable.BitmapState 901 mGravity = bitmapState.mGravity; in BitmapState()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 103 mTN.mGravity = context.getResources().getInteger( in Toast() 211 mTN.mGravity = gravity; in setGravity() 222 return mTN.mGravity; in getGravity() 346 int mGravity; field in Toast.TN 406 … final int gravity = Gravity.getAbsoluteGravity(mGravity, config.getLayoutDirection()); in handleShow()
|
D | LinearLayout.java | 160 private int mGravity = Gravity.START | Gravity.TOP; field in LinearLayout 513 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBaseline() 1124 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1297 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1499 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutVertical() 1500 final int minorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutVertical() 1594 final int majorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutHorizontal() 1595 final int minorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutHorizontal() 1742 if (mGravity != gravity) { in setGravity() 1751 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() 423 int gravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in onMeasure() [all …]
|
D | Spinner.java | 90 private int mGravity; field in Spinner 232 mGravity = a.getInt(com.android.internal.R.styleable.Spinner_gravity, Gravity.CENTER); in Spinner() 393 if (mGravity != gravity) { in setGravity() 397 mGravity = gravity; in setGravity() 409 return mGravity; in getGravity() 569 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in layout()
|
D | Gallery.java | 101 private int mGravity; field in Gallery 942 switch (mGravity) { in calculateTop() 1335 if (mGravity != gravity) { in setGravity() 1336 mGravity = gravity; in setGravity()
|
D | TextView.java | 525 private int mGravity = Gravity.TOP | Gravity.START; field in TextView 1890 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getExtendedPaddingTop() 1927 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getExtendedPaddingBottom() 3171 (mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK)) { in setGravity() 3175 if (gravity != mGravity) { in setGravity() 3179 mGravity = gravity; in setGravity() 3199 return mGravity; in getGravity() 4741 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getVerticalOffset() 4764 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBottomVerticalOffset() 4938 if (curs < 0 && (mGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.BOTTOM) { in onPreDraw() [all …]
|
D | GridView.java | 112 private int mGravity = Gravity.START; field in GridView 1523 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in setupChild() 2036 if (mGravity != gravity) { in setGravity() 2037 mGravity = gravity; in setGravity() 2050 return mGravity; in getGravity()
|
D | Toolbar.java | 133 private int mGravity = Gravity.START | Gravity.CENTER_VERTICAL; field in Toolbar 196 mGravity = a.getInteger(R.styleable.Toolbar_gravity, mGravity); in Toolbar() 1404 switch (mGravity & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout() 1611 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/support/v7/appcompat/src/android/support/v7/widget/ |
D | LinearLayoutCompat.java | 117 private int mGravity = GravityCompat.START | Gravity.TOP; field in LinearLayoutCompat 451 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBaseline() 1061 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1234 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1436 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutVertical() 1437 final int minorGravity = mGravity & GravityCompat.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutVertical() 1532 final int majorGravity = mGravity & GravityCompat.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutHorizontal() 1533 final int minorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutHorizontal() 1675 if (mGravity != gravity) { in setGravity() 1684 mGravity = gravity; in setGravity() [all …]
|
D | Toolbar.java | 141 private int mGravity = GravityCompat.START | Gravity.CENTER_VERTICAL; field in Toolbar 204 mGravity = a.getInteger(R.styleable.Toolbar_android_gravity, mGravity); in Toolbar() 1420 switch (mGravity & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout() 1627 return mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getChildVerticalGravity()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 66 private final int mGravity; field in OverlayDisplayWindow 103 mGravity = gravity; in OverlayDisplayWindow() 224 mWindowX = (mGravity & Gravity.LEFT) == Gravity.LEFT ? in createWindow() 226 mWindowY = (mGravity & Gravity.TOP) == Gravity.TOP ? in createWindow()
|
D | OverlayDisplayAdapter.java | 284 private final int mGravity; field in OverlayDisplayAdapter.OverlayDisplayHandle 297 mGravity = gravity; in OverlayDisplayHandle() 350 pw.println(" mGravity=" + mGravity); in dumpLocked() 367 mName, mWidth, mHeight, mDensityDpi, mGravity, mSecure,
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 56 private int mGravity; field in PagerTitleStrip 139 mGravity = a.getInteger(3, Gravity.BOTTOM); in PagerTitleStrip() 236 mGravity = gravity; in setGravity() 377 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 | 4508 private int mGravity = DEFAULT_GRAVITY; field in Notification.WearableExtender 4544 mGravity = wearableBundle.getInt(KEY_GRAVITY, DEFAULT_GRAVITY); in WearableExtender() 4590 if (mGravity != DEFAULT_GRAVITY) { in extend() 4591 wearableBundle.putInt(KEY_GRAVITY, mGravity); in extend() 4614 that.mGravity = this.mGravity; in clone() 4870 mGravity = gravity; in setGravity() 4881 return mGravity; in getGravity()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | SpinnerCompat.java | 85 private int mGravity; field in SpinnerCompat 207 mGravity = a.getInt(R.styleable.Spinner_android_gravity, Gravity.CENTER); in SpinnerCompat() 349 if (mGravity != gravity) { in setGravity() 353 mGravity = gravity; in setGravity() 490 final int absoluteGravity = GravityCompat.getAbsoluteGravity(mGravity, layoutDirection); in layout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 114 private int mGravity; field in ExpandHelper 176 mGravity = Gravity.TOP; in ExpandHelper() 195 drag *= mGravity == Gravity.BOTTOM ? -1f : 1f; in updateExpansion() 255 mGravity = gravity; in setGravity()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | NotificationCompat.java | 2312 private int mGravity = DEFAULT_GRAVITY; field in NotificationCompat.WearableExtender 2351 mGravity = wearableBundle.getInt(KEY_GRAVITY, DEFAULT_GRAVITY); in WearableExtender() 2399 if (mGravity != DEFAULT_GRAVITY) { in extend() 2400 wearableBundle.putInt(KEY_GRAVITY, mGravity); in extend() 2423 that.mGravity = this.mGravity; in clone() 2679 mGravity = gravity; in setGravity() 2690 return mGravity; in getGravity()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | GlowPadView.java | 206 private int mGravity = Gravity.TOP; field in GlowPadView 278 mGravity = a.getInt(R.styleable.GlowPadView_gravity, Gravity.TOP); in GlowPadView() 1016 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); 1055 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GridLayoutManager.java | 296 private int mGravity = Gravity.START | Gravity.TOP; field in GridLayoutManager 536 mGravity = gravity; in setGravity() 1242 final int verticalGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutChild() 1244 …Gravity.getAbsoluteGravity(mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK, View.LAYOUT_DIRECT… in layoutChild() 1245 mGravity & Gravity.HORIZONTAL_GRAVITY_MASK; in layoutChild()
|