Searched refs:pxFromDp (Results 1 – 5 of 5) sorted by relevance
158 allAppsIconSizePx = Utilities.pxFromDp(inv.iconSize, dm); in DeviceProfile()207 iconSizePx = (int) (Utilities.pxFromDp(inv.iconSize, dm) * scale); in updateIconSize()210 hotseatIconSizePx = (int) (Utilities.pxFromDp(inv.hotseatIconSize, dm) * scale); in updateIconSize()
149 iconBitmapSize = Utilities.pxFromDp(iconSize, dm); in InvariantDeviceProfile()
761 public static int pxFromDp(float size, DisplayMetrics metrics) { in pxFromDp() method in Utilities
214 mIndent = Utilities.pxFromDp(PRESET_INDENT_SIZE_TABLET, r.getDisplayMetrics()); in setContainerHeight()
441 mPredictedAppsDividerPaint.setStrokeWidth(Utilities.pxFromDp(1f, res.getDisplayMetrics())); in AllAppsGridAdapter()