Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DInputStreamProvider.java102 int scaleDownSampleSize = Math.max(1, Math.min(roundedTrueCrop.width() / outWidth, in readCroppedBitmap() local
121 if (scaleDownSampleSize > 1) { in readCroppedBitmap()
122 options.inSampleSize = scaleDownSampleSize; in readCroppedBitmap()
134 if (scaleDownSampleSize > 1) { in readCroppedBitmap()
135 options.inSampleSize = scaleDownSampleSize; in readCroppedBitmap()
142 scaleDownSampleSize = bounds.x / fullSize.getWidth(); in readCroppedBitmap()
143 cropBounds.left /= scaleDownSampleSize; in readCroppedBitmap()
144 cropBounds.top /= scaleDownSampleSize; in readCroppedBitmap()
145 cropBounds.bottom /= scaleDownSampleSize; in readCroppedBitmap()
146 cropBounds.right /= scaleDownSampleSize; in readCroppedBitmap()