Searched refs:roundedTrueCrop (Results 1 – 2 of 2) sorted by relevance
594 Rect roundedTrueCrop = new Rect();603 mCropBounds.roundOut(roundedTrueCrop);604 mCropBounds = new RectF(roundedTrueCrop);623 mCropBounds.roundOut(roundedTrueCrop);625 if (roundedTrueCrop.width() <= 0 || roundedTrueCrop.height() <= 0) {632 int scaleDownSampleSize = Math.max(1, Math.min(roundedTrueCrop.width() / mOutWidth,633 roundedTrueCrop.height() / mOutHeight));660 crop = decoder.decodeRegion(roundedTrueCrop, options);683 mCropBounds.roundOut(roundedTrueCrop);686 if (roundedTrueCrop.width() > fullSize.getWidth()) {[all …]
1169 Rect roundedTrueCrop = new Rect(); in getBuiltInDrawable() local1170 cropRectF.roundOut(roundedTrueCrop); in getBuiltInDrawable()1172 if (roundedTrueCrop.width() <= 0 || roundedTrueCrop.height() <= 0) { in getBuiltInDrawable()1178 int scaleDownSampleSize = Math.min(roundedTrueCrop.width() / outWidth, in getBuiltInDrawable()1179 roundedTrueCrop.height() / outHeight); in getBuiltInDrawable()1196 crop = decoder.decodeRegion(roundedTrueCrop, options); in getBuiltInDrawable()1211 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, in getBuiltInDrawable()1212 roundedTrueCrop.top, roundedTrueCrop.width(), in getBuiltInDrawable()1213 roundedTrueCrop.height()); in getBuiltInDrawable()