Lines Matching defs:opts
107 final BitmapFactory.Options opts = new BitmapFactory.Options();
108 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize);
109 result.bitmap = decodeStream(factory, null, opts);
136 * @param opts null-ok; Options that control downsampling and whether the
139 * decoded, or, if opts is non-null, if opts requested only the
140 * size be returned (in opts.outWidth and opts.outHeight)
143 final BitmapFactory.Options opts) throws FileNotFoundException {
155 final Bitmap originalBitmap = BitmapFactory.decodeStream(is, outPadding, opts);
157 if (is != null && originalBitmap == null && !opts.inJustDecodeBounds) {
198 final BitmapFactory.Options opts = new BitmapFactory.Options();
199 opts.inJustDecodeBounds = true;
200 decodeStream(factory, null, opts);
202 return new Point(opts.outWidth, opts.outHeight);