Searched refs:dip (Results 1 – 2 of 2) sorted by relevance
105 private int dipToPx(int dip) { in dipToPx() argument106 return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, in dipToPx()
123 public static int convertDipToPixels(Context context, int dip) { in convertDipToPixels() argument125 return Math.round(density * dip); in convertDipToPixels()