question: private boolean repeatingPreview ( Object tag ) { try { CaptureRequest . Builder builder = mDevice . createCaptureRequest ( CameraDevice . TEMPLATE_PREVIEW ) ; builder . addTarget ( mPreviewSurface ) ; builder . set ( CaptureRequest . CONTROL_MODE , CameraMetadata . CONTROL_MODE_AUTO ) ; addBaselineCaptureKeysToRequest ( builder ) ; mCaptureSession . setRepeatingRequest ( builder . build ( ) , mCaptureCallback , mCameraHandler ) ; Log . v ( TAG , String . format ( "Sent repeating Preview request, zoom = %.2f" , mZoomValue ) ) ; return true ; } catch ( CameraAccessException ex ) { Log . e ( TAG , "Could not access camera setting up preview." , ex ) ; return false ; } }
target:  Request preview capture stream with AF_MODE_CONTINUOUS_PICTURE.