Searched refs:inSampleSize (Results 1 – 11 of 11) sorted by relevance
95 android.graphics.BitmapFactory.Options#inSampleSize} to {@code true} in your {@link97 is decoded with an {@link android.graphics.BitmapFactory.Options#inSampleSize} of 4 produces a108 int inSampleSize = 1;116 // Choose the smallest ratio as inSampleSize value, this will guarantee119 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio;122 return inSampleSize;127 android.graphics.BitmapFactory.Options#inSampleSize} values is faster and more efficient for the134 android.graphics.BitmapFactory.Options#inSampleSize} value and {@link147 // Calculate inSampleSize148 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);[all …]
288 int width = targetOptions.outWidth / targetOptions.inSampleSize;289 int height = targetOptions.outHeight / targetOptions.inSampleSize;
112 options.inSampleSize = 1; in createImageThumbnail()119 options.inSampleSize = computeSampleSize( in createImageThumbnail()318 options.inSampleSize = 1; in makeBitmap()325 options.inSampleSize = computeSampleSize( in makeBitmap()500 exifOptions.inSampleSize = computeSampleSize(exifOptions, targetSize, maxPixels); in createThumbnailFromEXIF()501 exifThumbWidth = exifOptions.outWidth / exifOptions.inSampleSize; in createThumbnailFromEXIF()507 fullOptions.inSampleSize = computeSampleSize(fullOptions, targetSize, maxPixels); in createThumbnailFromEXIF()508 fullThumbWidth = fullOptions.outWidth / fullOptions.inSampleSize; in createThumbnailFromEXIF()
393 mBitmapOptions.inSampleSize = 1; in MediaScanner()
213 …// Calculate the correct inSampleSize/scale value. This helps reduce memory use. It should be a po…214 int inSampleSize = 1;218 inSampleSize *= 2;223 // Decode with inSampleSize226 options.inSampleSize = inSampleSize;
161 decodeOptions.inSampleSize = in doParse()
112 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); in createLocalBitmap()
96 public int inSampleSize; field in BitmapFactory.Options
252 bmOptions.inSampleSize = scaleFactor;
979 options.inSampleSize = sampleSize; in scaleImage()
8648 field public int inSampleSize;