Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
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()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java59 private final int mBackgroundPadding; field in AppWidgetResizeFrame
109 mBackgroundPadding = getResources() in AppWidgetResizeFrame()
111 mTouchTargetWidth = 2 * mBackgroundPadding; in AppWidgetResizeFrame()
409 int width = 2 * mBackgroundPadding in getSnappedRectRelativeToDragLayer()
411 int height = 2 * mBackgroundPadding in getSnappedRectRelativeToDragLayer()
414 int x = (int) (out.left - mBackgroundPadding + scale * mWidgetPadding.left); in getSnappedRectRelativeToDragLayer()
415 int y = (int) (out.top - mBackgroundPadding + scale * mWidgetPadding.top); in getSnappedRectRelativeToDragLayer()