Lines Matching refs:pxFromDp

33 import static com.android.launcher3.testing.shared.ResourceUtils.pxFromDp;
391 int transientTaskbarIconSize = pxFromDp(inv.transientTaskbarIconSize[mTypeIndex], mMetrics); in DeviceProfile()
410 taskbarIconSize = pxFromDp(ResourcesCompat.getFloat(res, R.dimen.taskbar_icon_size), in DeviceProfile()
493 pxFromDp(inv.allAppsBorderSpaces[mTypeIndex].x, mMetrics), in DeviceProfile()
494 pxFromDp(inv.allAppsBorderSpaces[mTypeIndex].y, mMetrics)); in DeviceProfile()
589 hotseatQsbSpace = pxFromDp(inv.hotseatQsbSpace[mTypeIndex], mMetrics); in DeviceProfile()
590 hotseatBarBottomSpace = pxFromDp(inv.hotseatBarBottomSpace[mTypeIndex], mMetrics); in DeviceProfile()
626 updateHotseatSizes(pxFromDp(inv.iconSize[mTypeIndex], mMetrics)); in DeviceProfile()
845 ? pxFromDp(idp.horizontalMargin[mTypeIndex], mMetrics) in getHorizontalMarginPx()
980 horizontalSpacePx = pxFromDp(idp.borderSpaces[mTypeIndex].x, mMetrics, scale); in getCellLayoutBorderSpace()
981 verticalSpacePx = pxFromDp(idp.borderSpaces[mTypeIndex].y, mMetrics, scale); in getCellLayoutBorderSpace()
1084 iconSizePx = Math.max(1, pxFromDp(invIconSizeDp, mMetrics)); in updateAvailableDimensions()
1199 cellWidthPx = pxFromDp(inv.minCellSize[mTypeIndex].x, mMetrics, scale);
1200 cellHeightPx = pxFromDp(inv.minCellSize[mTypeIndex].y, mMetrics, scale);
1296 float minSpacing = pxFromDp(MIN_WIDGET_PADDING_DP, mMetrics);
1325 pxFromDp(inv.allAppsBorderSpaces[mTypeIndex].x, mMetrics, scale),
1326 pxFromDp(inv.allAppsBorderSpaces[mTypeIndex].y, mMetrics, scale));
1329 allAppsCellHeightPx = pxFromDp(inv.allAppsCellSize[mTypeIndex].y, mMetrics)
1334 allAppsIconSizePx = pxFromDp(inv.allAppsIconSize[mTypeIndex], mMetrics);
1337 allAppsCellWidthPx = pxFromDp(inv.allAppsCellSize[mTypeIndex].x, mMetrics, scale);
1367 allAppsIconSizePx = Math.max(1, pxFromDp(invIconSizeDp, mMetrics, scale));
1532 folderChildIconSizePx = Math.max(1, pxFromDp(invIconSizeDp, mMetrics, scale));