Home | History | Annotate | Download | only in testingcamera

Lines Matching refs:opts

66                     BitmapFactory.Options opts = new BitmapFactory.Options();
67 opts.inJustDecodeBounds = true;
69 jpegImage.length, opts);
71 if (opts.outWidth > 1024 || opts.outHeight > 1024) {
72 int scaleFactorX = opts.outWidth / 1024 + 1;
73 int scaleFactorY = opts.outHeight / 1024 + 1;
76 opts.inSampleSize = scaleFactor;
78 opts.inJustDecodeBounds = false;
80 jpegImage.length, opts);