Home
last modified time | relevance | path

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

/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java632 int scaleDownSampleSize = Math.max(1, Math.min(roundedTrueCrop.width() / mOutWidth, local
657 if (scaleDownSampleSize > 1) {
658 options.inSampleSize = scaleDownSampleSize;
670 if (scaleDownSampleSize > 1) {
671 options.inSampleSize = scaleDownSampleSize;
678 scaleDownSampleSize = bounds.x / fullSize.getWidth();
679 mCropBounds.left /= scaleDownSampleSize;
680 mCropBounds.top /= scaleDownSampleSize;
681 mCropBounds.bottom /= scaleDownSampleSize;
682 mCropBounds.right /= scaleDownSampleSize;
/frameworks/base/core/java/android/app/
DWallpaperManager.java743 int scaleDownSampleSize = Math.min(roundedTrueCrop.width() / outWidth, in getBuiltInDrawable() local
758 if (scaleDownSampleSize > 1) { in getBuiltInDrawable()
759 options.inSampleSize = scaleDownSampleSize; in getBuiltInDrawable()
771 if (scaleDownSampleSize > 1) { in getBuiltInDrawable()
772 options.inSampleSize = scaleDownSampleSize; in getBuiltInDrawable()