Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java709 List<Integer> zoomRatios = params.getZoomRatios(); // sorted smallest->largest in getMaxZoomRatio() local
710 int zoom = zoomRatios.get(zoomRatios.size() - 1); // largest zoom ratio in getMaxZoomRatio()
801 List<Integer> zoomRatios = params.getZoomRatios(); in convertZoomRatio() local
802 for (int i = 1; i < zoomRatios.size(); i++) { in convertZoomRatio()
803 if (zoomRatio * ZOOM_RATIO_MULTIPLIER >= zoomRatios.get(i)) { in convertZoomRatio()
807 reportedZoomRatio = zoomRatios.get(i); in convertZoomRatio()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp868 String8 zoomRatios; in initialize() local
874 if (addComma) zoomRatios += ","; in initialize()
876 zoomRatios += String8::format("%d", static_cast<int>(zoom * 100)); in initialize()
879 params.set(CameraParameters::KEY_ZOOM_RATIOS, zoomRatios); in initialize()