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 …]
544 Rect roundedTrueCrop = new Rect(); in getBuiltInDrawable() local545 cropRectF.roundOut(roundedTrueCrop); in getBuiltInDrawable()547 if (roundedTrueCrop.width() <= 0 || roundedTrueCrop.height() <= 0) { in getBuiltInDrawable()553 int scaleDownSampleSize = Math.min(roundedTrueCrop.width() / outWidth, in getBuiltInDrawable()554 roundedTrueCrop.height() / outHeight); in getBuiltInDrawable()571 crop = decoder.decodeRegion(roundedTrueCrop, options); in getBuiltInDrawable()586 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, in getBuiltInDrawable()587 roundedTrueCrop.top, roundedTrueCrop.width(), in getBuiltInDrawable()588 roundedTrueCrop.height()); in getBuiltInDrawable()