• Home
  • Raw
  • Download

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()
335 BitmapFactory.Options options = new BitmapFactory.Options(); in makeBitmap() local
336 options.inJustDecodeBounds = true; in makeBitmap()
338 options); in makeBitmap()
339 if (options.mCancel || options.outWidth == -1 in makeBitmap()
340 || options.outHeight == -1) { in makeBitmap()
343 options.inSampleSize = computeSampleSize( in makeBitmap()
344 options, IImage.UNCONSTRAINED, maxNumOfPixels); in makeBitmap()
345 options.inJustDecodeBounds = false; in makeBitmap()
347 options.inDither = false; in makeBitmap()
348 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in makeBitmap()
350 options); in makeBitmap()
458 BitmapFactory.Options options = new BitmapFactory.Options(); in createNativeAllocOptions() local
459 options.inNativeAlloc = true; in createNativeAllocOptions()
460 return options; in createNativeAllocOptions()