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.java67 double targetRatio, Double aspectRatioTolerance, Activity context) { in getOptimalPreviewSize() argument
89 aspectRatioTolerance, context); in getOptimalPreviewSize()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java507 final double aspectRatioTolerance = 0.02; in getOptimalPreviewSizeIndex() local
509 return getOptimalPreviewSizeIndex(sizes, targetRatio, aspectRatioTolerance, context); in getOptimalPreviewSizeIndex()
527 List<Size> previewSizes, double targetRatio, Double aspectRatioTolerance, in getOptimalPreviewSizeIndex() argument
535 if (aspectRatioTolerance == null) { in getOptimalPreviewSizeIndex()
553 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, context); in pickPreviewSize()