Home
last modified time | relevance | path

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

/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DUtils.java101 int inSampleSize = 1; in calculateInSampleSize() local
110 while ((halfHeight / inSampleSize) > reqHeight in calculateInSampleSize()
111 && (halfWidth / inSampleSize) > reqWidth) { in calculateInSampleSize()
112 inSampleSize *= 2; in calculateInSampleSize()
116 return inSampleSize; in calculateInSampleSize()
128 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromResource()
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java251 mOpts.inSampleSize = Math.max(1, sampleSize); in decode()
306 Trace.beginSection("decodeCropped" + mOpts.inSampleSize); in decode()
326 mDecodeOpts.destH, mDecodeOpts.destH, mOpts.inSampleSize, in decode()
374 Trace.beginSection("decode" + mOpts.inSampleSize); in decode()
384 + mOpts.inSampleSize); in decode()
386 if (mOpts.inSampleSize > 1) { in decode()
388 mOpts.inSampleSize = 1; in decode()
408 result.setLogicalWidth((srcRect.right - srcRect.left) / mOpts.inSampleSize); in decode()
410 (srcRect.bottom - srcRect.top) / mOpts.inSampleSize); in decode()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java189 int inSampleSize = 1; in calculateSampleSize() local
198 while ((halfHeight / inSampleSize) >= requestedSize.getHeight() in calculateSampleSize()
199 && (halfWidth / inSampleSize) >= requestedSize.getWidth()) { in calculateSampleSize()
200 inSampleSize *= 2; in calculateSampleSize()
204 return inSampleSize; in calculateSampleSize()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java127 int sampleSize = Math.max(options.inSampleSize, 1); in decodeRegion()
190 opts.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale); in loadInBackground()
449 mOptions.inSampleSize = (1 << level); in getTile()
474 mOptions.inSampleSize = (1 << level); in getTileWithoutReusingBitmap()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperCropper.java674 options.inSampleSize = scale; in generateCropInternal()
678 if (!multiCrop()) estimateCrop.scale(1f / options.inSampleSize); in generateCropInternal()
699 estimateCrop.scale(1f / options.inSampleSize); in generateCropInternal()
717 Slog.v(TAG, " down sampling=" + options.inSampleSize in generateCropInternal()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java108 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); in createLocalBitmap()
/frameworks/base/media/tests/MtpTests/src/android/mtp/
DMtpDatabaseTest.java204 options.inSampleSize = sampleSize; in decodeBitmapFromBytes()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java138 public int inSampleSize; field in BitmapFactory.Options
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java658 options.inSampleSize = scaleDownSampleSize;
671 options.inSampleSize = scaleDownSampleSize;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java177 opts.inSampleSize = 2; in DessertCaseView()
/frameworks/base/core/java/android/app/
DWallpaperManager.java1194 options.inSampleSize = scaleDownSampleSize; in getBuiltInDrawable()
1207 options.inSampleSize = scaleDownSampleSize; in getBuiltInDrawable()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10527 field public int inSampleSize;
/frameworks/base/core/api/
Dcurrent.txt15580 field public int inSampleSize;