Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.cpp376 float zoomRatio = std::max(zoomRatioX, zoomRatioY); in setDigitalZoomRatio() local
379 if (zoomRatio <= noZoomThreshold) { in setDigitalZoomRatio()
383 static_cast<uint32_t>(std::round(zoomRatio * kRationalPrecision)), in setDigitalZoomRatio()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp3200 float zoomRatio = 1 + zoomIncrement * zoom; in calculateCropRegion() local
3201 ALOG_ASSERT( (zoomRatio >= 1.f && zoomRatio <= maxDigitalZoom.data.f[0]), in calculateCropRegion()
3203 maxDigitalZoom.data.f[0], zoomRatio); in calculateCropRegion()
3207 maxDigitalZoom.data.f[0], zoomIncrement, zoomRatio, previewWidth, in calculateCropRegion()
3225 zoomWidth = fastInfo.arrayWidth / zoomRatio; in calculateCropRegion()
3231 zoomHeight = fastInfo.arrayHeight / zoomRatio; in calculateCropRegion()
3238 zoomWidth = fastInfo.arrayWidth / zoomRatio; in calculateCropRegion()
3239 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()