Searched refs:maxAspectRatio (Results 1 – 2 of 2) sorted by relevance
797 float maxAspectRatio = (float)sz.getWidth() / (float)sz.getHeight(); in isSizeWithinSensorMargin() local798 if (sensorAspectRatio < maxAspectRatio) { in isSizeWithinSensorMargin()799 croppedHeight = (float)sensorSize.getWidth() / maxAspectRatio; in isSizeWithinSensorMargin()800 } else if (sensorAspectRatio > maxAspectRatio) { in isSizeWithinSensorMargin()801 croppedWidth = (float)sensorSize.getHeight() * maxAspectRatio; in isSizeWithinSensorMargin()
1160 field public static final int maxAspectRatio = 16844128; // 0x1010560