Home
last modified time | relevance | path

Searched refs:mPadding (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DAtlas.java237 private final int mPadding; field in Atlas.SlicePolicy
260 mPadding = (flags & FLAG_ADD_PADDING) != 0 ? 1 : 0; in SlicePolicy()
264 first.x = first.y = mPadding; in SlicePolicy()
265 first.width = width - 2 * mPadding; in SlicePolicy()
266 first.height = height - 2 * mPadding; in SlicePolicy()
369 first.x = cell.x + width + mPadding; in insert()
371 first.width = deltaWidth - mPadding; in insert()
374 second.y = cell.y + height + mPadding; in insert()
375 second.height = deltaHeight - mPadding; in insert()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java144 mShapeState.mPadding = null; in setPadding()
146 if (mShapeState.mPadding == null) { in setPadding()
147 mShapeState.mPadding = new Rect(); in setPadding()
149 mShapeState.mPadding.set(left, top, right, bottom); in setPadding()
160 mShapeState.mPadding = null; in setPadding()
162 if (mShapeState.mPadding == null) { in setPadding()
163 mShapeState.mPadding = new Rect(); in setPadding()
165 mShapeState.mPadding.set(padding); in setPadding()
202 if (mShapeState.mPadding != null) { in getPadding()
203 padding.set(mShapeState.mPadding); in getPadding()
[all …]
DNinePatchDrawable.java76 private Rect mPadding; field in NinePatchDrawable
270 if (mPadding != null) { in getPadding()
271 padding.set(mPadding); in getPadding()
455 state.mPadding = padding; in updateStateFromTypedArray()
585 Rect mPadding = null; field in NinePatchDrawable.NinePatchState
609 mPadding = padding; in NinePatchState()
620 mPadding = orig.mPadding; in NinePatchState()
685 final Rect sourcePadding = mNinePatchState.mPadding; in computeBitmapSize()
687 if (mPadding == null) { in computeBitmapSize()
688 mPadding = new Rect(); in computeBitmapSize()
[all …]
DGradientDrawable.java160 private Rect mPadding; field in GradientDrawable
214 if (mPadding != null) { in getPadding()
215 padding.set(mPadding); in getPadding()
1399 if (st.mPadding == null) {
1400 st.mPadding = new Rect();
1403 final Rect pad = st.mPadding;
1408 mPadding = pad;
1754 public Rect mPadding = null;
1813 if (orig.mPadding != null) {
1814 mPadding = new Rect(orig.mPadding);
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DDefaultMeasureSpecTest.java48 private final Rect mPadding; field in DefaultMeasureSpecTest
57 if (mPadding != null) { in setUp()
58 mRecyclerView.setPadding(mPadding.left, mPadding.top, mPadding.right, mPadding.bottom); in setUp()
110 this.mPadding = padding; in DefaultMeasureSpecTest()
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
DRoundRectDrawable.java46 private float mPadding; field in RoundRectDrawable
70 if (padding == mPadding && mInsetForPadding == insetForPadding && in setPadding()
74 mPadding = padding; in setPadding()
82 return mPadding; in getPadding()
111 float vInset = calculateVerticalPadding(mPadding, mRadius, mInsetForRadius); in updateBounds()
112 float hInset = calculateHorizontalPadding(mPadding, mRadius, mInsetForRadius); in updateBounds()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DViewBindingObject.java53 private int mPadding = 11; field in ViewBindingObject
126 return mPadding; in getPadding()
170 mPadding = 110; in changeValues()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java61 private int mPadding; field in TestWallpaper.ClockEngine
115 mPadding = (int)(16 * getResources().getDisplayMetrics().density); in onCreate()
220 int x = mStableInsets.left + mPadding; in drawFrame()
221 int y = height - mStableInsets.bottom - mPadding - ascdesc; in drawFrame()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java54 private float mPadding = 0; field in UserIconDrawable
186 mPadding = padding; in setPadding()
324 float radius = mDisplayRadius - mPadding - mFrameWidth * 0.5f; in rebake()
364 final float iconRadius = mDisplayRadius - mFrameWidth - mFramePadding - mPadding; in onBoundsChange()
/frameworks/av/include/private/media/
DVideoFrame.h70 char mPadding[8 - sizeof(mData)]; variable
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java192 private Rect mPadding; field in KeyboardView
350 mPadding = new Rect(0, 0, 0, 0); in KeyboardView()
352 mKeyBackground.getPadding(mPadding); in KeyboardView()
672 final Rect padding = mPadding; in onBufferDraw()
/frameworks/wilhelm/src/
Ditfstruct.h57 SLuint8 mPadding; member