Home
last modified time | relevance | path

Searched refs:ASPECT_RATIO_TOLERANCE (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java64 private static final double ASPECT_RATIO_TOLERANCE = 0.05f; field in ParameterUtils
503 if (Math.abs(aspectRatioPreview - aspectRatioArray) < ASPECT_RATIO_TOLERANCE) { in getPreviewCropRectangleUnzoomed()
DRequestThreadManager.java86 private static final float ASPECT_RATIO_TOLERANCE = 0.01f; field in RequestThreadManager
657 return Math.abs(aAspect - bAspect) < ASPECT_RATIO_TOLERANCE; in checkAspectRatiosMatch()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h208 static const CONSTEXPR float ASPECT_RATIO_TOLERANCE = 0.001; member
DParameters.cpp3004 if (fabs(curRatio - ratio) < ASPECT_RATIO_TOLERANCE && maxSize.width < sizeArray[i]) { in getMaxSizeForRatio()