Loading core/java/android/hardware/Camera.java +9 −12 Original line number Diff line number Diff line Loading @@ -1687,18 +1687,15 @@ public class Camera { * aggressive than {@link #FOCUS_MODE_CONTINUOUS_VIDEO}. Auto focus * starts when the parameter is set. * * <p>Applications can call {@link #autoFocus(AutoFocusCallback)} in * this mode. If the autofocus is in the middle of scanning, the focus * callback will return when it completes. If the autofocus is not * scanning, the focus callback will immediately return with a boolean * that indicates whether the focus is sharp or not. The apps can then * decide if they want to take a picture immediately or to change the * focus mode to auto, and run a full autofocus cycle. The focus * position is locked after autoFocus call. If applications want to * resume the continuous focus, cancelAutoFocus must be called. * Restarting the preview will not resume the continuous autofocus. To * stop continuous focus, applications should change the focus mode to * other modes. * <p>If applications call {@link #autoFocus(AutoFocusCallback)} in this * mode, the focus callback will immediately return with a boolean that * indicates whether the focus is sharp or not. The apps can then decide * if they want to take a picture immediately or to change the focus * mode to auto, and run a full autofocus cycle. The focus position is * locked after autoFocus call. If applications want to resume the * continuous focus, cancelAutoFocus must be called. Restarting the * preview will not resume the continuous autofocus. To stop continuous * focus, applications should change the focus mode to other modes. * * @see #FOCUS_MODE_CONTINUOUS_VIDEO */ Loading include/camera/CameraParameters.h +9 −11 Original line number Diff line number Diff line Loading @@ -644,17 +644,15 @@ public: // than FOCUS_MODE_CONTINUOUS_VIDEO. Auto focus starts when the parameter is // set. // // Applications can call CameraHardwareInterface.autoFocus in this mode. If // the autofocus is in the middle of scanning, the focus callback will // return when it completes. If the autofocus is not scanning, focus // callback will immediately return with a boolean that indicates whether // the focus is sharp or not. The apps can then decide if they want to take // a picture immediately or to change the focus mode to auto, and run a full // autofocus cycle. The focus position is locked after autoFocus call. If // applications want to resume the continuous focus, cancelAutoFocus must be // called. Restarting the preview will not resume the continuous autofocus. // To stop continuous focus, applications should change the focus mode to // other modes. // If applications call CameraHardwareInterface.autoFocus in this mode, the // focus callback will immediately return with a boolean that indicates // whether the focus is sharp or not. The apps can then decide if they want // to take a picture immediately or to change the focus mode to auto, and // run a full autofocus cycle. The focus position is locked after autoFocus // call. If applications want to resume the continuous focus, // cancelAutoFocus must be called. Restarting the preview will not resume // the continuous autofocus. To stop continuous focus, applications should // change the focus mode to other modes. static const char FOCUS_MODE_CONTINUOUS_PICTURE[]; private: Loading Loading
core/java/android/hardware/Camera.java +9 −12 Original line number Diff line number Diff line Loading @@ -1687,18 +1687,15 @@ public class Camera { * aggressive than {@link #FOCUS_MODE_CONTINUOUS_VIDEO}. Auto focus * starts when the parameter is set. * * <p>Applications can call {@link #autoFocus(AutoFocusCallback)} in * this mode. If the autofocus is in the middle of scanning, the focus * callback will return when it completes. If the autofocus is not * scanning, the focus callback will immediately return with a boolean * that indicates whether the focus is sharp or not. The apps can then * decide if they want to take a picture immediately or to change the * focus mode to auto, and run a full autofocus cycle. The focus * position is locked after autoFocus call. If applications want to * resume the continuous focus, cancelAutoFocus must be called. * Restarting the preview will not resume the continuous autofocus. To * stop continuous focus, applications should change the focus mode to * other modes. * <p>If applications call {@link #autoFocus(AutoFocusCallback)} in this * mode, the focus callback will immediately return with a boolean that * indicates whether the focus is sharp or not. The apps can then decide * if they want to take a picture immediately or to change the focus * mode to auto, and run a full autofocus cycle. The focus position is * locked after autoFocus call. If applications want to resume the * continuous focus, cancelAutoFocus must be called. Restarting the * preview will not resume the continuous autofocus. To stop continuous * focus, applications should change the focus mode to other modes. * * @see #FOCUS_MODE_CONTINUOUS_VIDEO */ Loading
include/camera/CameraParameters.h +9 −11 Original line number Diff line number Diff line Loading @@ -644,17 +644,15 @@ public: // than FOCUS_MODE_CONTINUOUS_VIDEO. Auto focus starts when the parameter is // set. // // Applications can call CameraHardwareInterface.autoFocus in this mode. If // the autofocus is in the middle of scanning, the focus callback will // return when it completes. If the autofocus is not scanning, focus // callback will immediately return with a boolean that indicates whether // the focus is sharp or not. The apps can then decide if they want to take // a picture immediately or to change the focus mode to auto, and run a full // autofocus cycle. The focus position is locked after autoFocus call. If // applications want to resume the continuous focus, cancelAutoFocus must be // called. Restarting the preview will not resume the continuous autofocus. // To stop continuous focus, applications should change the focus mode to // other modes. // If applications call CameraHardwareInterface.autoFocus in this mode, the // focus callback will immediately return with a boolean that indicates // whether the focus is sharp or not. The apps can then decide if they want // to take a picture immediately or to change the focus mode to auto, and // run a full autofocus cycle. The focus position is locked after autoFocus // call. If applications want to resume the continuous focus, // cancelAutoFocus must be called. Restarting the preview will not resume // the continuous autofocus. To stop continuous focus, applications should // change the focus mode to other modes. static const char FOCUS_MODE_CONTINUOUS_PICTURE[]; private: Loading