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

  /external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/
BitmapHelper.java 44 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
57 int inSampleSize = 1;
65 // Choose the smallest ratio as inSampleSize value, this will guarantee
68 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio;
71 return inSampleSize;
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
ImageResizer.java 123 // Calculate inSampleSize
124 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
131 // Decode bitmap with inSampleSize set
154 // Calculate inSampleSize
155 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
162 // Decode bitmap with inSampleSize set
185 // Calculate inSampleSize
186 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
188 // Decode bitmap with inSampleSize set
216 * Calculate an inSampleSize for use in a {@link BitmapFactory.Options} object when decodin
    [all...]
  /frameworks/base/graphics/java/android/graphics/
BitmapFactory.java 81 * sized bitmaps are supported, with {@link #inSampleSize} set to 1.
121 * pixel in the decoded bitmap. For example, inSampleSize == 4 returns
127 public int inSampleSize;
251 * based on density. (though {@link #inSampleSize} is supported)</p>
  /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...]
  /packages/apps/LegacyCamera/src/com/android/camera/
Camera.java     [all...]
VideoCamera.java     [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 142 milliseconds