Lines Matching refs:options
102 public static int computeSampleSize(BitmapFactory.Options options, in computeSampleSize() argument
104 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize()
120 private static int computeInitialSampleSize(BitmapFactory.Options options, in computeInitialSampleSize() argument
122 double w = options.outWidth; in computeInitialSampleSize()
123 double h = options.outHeight; in computeInitialSampleSize()
280 BitmapFactory.Options options = null; in makeBitmap() local
282 options = createNativeAllocOptions(); in makeBitmap()
285 options); in makeBitmap()
295 BitmapFactory.Options options = null; in makeBitmap() local
297 options = createNativeAllocOptions(); in makeBitmap()
300 options); in makeBitmap()
305 BitmapFactory.Options options) { in makeBitmap() argument
309 if (options == null) options = new BitmapFactory.Options(); in makeBitmap()
312 options.inJustDecodeBounds = true; in makeBitmap()
313 BitmapManager.instance().decodeFileDescriptor(fd, options); in makeBitmap()
314 if (options.mCancel || options.outWidth == -1 in makeBitmap()
315 || options.outHeight == -1) { in makeBitmap()
318 options.inSampleSize = computeSampleSize( in makeBitmap()
319 options, minSideLength, maxNumOfPixels); in makeBitmap()
320 options.inJustDecodeBounds = false; in makeBitmap()
322 options.inDither = false; in makeBitmap()
323 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in makeBitmap()
324 return BitmapManager.instance().decodeFileDescriptor(fd, options); in makeBitmap()