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