Searched refs:roundedTrueCrop (Results 1 – 2 of 2) sorted by relevance
68 Rect roundedTrueCrop = new Rect(); in readCroppedBitmap() local82 cropBounds.roundOut(roundedTrueCrop); in readCroppedBitmap()83 cropBounds.set(roundedTrueCrop); in readCroppedBitmap()95 cropBounds.roundOut(roundedTrueCrop); in readCroppedBitmap()96 if (roundedTrueCrop.width() <= 0 || roundedTrueCrop.height() <= 0) { in readCroppedBitmap()102 int scaleDownSampleSize = Math.max(1, Math.min(roundedTrueCrop.width() / outWidth, in readCroppedBitmap()103 roundedTrueCrop.height() / outHeight)); in readCroppedBitmap()124 crop = decoder.decodeRegion(roundedTrueCrop, options); in readCroppedBitmap()147 cropBounds.roundOut(roundedTrueCrop); in readCroppedBitmap()150 if (roundedTrueCrop.width() > fullSize.getWidth()) { in readCroppedBitmap()[all …]
471 Rect roundedTrueCrop = new Rect(); in doInBackground() local472 trueCrop.roundOut(roundedTrueCrop); in doInBackground()474 if (roundedTrueCrop.width() <= 0 || roundedTrueCrop.height() <= 0) { in doInBackground()493 crop = decoder.decodeRegion(roundedTrueCrop, options); in doInBackground()505 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, in doInBackground()506 roundedTrueCrop.top, roundedTrueCrop.width(), in doInBackground()507 roundedTrueCrop.height()); in doInBackground()