Searched refs:targetRatio (Results 1 – 5 of 5) sorted by relevance
53 double targetRatio = (double) w / h; in getOptimalVideoSize() local77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize()
269 double targetRatio = (double) w / h; in getOptimalPreviewSize() local280 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; in getOptimalPreviewSize()
288 double targetRatio = (double) w / h; in getOptimalPreviewSize() local300 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize()