Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DWidgetPreviewLoader.java133 private int mProfileBadgeMargin; field in WidgetPreviewLoader
155 mProfileBadgeMargin = mContext.getResources().getDimensionPixelSize( in WidgetPreviewLoader()
590 final int badgeLeft = previewBitmapWidth - mProfileBadgeSize - mProfileBadgeMargin; in generateWidgetPreview()
591 final int badgeTop = previewBitmapHeight - mProfileBadgeSize - mProfileBadgeMargin; in generateWidgetPreview()
596 final int badgeLeft = mProfileBadgeMargin; in generateWidgetPreview()
597 final int badgeTop = previewBitmapHeight - mProfileBadgeSize - mProfileBadgeMargin; in generateWidgetPreview()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java70 private final int mProfileBadgeMargin; field in WidgetPreviewLoader
82 mProfileBadgeMargin = context.getResources() in WidgetPreviewLoader()
362 scale = (maxPreviewWidth - 2 * mProfileBadgeMargin) / (float) (previewWidth); in generateWidgetPreview()
427 int imageWidth = Math.min(preview.getWidth(), previewWidth + mProfileBadgeMargin); in generateWidgetPreview()
428 int imageHeight = Math.min(preview.getHeight(), previewHeight + mProfileBadgeMargin); in generateWidgetPreview()