Searched refs:pxFromDp (Results 1 – 6 of 6) sorted by relevance
75 this.mMaskHeight = Utilities.pxFromDp(ALPHA_MASK_HEIGHT_DP, dm); in GradientView()76 this.mMaskWidth = Utilities.pxFromDp(ALPHA_MASK_WIDTH_DP, dm); in GradientView()
230 ? 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()
157 iconBitmapSize = Utilities.pxFromDp(iconSize, dm); in InvariantDeviceProfile()
483 public static int pxFromDp(float size, DisplayMetrics metrics) { in pxFromDp() method in Utilities
149 leftPaddingView.getLayoutParams().width = Utilities.pxFromDp( in onWidgetsBound()
177 float finalRadius = Utilities.pxFromDp(2, mContext.getResources().getDisplayMetrics()); in getAnimator()