Searched refs:bitmapOptions (Results 1 – 2 of 2) sorted by relevance
183 BitmapFactory.Options bitmapOptions = null; in decodeBitmap() local189 bitmapOptions = new BitmapFactory.Options(); in decodeBitmap()190 bitmapOptions.inJustDecodeBounds = true; in decodeBitmap()192 bitmapOptions.inPreferredConfig = options.getBitmapConfig(); in decodeBitmap()194 bitmapOptions.inTempStorage = ByteArrayPool.get16KBPool().allocateChunk(); in decodeBitmap()196 BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions); in decodeBitmap()198 mOriginalWidth = bitmapOptions.outWidth; in decodeBitmap()199 mOriginalHeight = bitmapOptions.outHeight; in decodeBitmap()203 heightScale = bitmapOptions.outHeight / height; in decodeBitmap()209 widthScale = bitmapOptions.outWidth / width; in decodeBitmap()[all …]
198 BitmapFactory.Options bitmapOptions = null;204 bitmapOptions = new BitmapFactory.Options();205 bitmapOptions.inJustDecodeBounds = true;207 bitmapOptions.inPreferredConfig = options.getBitmapConfig();209 bitmapOptions.inTempStorage = ByteArrayPool.get16KBPool().allocateChunk();211 BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions);217 heightScale = (float) bitmapOptions.outHeight / height;225 widthScale = (float) bitmapOptions.outWidth / width;232 Log.d("BitmapWorkerTask", "Source bitmap: (" + bitmapOptions.outWidth + "x"233 + bitmapOptions.outHeight + "). Max size: (" + options.getWidth() + "x"[all …]