Lines Matching defs:srcH
186 final int srcW, srcH; // Orientation corrected.
189 srcH = mOpts.outHeight;
192 srcH = mOpts.outWidth;
194 mOpts.inSampleSize = calculateSampleSize(srcW, srcH, mDestW, mDestH);
348 final int srcW, srcH; //Orientation corrected.
352 srcH = mOpts.outHeight;
355 srcH = mOpts.outWidth;
360 BitmapUtils.calculateCroppedSrcRect(srcW, srcH, mDestW, mDestH, mDestH, mOpts.inSampleSize,
363 + " srcW/H=" + srcW + "/" + srcH
369 RectUtils.rotateRectForOrientation(orientation, new Rect(0, 0, srcW, srcH), outSrcRect);
409 private static int calculateSampleSize(int srcW, int srcH, int destW, int destH) {
412 final float sz = Math.min((float) srcW / destW, (float) srcH / destH);