Searched refs:mBackgroundPadding (Results 1 – 2 of 2) sorted by relevance
42 private final Rect mBackgroundPadding = new Rect(); field in KeyPreviewView84 background.getPadding(mBackgroundPadding); in setTextAndScaleX()85 final int maxWidth = background.getIntrinsicWidth() - mBackgroundPadding.left in setTextAndScaleX()86 - mBackgroundPadding.right; in setTextAndScaleX()
85 private final int mBackgroundPadding; field in AppWidgetResizeFrame169 mBackgroundPadding = getResources() in AppWidgetResizeFrame()171 mTouchTargetWidth = 2 * mBackgroundPadding; in AppWidgetResizeFrame()550 int width = 2 * mBackgroundPadding + Math.round(scale * out.width());551 int height = 2 * mBackgroundPadding + Math.round(scale * out.height());552 int x = out.left - mBackgroundPadding;553 int y = out.top - mBackgroundPadding;