Searched refs:previewRatio (Results 1 – 2 of 2) sorted by relevance
411 final double previewRatio = getRatio(previewSize.width, previewSize.height); in getBestPictureSize() local418 if (ratio == previewRatio) { in getBestPictureSize()420 } else if (Math.abs(ratio - previewRatio) < MAX_RATIO_DIFF) { in getBestPictureSize()
3278 float previewRatio = static_cast<float>(previewWidth) / previewHeight; in calculateCropRegion() local3289 if (previewRatio >= arrayRatio) { in calculateCropRegion()