Home | History | Annotate | Download | only in client2

Lines Matching defs:zoom

840     zoom = 0;
847 params.set(CameraParameters::KEY_ZOOM, zoom);
852 float zoom = 1.f;
853 float zoomIncrement = (maxDigitalZoom.data.f[0] - zoom) /
859 zoomRatios += String8::format("%d", static_cast<int>(zoom * 100));
860 zoom += zoomIncrement;
1919 // ZOOM
1921 validatedParams.zoom = newParams.getInt(CameraParameters::KEY_ZOOM);
1922 if (validatedParams.zoom < 0
1923 || validatedParams.zoom >= (int)NUM_ZOOM_STEPS) {
1924 ALOGE("%s: Requested zoom level %d is not supported",
1925 __FUNCTION__, validatedParams.zoom);
3009 // Need to convert zoom index into a crop rectangle. The rectangle is
3014 // For each zoom step by how many pixels more do we change the zoom
3018 // via interpolating zoom step into a zoom ratio
3019 float zoomRatio = 1 + zoomIncrement * zoom;
3021 "Zoom ratio calculated out of bounds. Expected 1 - %f, actual: %f",
3024 ALOGV("Zoom maxDigital=%f, increment=%f, ratio=%f, previewWidth=%d, "
3061 // center the zoom area within the active area
3065 ALOGV("Crop region calculated (x=%d,y=%d,w=%f,h=%f) for zoom=%d",
3066 (int32_t)zoomLeft, (int32_t)zoomTop, zoomWidth, zoomHeight, this->zoom);