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()
89 private final int mBackgroundPadding; field in AppWidgetResizeFrame144 mBackgroundPadding = getResources() in AppWidgetResizeFrame()146 mTouchTargetWidth = 2 * mBackgroundPadding; in AppWidgetResizeFrame()480 int width = 2 * mBackgroundPadding in getSnappedRectRelativeToDragLayer()482 int height = 2 * mBackgroundPadding in getSnappedRectRelativeToDragLayer()485 int x = (int) (out.left - mBackgroundPadding + scale * mWidgetPadding.left); in getSnappedRectRelativeToDragLayer()486 int y = (int) (out.top - mBackgroundPadding + scale * mWidgetPadding.top); in getSnappedRectRelativeToDragLayer()