HomeSort by relevance Sort by last modified time
    Searched refs:pxFromDp (Results 1 - 3 of 3) sorted by null

  /packages/apps/Launcher3/src/com/android/launcher3/
DynamicGrid.java 43 public static int pxFromDp(float size, DisplayMetrics metrics) {
60 DEFAULT_ICON_SIZE_PX = pxFromDp(DEFAULT_ICON_SIZE_DP, dm);
Cling.java 250 int yOffset = DynamicGrid.pxFromDp(WORKSPACE_CIRCLE_Y_OFFSET_DPS, metrics);
254 int radius = DynamicGrid.pxFromDp(WORKSPACE_OUTER_CIRCLE_RADIUS_DPS, metrics);
514 float buffer = DynamicGrid.pxFromDp(FIRST_RUN_CIRCLE_BUFFER_DPS, metrics);
515 float maxRadius = DynamicGrid.pxFromDp(FIRST_RUN_MAX_CIRCLE_RADIUS_DPS, metrics);
527 DynamicGrid.pxFromDp(WORKSPACE_OUTER_CIRCLE_RADIUS_DPS, metrics),
532 DynamicGrid.pxFromDp(WORKSPACE_INNER_CIRCLE_RADIUS_DPS, metrics),
549 int offset = DynamicGrid.pxFromDp(WORKSPACE_CIRCLE_Y_OFFSET_DPS, metrics);
553 DynamicGrid.pxFromDp(MIGRATION_WORKSPACE_OUTER_CIRCLE_RADIUS_DPS, metrics),
559 DynamicGrid.pxFromDp(MIGRATION_WORKSPACE_INNER_CIRCLE_RADIUS_DPS, metrics),
DeviceProfile.java 211 allAppsIconSizePx = DynamicGrid.pxFromDp(iconSize, dm);
222 allAppsIconTextSizePx = DynamicGrid.pxFromDp(iconTextSize, dm);
313 iconSizePx = (int) (DynamicGrid.pxFromDp(iconSize, dm) * scale);
316 hotseatIconSizePx = (int) (DynamicGrid.pxFromDp(hotseatIconSize, dm) * scale);
    [all...]

Completed in 445 milliseconds