Home
last modified time | relevance | path

Searched refs:mBackgroundPadding (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyPreviewView.java42 private final Rect mBackgroundPadding = new Rect(); field in KeyPreviewView
84 background.getPadding(mBackgroundPadding); in setTextAndScaleX()
85 final int maxWidth = background.getIntrinsicWidth() - mBackgroundPadding.left in setTextAndScaleX()
86 - mBackgroundPadding.right; in setTextAndScaleX()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DAppWidgetResizeFrame.java95 private final int mBackgroundPadding; field in AppWidgetResizeFrame
160 mBackgroundPadding = getResources() in AppWidgetResizeFrame()
162 mTouchTargetWidth = 2 * mBackgroundPadding; in AppWidgetResizeFrame()
533 int width = 2 * mBackgroundPadding
535 int height = 2 * mBackgroundPadding
538 int x = (int) (out.left - mBackgroundPadding + scale * mWidgetPadding.left);
539 int y = (int) (out.top - mBackgroundPadding + scale * mWidgetPadding.top);
/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java186 private final Rect mBackgroundPadding = new Rect(); field in DecorView
993 mResizingBackgroundDrawable.getPadding(mBackgroundPadding);
995 mBackgroundPadding.setEmpty();
1703 Rect backgroundPadding = mBackgroundPadding != null ? mBackgroundPadding : new Rect(); in drawableChanged()