Searched refs:maxArea (Results 1 – 1 of 1) sorted by relevance
191 private static Size clampSize(Size original, double maxArea, Size maxSize) { in clampSize() argument192 if (original.getWidth() * original.getHeight() < maxArea && in clampSize()202 double ratio = Math.min(Math.sqrt(maxArea / original.area()), 1.0f); in clampSize()