Home
last modified time | relevance | path

Searched refs:aspectRatioArray (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java499 float aspectRatioArray = activeArray.width() * 1.0f / activeArray.height(); in getPreviewCropRectangleUnzoomed() local
503 if (Math.abs(aspectRatioPreview - aspectRatioArray) < ASPECT_RATIO_TOLERANCE) { in getPreviewCropRectangleUnzoomed()
506 } else if (aspectRatioPreview < aspectRatioArray) { in getPreviewCropRectangleUnzoomed()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java558 float aspectRatioArray = requestedCrop.width() * 1.0f / requestedCrop.height(); in effectiveCropRectFromRequested() local
562 if (aspectRatioPreview < aspectRatioArray) { in effectiveCropRectFromRequested()