Searched refs:ASPECT_TOLERANCE (Results 1 – 6 of 6) sorted by relevance
52 final double ASPECT_TOLERANCE = 0.1; in getOptimalVideoSize() local77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize()
268 final double ASPECT_TOLERANCE = 0.1; in getOptimalPreviewSize() local280 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; in getOptimalPreviewSize()
287 final double ASPECT_TOLERANCE = 0.1; in getOptimalPreviewSize() local300 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize()
467 final float ASPECT_TOLERANCE = 0.1f; in configureSurfaces() local480 Math.abs(candidateAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in configureSurfaces()482 Math.abs(outputAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in configureSurfaces()