Home | History | Annotate | Download | only in camera

Lines Matching refs:mCameraState

170                     mCameraState(CAMERA_STATE_UNINITED),
290 mCameraState = CAMERA_STATE_READY;
370 ALOGV("isCameraReady mCameraState %d", mCameraState);
371 return (mCameraState == CAMERA_STATE_READY);
410 if (mCameraState == CAMERA_STATE_ERROR) {
530 switch(mCameraState ) {
605 if (cam->mCameraState != CAMERA_STATE_READY) {
631 ALOGV("isPreviewRunning: camera state:%d", mCameraState);
633 if((mCameraState == CAMERA_STATE_PREVIEW) ||
634 (mCameraState == CAMERA_STATE_PREVIEW_START_CMD_SENT) ||
635 (mCameraState == CAMERA_STATE_RECORD) ||
636 (mCameraState == CAMERA_STATE_RECORD_START_CMD_SENT) ||
637 (mCameraState == CAMERA_STATE_ZSL) ||
638 (mCameraState == CAMERA_STATE_ZSL_START_CMD_SENT)){
650 //if((mCameraState == CAMERA_STATE_RECORD) ||
651 // (mCameraState == CAMERA_STATE_RECORD_START_CMD_SENT)) {
661 //if((mCameraState == CAMERA_STATE_SNAP_CMD_ACKED) ||
662 // (mCameraState == CAMERA_STATE_SNAP_START_CMD_SENT)) {
710 mCameraState =
714 mCameraState = CAMERA_STATE_READY;
730 mCameraState = CAMERA_STATE_RECORD;
733 mCameraState = CAMERA_STATE_PREVIEW;
747 mCameraState);
751 mCameraState =
757 mCameraState = CAMERA_STATE_READY;
1062 ALOGE("%s:Preview already started mCameraState = %d!", __func__, mCameraState);
1182 mCameraState = CAMERA_STATE_PREVIEW_START_CMD_SENT;
1184 mCameraState = CAMERA_STATE_ERROR;
1272 mCameraState = CAMERA_STATE_PREVIEW_STOP_CMD_SENT;
1280 ALOGV("%s: mCameraState = %d", __func__, mCameraState);
1325 mCameraState = CAMERA_STATE_RECORD_START_CMD_SENT;
1327 mCameraState = CAMERA_STATE_ERROR;
1382 mCameraState = CAMERA_STATE_PREVIEW; //TODO : Apurva : Hacked for 2nd time Recording
1563 if(mCameraState != CAMERA_STATE_READY) {
1566 mCameraState = CAMERA_STATE_SNAP_STOP_CMD_SENT;
1704 mCameraState = CAMERA_STATE_SNAP_START_CMD_SENT;
1706 mCameraState = CAMERA_STATE_ERROR;