Home
last modified time | relevance | path

Searched refs:dpValue (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DNavigationBarUtils.java39 static int dpToPx(float dpValue, Resources res) { in dpToPx() argument
40 return (int) TypedValue.applyDimension(COMPLEX_UNIT_DIP, dpValue, res.getDisplayMetrics()); in dpToPx()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipUtils.kt80 fun dpToPx(dpValue: Float, dm: DisplayMetrics?): Int { in dpToPx()
81 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dpValue, dm).toInt() in dpToPx()
DPipBoundsAlgorithm.java409 private int dpToPx(float dpValue, DisplayMetrics dm) { in dpToPx() argument
410 return PipUtils.dpToPx(dpValue, dm); in dpToPx()
/frameworks/base/core/java/android/util/
DTypedValue.java478 final float dpValue = deriveDimension(COMPLEX_UNIT_DIP, pixelValue, metrics); in deriveDimension() local
479 return metrics.fontScaleConverter.convertDpToSp(dpValue); in deriveDimension()