Searched refs:inWidth (Results 1 – 1 of 1) sorted by relevance
109 int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) { in getMaxCropRect() argument112 if (inWidth / (float) inHeight > outWidth / (float) outHeight) { in getMaxCropRect()115 cropRect.left = (inWidth - (outWidth / (float) outHeight) * inHeight) / 2; in getMaxCropRect()116 cropRect.right = inWidth - cropRect.left; in getMaxCropRect()123 cropRect.right = inWidth; in getMaxCropRect()124 cropRect.top = (inHeight - (outHeight / (float) outWidth) * inWidth) / 2; in getMaxCropRect()