Searched refs:mCropSize (Results 1 – 1 of 1) sorted by relevance
125 private int mCropSize; field in PhotoView729 mCropSize = Math.min(sCropSize, Math.min(layoutWidth, layoutHeight)); in onLayout()730 final int cropLeft = (layoutWidth - mCropSize) / 2; in onLayout()731 final int cropTop = (layoutHeight - mCropSize) / 2; in onLayout()732 final int cropRight = cropLeft + mCropSize; in onLayout()733 final int cropBottom = cropTop + mCropSize; in onLayout()888 return mCropSize > 0 ? mCropSize : sCropSize; in getCropSize()