Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DResourceUtils.java38 frameSize = pxFromDp(defaultValue, res.getDisplayMetrics()); in getDimenByName()
43 public static int pxFromDp(float size, DisplayMetrics metrics) { in pxFromDp() method in ResourceUtils
DDeviceProfile.java208 hotseatBarSizePx = ResourceUtils.pxFromDp(inv.iconSize, dm) + (isVerticalBarLayout() in DeviceProfile()
314 iconSizePx = Math.max(1, (int) (ResourceUtils.pxFromDp(invIconSizePx, dm) * scale)); in updateIconSize()
394 folderChildIconSizePx = (int) (ResourceUtils.pxFromDp(inv.iconSize, dm) * scale); in updateFolderCellSize()
DInvariantDeviceProfile.java213 iconBitmapSize = ResourceUtils.pxFromDp(iconSize, dm); in initGrid()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DWorkspaceAndHotseatScrim.java151 mMaskHeight = ResourceUtils.pxFromDp(ALPHA_MASK_BITMAP_DP, in WorkspaceAndHotseatScrim()
300 int width = ResourceUtils.pxFromDp(ALPHA_MASK_WIDTH_DP, dm); in createDitheredAlphaMask()
301 int gradientHeight = ResourceUtils.pxFromDp(ALPHA_MASK_HEIGHT_DP, dm); in createDitheredAlphaMask()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsBottomSheet.java129 leftPaddingView.getLayoutParams().width = ResourceUtils.pxFromDp( in onWidgetsBound()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java172 float finalRadius = ResourceUtils.pxFromDp(2, mContext.getResources().getDisplayMetrics()); in getAnimator()