Searched refs:roundedTrueCrop (Results 1 – 2 of 2) sorted by relevance
212 Rect roundedTrueCrop = new Rect(); in cropBitmap() local221 mCropBounds.roundOut(roundedTrueCrop); in cropBitmap()222 mCropBounds = new RectF(roundedTrueCrop); in cropBitmap()240 mCropBounds.roundOut(roundedTrueCrop); in cropBitmap()242 if (roundedTrueCrop.width() <= 0 || roundedTrueCrop.height() <= 0) { in cropBitmap()249 int scaleDownSampleSize = Math.max(1, Math.min(roundedTrueCrop.width() / mOutWidth, in cropBitmap()250 roundedTrueCrop.height() / mOutHeight)); in cropBitmap()277 crop = decoder.decodeRegion(roundedTrueCrop, options); in cropBitmap()300 mCropBounds.roundOut(roundedTrueCrop); in cropBitmap()303 if (roundedTrueCrop.width() > fullSize.getWidth()) { in cropBitmap()[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()