Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DDatabaseWidgetPreviewLoader.java182 RectF boxRect; in generateWidgetPreview()
188 boxRect = new RectF(/* left= */ 0, /* top= */ 0, /* right= */ in generateWidgetPreview()
195 c.drawRoundRect(boxRect, roundedCorner, roundedCorner, p); in generateWidgetPreview() argument
197 boxRect = drawBoxWithShadow(c, previewWidthF, previewHeightF); in generateWidgetPreview()
205 float t = boxRect.left; in generateWidgetPreview()
206 float tileSize = boxRect.width() / spanX; in generateWidgetPreview()
212 t = boxRect.top; in generateWidgetPreview()
213 tileSize = boxRect.height() / spanY; in generateWidgetPreview()
226 Math.min(boxRect.width(), boxRect.height())); in generateWidgetPreview()