Lines Matching refs:options
54 options via the {@link android.graphics.BitmapFactory.Options} class. Setting the {@link
64 BitmapFactory.Options options = new BitmapFactory.Options();
65 options.inJustDecodeBounds = true;
66 BitmapFactory.decodeResource(getResources(), R.id.myimage, options);
67 int imageHeight = options.outHeight;
68 int imageWidth = options.outWidth;
69 String imageType = options.outMimeType;
105 BitmapFactory.Options options, int reqWidth, int reqHeight) {
107 final int height = options.outHeight;
108 final int width = options.outWidth;
133 android.graphics.BitmapFactory.Options#inJustDecodeBounds} set to {@code true}, pass the options
144 final BitmapFactory.Options options = new BitmapFactory.Options();
145 options.inJustDecodeBounds = true;
146 BitmapFactory.decodeResource(res, resId, options);
149 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
152 options.inJustDecodeBounds = false;
153 return BitmapFactory.decodeResource(res, resId, options);