Home
last modified time | relevance | path

Searched defs:dpToPx (Results 1 – 10 of 10) 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/common/pip/
DPipUtils.kt80 fun dpToPx(dpValue: Float, dm: DisplayMetrics?): Int { in dpToPx() method
DPipBoundsAlgorithm.java409 private int dpToPx(float dpValue, DisplayMetrics dm) { in dpToPx() method in PipBoundsAlgorithm
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/
DActionButtonViewBinder.kt83 private fun View.dpToPx(dimenId: Int): Int { in dpToPx() method in com.android.systemui.screenshot.ui.binder.ActionButtonViewBinder
/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/core/java/android/view/
DRoundScrollbarRenderer.java191 private float dpToPx(float dp) { in dpToPx() method in RoundScrollbarRenderer
/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.java1375 private int dpToPx(float dp) { in dpToPx() method in PeopleTileViewHelper