HomeSort by relevance Sort by last modified time
    Searched defs:inSampleSize (Results 1 - 5 of 5) sorted by null

  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 124 // Calculate inSampleSize
125 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
133 // Decode bitmap with inSampleSize set
156 // Calculate inSampleSize
157 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
164 // Decode bitmap with inSampleSize set
187 // Calculate inSampleSize
188 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
190 // Decode bitmap with inSampleSize set
220 * Calculate an inSampleSize for use in a {@link android.graphics.BitmapFactory.Options} object when decodin
    [all...]
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 124 // Calculate inSampleSize
125 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
133 // Decode bitmap with inSampleSize set
156 // Calculate inSampleSize
157 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
164 // Decode bitmap with inSampleSize set
187 // Calculate inSampleSize
188 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
190 // Decode bitmap with inSampleSize set
220 * Calculate an inSampleSize for use in a {@link android.graphics.BitmapFactory.Options} object when decodin
    [all...]
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageResizer.java 124 // Calculate inSampleSize
125 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
133 // Decode bitmap with inSampleSize set
156 // Calculate inSampleSize
157 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
164 // Decode bitmap with inSampleSize set
187 // Calculate inSampleSize
188 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
190 // Decode bitmap with inSampleSize set
220 * Calculate an inSampleSize for use in a {@link android.graphics.BitmapFactory.Options} object when decodin
    [all...]
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageLoader.java 366 // Calculate inSampleSize
367 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
369 // Decode bitmap with inSampleSize set
375 * Calculate an inSampleSize for use in a {@link BitmapFactory.Options} object when decoding
377 * the closest inSampleSize that will result in the final decoded bitmap having a width and
379 * ensure a power of 2 is returned for inSampleSize which can be faster when decoding but
386 * @return The value to be used for inSampleSize
393 int inSampleSize = 1;
401 // Choose the smallest ratio as inSampleSize value, this will guarantee a final image
403 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio
    [all...]
  /external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
SubsamplingScaleImageView.java     [all...]

Completed in 286 milliseconds