Lines Matching refs:cropRect
786 Rect cropRect = mCurrentCrop;
790 if (!cropRect.isEmpty()) {
819 if (cropRect.width() < bufferWidth) {
820 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth;
821 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) /
824 if (cropRect.height() < bufferHeight) {
825 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) /
827 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) /
1073 const Rect& cropRect,
1078 bool cropInvalid = hasEglAndroidImageCrop() && mCropRect != cropRect;
1091 mCropRect = cropRect;