Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java703 float zoomRatio = zoom * 1.0f / ZOOM_RATIO_MULTIPLIER; // normalize to 1.0 and smaller in getMaxZoomRatio() local
705 return zoomRatio; in getMaxZoomRatio()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp2853 float zoomRatio = 1 + zoomIncrement * zoom; in calculateCropRegion() local
2854 ALOG_ASSERT( (zoomRatio >= 1.f && zoomRatio <= maxDigitalZoom.data.f[0]), in calculateCropRegion()
2856 maxDigitalZoom.data.f[0], zoomRatio); in calculateCropRegion()
2860 maxDigitalZoom.data.f[0], zoomIncrement, zoomRatio, previewWidth, in calculateCropRegion()
2929 zoomWidth = fastInfo.arrayWidth / zoomRatio; in calculateCropRegion()
2935 zoomHeight = fastInfo.arrayHeight / zoomRatio; in calculateCropRegion()