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.java635 int scaleDownSampleSize = Math.max(1, Math.min(roundedTrueCrop.width() / mOutWidth, local
660 if (scaleDownSampleSize > 1) {
661 options.inSampleSize = scaleDownSampleSize;
673 if (scaleDownSampleSize > 1) {
674 options.inSampleSize = scaleDownSampleSize;
681 scaleDownSampleSize = bounds.x / fullSize.getWidth();
682 mCropBounds.left /= scaleDownSampleSize;
683 mCropBounds.top /= scaleDownSampleSize;
684 mCropBounds.bottom /= scaleDownSampleSize;
685 mCropBounds.right /= scaleDownSampleSize;
/frameworks/base/core/java/android/app/
DWallpaperManager.java570 int scaleDownSampleSize = Math.min(roundedTrueCrop.width() / outWidth, in getBuiltInDrawable() local
585 if (scaleDownSampleSize > 1) { in getBuiltInDrawable()
586 options.inSampleSize = scaleDownSampleSize; in getBuiltInDrawable()
598 if (scaleDownSampleSize > 1) { in getBuiltInDrawable()
599 options.inSampleSize = scaleDownSampleSize; in getBuiltInDrawable()