/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ShapeDrawable.java | 148 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 …]
|
D | NinePatchDrawable.java | 76 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 …]
|
D | GradientDrawable.java | 179 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/ |
D | BatteryMeterDrawableBase.java | 89 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/ |
D | WallpaperDataParser.java | 252 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 …]
|
D | WallpaperDisplayHelper.java | 42 final Rect mPadding = new Rect(0, 0, 0, 0); field in WallpaperDisplayHelper.DisplayData
|
D | WallpaperManagerService.java | 921 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/ |
D | TestWallpaper.java | 61 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/ |
D | KeyguardStatusBarView.java | 106 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/ |
D | UserIconDrawable.java | 66 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/ |
D | KeyboardView.java | 199 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/ |
D | itfstruct.h | 56 SLuint8 mPadding; member
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 161 mPadding = padding; in initSkipCutBuffer() 175 int32_t padding = mPadding; in updateSkipCutBuffer()
|
D | CCodecBuffers.h | 408 int32_t mPadding; variable
|
/frameworks/native/libs/binder/tests/ |
D | binderSafeInterfaceTest.cpp | 81 __attribute__((unused)) uint8_t mPadding[4] = {}; // Avoids a warning from -Wpadded member in android::tests::NoCopyNoMove
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 17185 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;
|