Searched refs:aspectRatioTolerance (Results 1 – 3 of 3) sorted by relevance
66 double targetRatio, Double aspectRatioTolerance) { in getOptimalPreviewSize() argument88 aspectRatioTolerance); in getOptimalPreviewSize()
504 final double aspectRatioTolerance = 0.02; in getOptimalPreviewSizeIndex() local506 return getOptimalPreviewSizeIndex(sizes, targetRatio, aspectRatioTolerance); in getOptimalPreviewSizeIndex()523 List<Size> previewSizes, double targetRatio, Double aspectRatioTolerance) { in getOptimalPreviewSizeIndex() argument530 if (aspectRatioTolerance == null) { in getOptimalPreviewSizeIndex()548 if (Math.abs(ratio - targetRatio) > aspectRatioTolerance) { in getOptimalPreviewSizeIndex()
733 Double aspectRatioTolerance = sCaptureImageFormat == ImageFormat.RAW_SENSOR ? 10d : null; in pickPreviewSize() local735 pictureAspectRatio, aspectRatioTolerance); in pickPreviewSize()