Home
last modified time | relevance | path

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

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java1366 float averageDpi = (metrics.xdpi + metrics.ydpi)/2; in calculateInSampleSize() local
1367 scale = (minimumTileDpi/averageDpi) * scale; in calculateInSampleSize()
2481 float averageDpi = (metrics.xdpi + metrics.ydpi)/2; in setMinimumDpi() local
2482 setMaxScale(averageDpi/dpi); in setMinimumDpi()
2492 float averageDpi = (metrics.xdpi + metrics.ydpi)/2; in setMaximumDpi() local
2493 setMinScale(averageDpi / dpi); in setMaximumDpi()
2522 float averageDpi = (metrics.xdpi + metrics.ydpi)/2; in setMinimumTileDpi() local
2523 this.minimumTileDpi = (int)Math.min(averageDpi, minimumTileDpi); in setMinimumTileDpi()
2753 float averageDpi = (metrics.xdpi + metrics.ydpi)/2; in setDoubleTapZoomDpi() local
2754 setDoubleTapZoomScale(averageDpi/dpi); in setDoubleTapZoomDpi()