Searched refs:roundedTrueCrop (Results 1 – 2 of 2) sorted by relevance
597 Rect roundedTrueCrop = new Rect();606 mCropBounds.roundOut(roundedTrueCrop);607 mCropBounds = new RectF(roundedTrueCrop);626 mCropBounds.roundOut(roundedTrueCrop);628 if (roundedTrueCrop.width() <= 0 || roundedTrueCrop.height() <= 0) {635 int scaleDownSampleSize = Math.max(1, Math.min(roundedTrueCrop.width() / mOutWidth,636 roundedTrueCrop.height() / mOutHeight));663 crop = decoder.decodeRegion(roundedTrueCrop, options);686 mCropBounds.roundOut(roundedTrueCrop);689 if (roundedTrueCrop.width() > fullSize.getWidth()) {[all …]
673 Rect roundedTrueCrop = new Rect(); in getBuiltInDrawable() local674 cropRectF.roundOut(roundedTrueCrop); in getBuiltInDrawable()676 if (roundedTrueCrop.width() <= 0 || roundedTrueCrop.height() <= 0) { in getBuiltInDrawable()682 int scaleDownSampleSize = Math.min(roundedTrueCrop.width() / outWidth, in getBuiltInDrawable()683 roundedTrueCrop.height() / outHeight); in getBuiltInDrawable()700 crop = decoder.decodeRegion(roundedTrueCrop, options); in getBuiltInDrawable()715 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, in getBuiltInDrawable()716 roundedTrueCrop.top, roundedTrueCrop.width(), in getBuiltInDrawable()717 roundedTrueCrop.height()); in getBuiltInDrawable()