Home
last modified time | relevance | path

Searched defs:dpToPx (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/
DDimension.kt25 fun Number.dpToPx(context: Context): Float = dpToPx(resources = context.resources) method
28 fun Number.dpToPx(resources: Resources): Float = dpToPx(displayMetrics = resources.displayMetrics) method
31 fun Number.dpToPx(displayMetrics: DisplayMetrics): Float = method
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DNavigationBarUtils.java39 static int dpToPx(float dpValue, Resources res) { in dpToPx() method in NavigationBarUtils
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DFloatingWindowUtil.java38 public static float dpToPx(DisplayMetrics metrics, float dp) { in dpToPx() method in FloatingWindowUtil
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipUtils.java78 public static int dpToPx(float dpValue, DisplayMetrics dm) { in dpToPx() method in PipUtils
DPipBoundsAlgorithm.java351 private int dpToPx(float dpValue, DisplayMetrics dm) { in dpToPx() method in PipBoundsAlgorithm
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java59 private static float dpToPx(DisplayMetrics metrics, float value) { in dpToPx() method in SysUiOverlay
/frameworks/base/libs/hwui/
DFrameInfoVisualizer.cpp66 static int dpToPx(int dp, float density) { in dpToPx() function
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java1369 private int dpToPx(float dp) { in dpToPx() method in PeopleTileViewHelper