Home | History | Annotate | Download | only in client2

Lines Matching defs:zoom

857     zoom = 0;
864 params.set(CameraParameters::KEY_ZOOM, zoom);
869 float zoom = 1.f;
870 float zoomIncrement = (maxDigitalZoom.data.f[0] - zoom) /
876 zoomRatios += String8::format("%d", static_cast<int>(zoom * 100));
877 zoom += zoomIncrement;
1972 // ZOOM
1974 validatedParams.zoom = newParams.getInt(CameraParameters::KEY_ZOOM);
1975 if (validatedParams.zoom < 0
1976 || validatedParams.zoom >= (int)NUM_ZOOM_STEPS) {
1977 ALOGE("%s: Requested zoom level %d is not supported",
1978 zoom);
3190 // Need to convert zoom index into a crop rectangle. The rectangle is
3195 // For each zoom step by how many pixels more do we change the zoom
3199 // via interpolating zoom step into a zoom ratio
3200 float zoomRatio = 1 + zoomIncrement * zoom;
3202 "Zoom ratio calculated out of bounds. Expected 1 - %f, actual: %f",
3205 ALOGV("Zoom maxDigital=%f, increment=%f, ratio=%f, previewWidth=%d, "
3242 // center the zoom area within the active area
3246 ALOGV("Crop region calculated (x=%d,y=%d,w=%f,h=%f) for zoom=%d",
3247 (int32_t)zoomLeft, (int32_t)zoomTop, zoomWidth, zoomHeight, this->zoom);