Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java38 private static Point[] sCellSize; field in AppWidgetResizeFrame
355 if (sCellSize == null) { in getWidgetSizeRanges()
359 sCellSize = new Point[2]; in getWidgetSizeRanges()
360 sCellSize[0] = inv.landscapeProfile.getCellSize(); in getWidgetSizeRanges()
361 sCellSize[1] = inv.portraitProfile.getCellSize(); in getWidgetSizeRanges()
370 int landWidth = (int) ((spanX * sCellSize[0].x) / density); in getWidgetSizeRanges()
371 int landHeight = (int) ((spanY * sCellSize[0].y) / density); in getWidgetSizeRanges()
374 int portWidth = (int) ((spanX * sCellSize[1].x) / density); in getWidgetSizeRanges()
375 int portHeight = (int) ((spanY * sCellSize[1].y) / density); in getWidgetSizeRanges()