Searched refs:targetRatio (Results 1 – 5 of 5) sorted by relevance
51 double targetRatio = (double) w / h; in getOptimalPreviewSize() local69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize()
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()