Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java148 mShapeState.mPadding = null; in setPadding()
150 if (mShapeState.mPadding == null) { in setPadding()
151 mShapeState.mPadding = new Rect(); in setPadding()
153 mShapeState.mPadding.set(left, top, right, bottom); in setPadding()
164 mShapeState.mPadding = null; in setPadding()
166 if (mShapeState.mPadding == null) { in setPadding()
167 mShapeState.mPadding = new Rect(); in setPadding()
169 mShapeState.mPadding.set(padding); in setPadding()
206 if (mShapeState.mPadding != null) { in getPadding()
207 padding.set(mShapeState.mPadding); in getPadding()
[all …]
DNinePatchDrawable.java76 private Rect mPadding; field in NinePatchDrawable
271 if (mPadding != null) { in getPadding()
272 padding.set(mPadding); in getPadding()
461 state.mPadding = padding; in updateStateFromTypedArray()
598 Rect mPadding = null; field in NinePatchDrawable.NinePatchState
622 mPadding = padding; in NinePatchState()
633 mPadding = orig.mPadding; in NinePatchState()
690 final Rect sourcePadding = mNinePatchState.mPadding; in computeBitmapSize()
692 if (mPadding == null) { in computeBitmapSize()
693 mPadding = new Rect(); in computeBitmapSize()
[all …]
DGradientDrawable.java179 private Rect mPadding; field in GradientDrawable
234 if (mPadding != null) { in getPadding()
235 padding.set(mPadding); in getPadding()
1008 if (mGradientState.mPadding == null) {
1009 mGradientState.mPadding = new Rect();
1012 mGradientState.mPadding.set(left, top, right, bottom);
1013 mPadding = mGradientState.mPadding;
1642 if (st.mPadding == null) {
1643 st.mPadding = new Rect();
1646 final Rect pad = st.mPadding;
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java89 private final Rect mPadding = new Rect(); field in BatteryMeterDrawableBase
251 mHeight = (bounds.bottom - mPadding.bottom) - (bounds.top + mPadding.top); in updateSize()
252 mWidth = (bounds.right - mPadding.right) - (bounds.left + mPadding.left); in updateSize()
259 if (mPadding.left == 0 in getPadding()
260 && mPadding.top == 0 in getPadding()
261 && mPadding.right == 0 in getPadding()
262 && mPadding.bottom == 0) { in getPadding()
266 padding.set(mPadding); in getPadding()
271 mPadding.left = left; in setPadding()
272 mPadding.top = top; in setPadding()
[all …]
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperDataParser.java252 wpdData.mPadding.set(0, 0, 0, 0); in loadSettingsLocked()
343 wpData.mPadding.left = getAttributeInt(parser, "paddingLeft", 0); in parseWallpaperAttributes()
344 wpData.mPadding.top = getAttributeInt(parser, "paddingTop", 0); in parseWallpaperAttributes()
345 wpData.mPadding.right = getAttributeInt(parser, "paddingRight", 0); in parseWallpaperAttributes()
346 wpData.mPadding.bottom = getAttributeInt(parser, "paddingBottom", 0); in parseWallpaperAttributes()
443 if (wpdData.mPadding.left != 0) { in writeWallpaperAttributes()
444 out.attributeInt(null, "paddingLeft", wpdData.mPadding.left); in writeWallpaperAttributes()
446 if (wpdData.mPadding.top != 0) { in writeWallpaperAttributes()
447 out.attributeInt(null, "paddingTop", wpdData.mPadding.top); in writeWallpaperAttributes()
449 if (wpdData.mPadding.right != 0) { in writeWallpaperAttributes()
[all …]
DWallpaperDisplayHelper.java42 final Rect mPadding = new Rect(0, 0, 0, 0); field in WallpaperDisplayHelper.DisplayData
DWallpaperManagerService.java921 mEngine.setDisplayPadding(wpdData.mPadding); in ensureStatusHandled()
946 wpdData.mPadding, mDisplayId, wallpaper.mWhich); in connectLocked()
2320 if (!padding.equals(wpdData.mPadding)) { in setDisplayPadding()
2321 wpdData.mPadding.set(padding); in setDisplayPadding()
4046 pw.print(" mPadding="); pw.println(wpSize.mPadding); in dumpWallpaper()
/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()
228 int x = mStableInsets.left + mPadding; in drawFrame()
229 int y = height - mStableInsets.bottom - mPadding - ascdesc; in drawFrame()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java106 private Pair<Integer, Integer> mPadding = new Pair(0, 0); field in KeyguardStatusBarView
187 mPadding.first); in onConfigurationChanged()
302 mPadding = insetsProvider.getStatusBarContentInsetsForCurrentRotation(); in updatePadding()
306 ? Math.max(mMinDotWidth, mPadding.first) : mPadding.first; in updatePadding()
308 ? Math.max(mMinDotWidth, mPadding.second) : mPadding.second; in updatePadding()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java66 private float mPadding = 0; field in UserIconDrawable
264 mPadding = padding; in setPadding()
415 float radius = mDisplayRadius - mPadding - mFrameWidth * 0.5f; in rebake()
454 final float iconRadius = mDisplayRadius - mFrameWidth - mFramePadding - mPadding; in onBoundsChange()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java199 private Rect mPadding; field in KeyboardView
360 mPadding = new Rect(0, 0, 0, 0); in KeyboardView()
362 mKeyBackground.getPadding(mPadding); in KeyboardView()
684 final Rect padding = mPadding; in onBufferDraw()
/frameworks/wilhelm/src/
Ditfstruct.h56 SLuint8 mPadding; member
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp161 mPadding = padding; in initSkipCutBuffer()
175 int32_t padding = mPadding; in updateSkipCutBuffer()
DCCodecBuffers.h408 int32_t mPadding; variable
/frameworks/native/libs/binder/tests/
DbinderSafeInterfaceTest.cpp81 __attribute__((unused)) uint8_t mPadding[4] = {}; // Avoids a warning from -Wpadded member in android::tests::NoCopyNoMove
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt17185 Landroid/graphics/drawable/NinePatchDrawable$NinePatchState;->mPadding:Landroid/graphics/Rect;
17201 Landroid/graphics/drawable/NinePatchDrawable;->mPadding:Landroid/graphics/Rect;
17388 Landroid/graphics/drawable/ShapeDrawable$ShapeState;->mPadding:Landroid/graphics/Rect;
22724 Landroid/inputmethodservice/KeyboardView;->mPadding:Landroid/graphics/Rect;