/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 | 93 mState.mGravity = gravity; in ScaleDrawable() 166 state.mGravity = a.getInt( in updateStateFromTypedArray() 167 R.styleable.ScaleDrawable_scaleGravity, state.mGravity); in updateStateFromTypedArray() 243 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection); in onBoundsChange() 264 int mGravity = Gravity.LEFT; field in ScaleDrawable.ScaleState 274 mGravity = orig.mGravity; in ScaleState()
|
D | BitmapDrawable.java | 309 return mBitmapState.mGravity; in getGravity() 317 if (mBitmapState.mGravity != gravity) { in setGravity() 318 mBitmapState.mGravity = gravity; in setGravity() 625 Gravity.apply(mBitmapState.mGravity, mBitmapWidth, mBitmapHeight, in updateDstRectAndInsetsIfDirty() 892 setGravity(a.getInt(R.styleable.BitmapDrawable_gravity, state.mGravity)); in updateStateFromTypedArray() 970 if (mBitmapState.mGravity != Gravity.FILL) { in getOpacity() 994 int mGravity = Gravity.FILL; field in BitmapDrawable.BitmapState 1022 mGravity = bitmapState.mGravity; in BitmapState()
|
D | LayerDrawable.java | 380 layer.mGravity = a.getInteger(attr, layer.mGravity); in updateLayerFromTypedArray() 748 childDrawable.mGravity = gravity; in setLayerGravity() 761 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/SettingsLib/ButtonPreference/src/com/android/settingslib/widget/ |
D | ButtonPreference.java | 47 private int mGravity; field in ButtonPreference 104 mGravity = a.getInt(R.styleable.ButtonPreference_android_gravity, Gravity.START); in init() 114 setGravity(mGravity); in onBindViewHolder() 192 mGravity = Gravity.CENTER_HORIZONTAL; in setGravity() 194 mGravity = Gravity.START; in setGravity() 199 lp.gravity = mGravity; in setGravity()
|
/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() 1284 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1466 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) in measureHorizontal() 1671 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutVertical() 1672 final int minorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutVertical() 1777 final int majorGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in layoutHorizontal() 1778 final int minorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutHorizontal() 1934 if (mGravity != gravity) { in setGravity() 1943 mGravity = gravity; in setGravity() [all …]
|
D | Toast.java | 180 mTN.mGravity = context.getResources().getInteger( in Toast() 394 mTN.mGravity = gravity; in setGravity() 415 return mTN.mGravity; in getGravity() 642 int mGravity; field in Toast.TN 781 mPresenter.show(mView, mToken, windowToken, mDuration, mGravity, mX, mY, in handleShow() 792 mPresenter.show(mView, mToken, windowToken, mDuration, mGravity, mX, mY, in handleShow()
|
D | RelativeLayout.java | 213 private int mGravity = Gravity.START | Gravity.TOP; field in RelativeLayout 267 mGravity = a.getInt(R.styleable.RelativeLayout_gravity, mGravity); in initFromAttributes() 320 return mGravity; in getGravity() 341 if (mGravity != gravity) { in setGravity() 350 mGravity = gravity; in setGravity() 358 if ((mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) != gravity) { in setHorizontalGravity() 359 mGravity = (mGravity & ~Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) | gravity; in setHorizontalGravity() 367 if ((mGravity & Gravity.VERTICAL_GRAVITY_MASK) != gravity) { in setVerticalGravity() 368 mGravity = (mGravity & ~Gravity.VERTICAL_GRAVITY_MASK) | gravity; in setVerticalGravity() 441 int gravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in onMeasure() [all …]
|
D | Spinner.java | 113 private int mGravity; field in Spinner 314 mGravity = a.getInt(R.styleable.Spinner_gravity, Gravity.CENTER); in Spinner() 491 if (mGravity != gravity) { in setGravity() 495 mGravity = gravity; in setGravity() 508 return mGravity; in getGravity() 681 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in layout()
|
D | Gallery.java | 104 private int mGravity; field in Gallery 966 switch (mGravity) { in calculateTop() 1380 if (mGravity != gravity) { in setGravity() 1381 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 | 133 private int mGravity = Gravity.START; field in GridView 1564 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in setupChild() 2056 if (mGravity != gravity) { in setGravity() 2057 mGravity = gravity; in setGravity() 2071 return mGravity; in getGravity()
|
D | PopupWindow.java | 231 private int mGravity = Gravity.NO_GRAVITY; field in PopupWindow 1338 mGravity = gravity; in showAtLocation() 1597 int gravity = mGravity == Gravity.NO_GRAVITY ? Gravity.START | Gravity.TOP : mGravity; in computeGravity()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsModifierTestsBase.java | 162 private int mGravity = Gravity.NO_GRAVITY; field in LaunchParamsModifierTestsBase.WindowLayoutBuilder 187 mGravity = gravity; in setGravity() 203 mGravity, mMinWidth, mMinHeight); in build()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionWindow.java | 50 private final int mGravity; field in VoiceInteractionWindow 154 mGravity = gravity; in VoiceInteractionWindow() 238 lp.gravity = mGravity; in initDockWindow()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 70 private final int mGravity; field in OverlayDisplayWindow 106 mGravity = gravity; in OverlayDisplayWindow() 243 mWindowX = (mGravity & Gravity.LEFT) == Gravity.LEFT ? in createWindow() 245 mWindowY = (mGravity & Gravity.TOP) == Gravity.TOP ? in createWindow()
|
D | OverlayDisplayAdapter.java | 423 private final int mGravity; field in OverlayDisplayAdapter.OverlayDisplayHandle 439 mGravity = gravity; in OverlayDisplayHandle() 510 pw.println(" mGravity=" + mGravity); in dumpLocked() 528 mName, mode.mWidth, mode.mHeight, mode.mDensityDpi, mGravity,
|
/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 | 11917 private int mGravity = DEFAULT_GRAVITY; field in Notification.Builder.WearableExtender 11956 mGravity = wearableBundle.getInt(KEY_GRAVITY, DEFAULT_GRAVITY); in WearableExtender() 12015 if (mGravity != DEFAULT_GRAVITY) { in extend() 12016 wearableBundle.putInt(KEY_GRAVITY, mGravity); in extend() 12045 that.mGravity = this.mGravity; in clone() 12327 mGravity = gravity; in setGravity() 12339 return mGravity; in getGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WirelessChargingAnimation.java | 118 private int mGravity; field in WirelessChargingAnimation.WirelessChargingView 130 mGravity = Gravity.CENTER_HORIZONTAL | Gravity.CENTER; in WirelessChargingView()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationActionListLayout.java | 48 private final int mGravity; field in NotificationActionListLayout 78 mGravity = ta.getInt(0, 0); in NotificationActionListLayout() 310 final boolean centerAligned = (mGravity & Gravity.CENTER_HORIZONTAL) != 0; in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 81 private final int mGravity; field in PasswordTextView 122 mGravity = a.getInt(R.styleable.PasswordTextView_android_gravity, Gravity.CENTER); in PasswordTextView() 175 if ((mGravity & Gravity.HORIZONTAL_GRAVITY_MASK) == Gravity.LEFT) { in onDraw() 176 if ((mGravity & Gravity.RELATIVE_LAYOUT_DIRECTION) != 0 in onDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 126 private int mGravity; field in ExpandHelper 196 mGravity = Gravity.TOP; in ExpandHelper() 217 drag *= mGravity == Gravity.BOTTOM ? -1f : 1f; in updateExpansion() 277 mGravity = gravity; in setGravity()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 5047 private int mGravity = Gravity.FILL; field in View.ForegroundInfo 26579 return mForegroundInfo != null ? mForegroundInfo.mGravity in getForegroundGravity() 26597 if (mForegroundInfo.mGravity != gravity) { in setForegroundGravity() 26606 mForegroundInfo.mGravity = gravity; in setForegroundGravity() 26826 Gravity.apply(mForegroundInfo.mGravity, foreground.getIntrinsicWidth(), in onDrawForeground()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 5050 Landroid/app/FragmentBreadCrumbs;->mGravity:I 7908 Landroid/app/Notification$WearableExtender;->mGravity:I 16784 Landroid/graphics/drawable/BitmapDrawable$BitmapState;->mGravity:I 16822 Landroid/graphics/drawable/ClipDrawable$ClipState;->mGravity:I 17090 Landroid/graphics/drawable/LayerDrawable$ChildDrawable;->mGravity:I 17367 Landroid/graphics/drawable/ScaleDrawable$ScaleState;->mGravity:I 22774 Landroid/inputmethodservice/SoftInputWindow;->mGravity:I 60887 Landroid/view/NotificationHeaderView;->mGravity:I 62641 Landroid/view/View$ForegroundInfo;->mGravity:I 67042 Landroid/widget/Gallery;->mGravity:I [all …]
|