/frameworks/base/graphics/java/android/graphics/ |
D | Atlas.java | 237 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/ |
D | ShapeDrawable.java | 144 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 …]
|
D | NinePatchDrawable.java | 76 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 …]
|
D | GradientDrawable.java | 160 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/ |
D | DefaultMeasureSpecTest.java | 48 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/ |
D | RoundRectDrawable.java | 46 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/ |
D | ViewBindingObject.java | 53 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/ |
D | TestWallpaper.java | 61 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/ |
D | UserIconDrawable.java | 54 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/ |
D | VideoFrame.h | 70 char mPadding[8 - sizeof(mData)]; variable
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 192 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/ |
D | itfstruct.h | 57 SLuint8 mPadding; member
|