public synchronized void zoomOut() { if (mCamera != null && mCamera.getParameters().isZoomSupported() && mCamera.getParameters().isSmoothZoomSupported() && !zooming) { int zoomvalue = mCamera.getParameters().getZoom() - zoomOffset; if (zoomvalue >= 0) { mCamera.startSmoothZoom(zoomvalue); } } }
@Override public void startSmoothZoom(int value) { camera.startSmoothZoom(value); }