Searched refs:inHeight (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()114 cropRect.bottom = inHeight; in getMaxCropRect()115 cropRect.left = (inWidth - (outWidth / (float) outHeight) * inHeight) / 2; in getMaxCropRect()124 cropRect.top = (inHeight - (outHeight / (float) outWidth) * inWidth) / 2; in getMaxCropRect()125 cropRect.bottom = inHeight - cropRect.top; in getMaxCropRect()