Home
last modified time | relevance | path

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

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java125 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()
231 public static int calculateInSampleSize(BitmapFactory.Options options, in calculateInSampleSize() method in ImageResizer
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java367 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromDescriptor()
388 public static int calculateInSampleSize(BitmapFactory.Options options, in calculateInSampleSize() method in ImageLoader