Home
last modified time | relevance | path

Searched refs:aspectRatioTolerance (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DCaptureModuleUtil.java66 double targetRatio, Double aspectRatioTolerance) { in getOptimalPreviewSize() argument
88 aspectRatioTolerance); in getOptimalPreviewSize()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java504 final double aspectRatioTolerance = 0.02; in getOptimalPreviewSizeIndex() local
506 return getOptimalPreviewSizeIndex(sizes, targetRatio, aspectRatioTolerance); in getOptimalPreviewSizeIndex()
523 List<Size> previewSizes, double targetRatio, Double aspectRatioTolerance) { in getOptimalPreviewSizeIndex() argument
530 if (aspectRatioTolerance == null) { in getOptimalPreviewSizeIndex()
548 if (Math.abs(ratio - targetRatio) > aspectRatioTolerance) { in getOptimalPreviewSizeIndex()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java733 Double aspectRatioTolerance = sCaptureImageFormat == ImageFormat.RAW_SENSOR ? 10d : null; in pickPreviewSize() local
735 pictureAspectRatio, aspectRatioTolerance); in pickPreviewSize()