Home
last modified time | relevance | path

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

/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
DImageResizer.java120 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromResource()
145 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromFile()
170 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromDescriptor()
191 public static int calculateInSampleSize(BitmapFactory.Options options, in calculateInSampleSize() method in ImageResizer