Lines Matching refs:opt
1937 BitmapFactory.Options opt = new BitmapFactory.Options();
1938 opt.inJustDecodeBounds = true;
1939 BitmapFactory.decodeStream(is, null, opt);
1943 width = opt.outWidth;
1944 height = opt.outHeight;
1945 if (opt.outWidth > getMaxImageWidthPx()) {
1947 height = height * getMaxImageWidthPx() / opt.outWidth;
2632 BitmapFactory.Options opt = new BitmapFactory.Options();
2633 opt.inJustDecodeBounds = true;
2634 BitmapFactory.decodeStream(is, null, opt);
2638 width = opt.outWidth;
2639 height = opt.outHeight;
2642 if (opt.outWidth > MAXWIDTH) {
2644 height = height * MAXWIDTH / opt.outWidth;