Searched refs:inSampleSize (Results 1 – 8 of 8) sorted by relevance
125 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromResource()157 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromFile()188 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromDescriptor()237 int inSampleSize = 1; in calculateInSampleSize() local246 while ((halfHeight / inSampleSize) > reqHeight in calculateInSampleSize()247 && (halfWidth / inSampleSize) > reqWidth) { in calculateInSampleSize()248 inSampleSize *= 2; in calculateInSampleSize()257 long totalPixels = width * height / inSampleSize; in calculateInSampleSize()263 inSampleSize *= 2; in calculateInSampleSize()267 return inSampleSize; in calculateInSampleSize()
527 && targetOptions.inSampleSize == 1; in canUseForInBitmap()532 int width = targetOptions.outWidth / targetOptions.inSampleSize; in canUseForInBitmap()533 int height = targetOptions.outHeight / targetOptions.inSampleSize; in canUseForInBitmap()
367 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromDescriptor()393 int inSampleSize = 1; in calculateInSampleSize() local403 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio; in calculateInSampleSize()416 while (totalPixels / (inSampleSize * inSampleSize) > totalReqPixelsCap) { in calculateInSampleSize()417 inSampleSize++; in calculateInSampleSize()420 return inSampleSize; in calculateInSampleSize()
65 bitmapOptions.inSampleSize = sampleSize; in addScaledImageView()
195 bitmapOptions.inSampleSize = sampleSize; in run()
67 mBitmapOptions.inSampleSize = 1; in onCreate()
46 bmOptions.inSampleSize = scaleFactor; in scaleBitmap()
81 opts.inSampleSize = 4; // scaled down by 4 in SampleView()