Searched defs:dpToPx (Results 1 – 8 of 8) sorted by relevance
25 fun Number.dpToPx(context: Context): Float = dpToPx(resources = context.resources) method28 fun Number.dpToPx(resources: Resources): Float = dpToPx(displayMetrics = resources.displayMetrics) method31 fun Number.dpToPx(displayMetrics: DisplayMetrics): Float = method
39 static int dpToPx(float dpValue, Resources res) { in dpToPx() method in NavigationBarUtils
38 public static float dpToPx(DisplayMetrics metrics, float dp) { in dpToPx() method in FloatingWindowUtil
78 public static int dpToPx(float dpValue, DisplayMetrics dm) { in dpToPx() method in PipUtils
351 private int dpToPx(float dpValue, DisplayMetrics dm) { in dpToPx() method in PipBoundsAlgorithm
59 private static float dpToPx(DisplayMetrics metrics, float value) { in dpToPx() method in SysUiOverlay
66 static int dpToPx(int dp, float density) { in dpToPx() function
1369 private int dpToPx(float dp) { in dpToPx() method in PeopleTileViewHelper