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, previewWidth, previewHeight); in generateWidgetPreview() local
401 float t = boxRect.left; in generateWidgetPreview()
402 float tileSize = boxRect.width() / spanX; in generateWidgetPreview()
408 t = boxRect.top; in generateWidgetPreview()
409 tileSize = boxRect.height() / spanY; in generateWidgetPreview()
422 Math.min(boxRect.width(), boxRect.height())); in generateWidgetPreview()
474 RectF boxRect = drawBoxWithShadow(c, size, size); in generateShortcutPreview() local
484 boxRect.set(0, 0, iconSize, iconSize); in generateShortcutPreview()
485 boxRect.offset(padding, padding); in generateShortcutPreview()
486 c.drawBitmap(icon, src, boxRect, in generateShortcutPreview()