Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGradientView.java75 this.mMaskHeight = Utilities.pxFromDp(ALPHA_MASK_HEIGHT_DP, dm); in GradientView()
76 this.mMaskWidth = Utilities.pxFromDp(ALPHA_MASK_WIDTH_DP, dm); in GradientView()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java230 ? Utilities.pxFromDp(inv.iconSize, dm) in DeviceProfile()
349 iconSizePx = (int) (Utilities.pxFromDp(invIconSizePx, dm) * scale); in updateIconSize()
428 folderChildIconSizePx = (int) (Utilities.pxFromDp(inv.iconSize, dm) * scale); in updateFolderCellSize()
DInvariantDeviceProfile.java157 iconBitmapSize = Utilities.pxFromDp(iconSize, dm); in InvariantDeviceProfile()
DUtilities.java483 public static int pxFromDp(float size, DisplayMetrics metrics) { in pxFromDp() method in Utilities
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsBottomSheet.java149 leftPaddingView.getLayoutParams().width = Utilities.pxFromDp( in onWidgetsBound()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java177 float finalRadius = Utilities.pxFromDp(2, mContext.getResources().getDisplayMetrics()); in getAnimator()