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 …]
465 Rect roundedTrueCrop = new Rect(); in getBuiltInDrawable() local466 cropRectF.roundOut(roundedTrueCrop); in getBuiltInDrawable()468 if (roundedTrueCrop.width() <= 0 || roundedTrueCrop.height() <= 0) { in getBuiltInDrawable()474 int scaleDownSampleSize = Math.min(roundedTrueCrop.width() / outWidth, in getBuiltInDrawable()475 roundedTrueCrop.height() / outHeight); in getBuiltInDrawable()492 crop = decoder.decodeRegion(roundedTrueCrop, options); in getBuiltInDrawable()508 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, in getBuiltInDrawable()509 roundedTrueCrop.top, roundedTrueCrop.width(), in getBuiltInDrawable()510 roundedTrueCrop.height()); in getBuiltInDrawable()