Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java392 RectF boxRect = drawBoxWithShadow(c, p, previewWidth, previewHeight); in generateWidgetPreview() local
400 float t = boxRect.left; in generateWidgetPreview()
401 float tileSize = boxRect.width() / spanX; in generateWidgetPreview()
407 t = boxRect.top; in generateWidgetPreview()
408 tileSize = boxRect.height() / spanY; in generateWidgetPreview()
420 Math.min(boxRect.width(), boxRect.height())); in generateWidgetPreview()
482 RectF boxRect = drawBoxWithShadow(c, p, size, size); in generateShortcutPreview() local
488 boxRect.set(0, 0, iconSize, iconSize); in generateShortcutPreview()
489 boxRect.offset(padding, padding); in generateShortcutPreview()
490 c.drawBitmap(icon, src, boxRect, p); in generateShortcutPreview()