Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp2918 float zoomRatio = 1 + zoomIncrement * zoom; in calculateCropRegion() local
2919 ALOG_ASSERT( (zoomRatio >= 1.f && zoomRatio <= maxDigitalZoom.data.f[0]), in calculateCropRegion()
2921 maxDigitalZoom.data.f[0], zoomRatio); in calculateCropRegion()
2925 maxDigitalZoom.data.f[0], zoomIncrement, zoomRatio, previewWidth, in calculateCropRegion()
2943 zoomWidth = fastInfo.arrayWidth / zoomRatio; in calculateCropRegion()
2949 zoomHeight = fastInfo.arrayHeight / zoomRatio; in calculateCropRegion()
2956 zoomWidth = fastInfo.arrayWidth / zoomRatio; in calculateCropRegion()
2957 zoomHeight = fastInfo.arrayHeight / zoomRatio; in calculateCropRegion()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java706 float zoomRatio = zoom * 1.0f / ZOOM_RATIO_MULTIPLIER; // normalize to 1.0 and smaller in getMaxZoomRatio() local
708 return zoomRatio; in getMaxZoomRatio()