Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/display/
DDensityPreference.java48 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in getCurrentSwDp() local
49 return (int) (minDimensionPx / density); in getCurrentSwDp()
71 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in onDialogClosed() local
72 final int newDensity = DisplayMetrics.DENSITY_MEDIUM * minDimensionPx / newSwDp; in onDialogClosed()