Home
last modified time | relevance | path

Searched refs:mPadding (Results 1 – 13 of 13) 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()
599 Rect mPadding = null; field in NinePatchDrawable.NinePatchState
623 mPadding = padding; in NinePatchState()
634 mPadding = orig.mPadding; in NinePatchState()
691 final Rect sourcePadding = mNinePatchState.mPadding; in computeBitmapSize()
693 if (mPadding == null) { in computeBitmapSize()
694 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()
995 if (mGradientState.mPadding == null) {
996 mGradientState.mPadding = new Rect();
999 mGradientState.mPadding.set(left, top, right, bottom);
1000 mPadding = mGradientState.mPadding;
1614 if (st.mPadding == null) {
1615 st.mPadding = new Rect();
1618 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/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.java108 private Pair<Integer, Integer> mPadding = new Pair(0, 0); field in KeyguardStatusBarView
166 mPadding.first); in onConfigurationChanged()
228 marginEnd = calculateMargin(marginEnd, mPadding.second); in updateSystemIconsLayoutParams()
261 mPadding = in updatePadding()
264 setPadding(mPadding.first, waterfallTop, mPadding.second, 0); in updatePadding()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java58 private float mPadding = 0; field in UserIconDrawable
201 mPadding = padding; in setPadding()
352 float radius = mDisplayRadius - mPadding - mFrameWidth * 0.5f; in rebake()
391 final float iconRadius = mDisplayRadius - mFrameWidth - mFramePadding - mPadding; in onBoundsChange()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java974 final Rect mPadding = new Rect(0, 0, 0, 0); field in WallpaperManagerService.DisplayData
1098 mEngine.setDisplayPadding(wpdData.mPadding); in ensureStatusHandled()
1117 wpdData.mPadding, mDisplayId); in connectLocked()
2165 if (!padding.equals(wpdData.mPadding)) { in setDisplayPadding()
2166 wpdData.mPadding.set(padding); in setDisplayPadding()
2967 if (wpdData.mPadding.left != 0) { in writeWallpaperAttributes()
2968 out.attribute(null, "paddingLeft", Integer.toString(wpdData.mPadding.left)); in writeWallpaperAttributes()
2970 if (wpdData.mPadding.top != 0) { in writeWallpaperAttributes()
2971 out.attribute(null, "paddingTop", Integer.toString(wpdData.mPadding.top)); in writeWallpaperAttributes()
2973 if (wpdData.mPadding.right != 0) { in writeWallpaperAttributes()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java199 private Rect mPadding; field in KeyboardView
358 mPadding = new Rect(0, 0, 0, 0); in KeyboardView()
360 mKeyBackground.getPadding(mPadding); in KeyboardView()
682 final Rect padding = mPadding; in onBufferDraw()
/frameworks/wilhelm/src/
Ditfstruct.h56 SLuint8 mPadding; member
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp135 mPadding = padding; in initSkipCutBuffer()
149 int32_t padding = mPadding; in updateSkipCutBuffer()
DCCodecBuffers.h387 int32_t mPadding; variable
/frameworks/native/libs/binder/tests/
DbinderSafeInterfaceTest.cpp78 __attribute__((unused)) uint8_t mPadding[4] = {}; // Avoids a warning from -Wpadded member in android::tests::NoCopyNoMove