Searched refs:dpValue (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | NavigationBarUtils.java | 39 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/ |
D | PipUtils.kt | 80 fun dpToPx(dpValue: Float, dm: DisplayMetrics?): Int { in dpToPx() 81 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dpValue, dm).toInt() in dpToPx()
|
D | PipBoundsAlgorithm.java | 409 private int dpToPx(float dpValue, DisplayMetrics dm) { in dpToPx() argument 410 return PipUtils.dpToPx(dpValue, dm); in dpToPx()
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 478 final float dpValue = deriveDimension(COMPLEX_UNIT_DIP, pixelValue, metrics); in deriveDimension() local 479 return metrics.fontScaleConverter.convertDpToSp(dpValue); in deriveDimension()
|