Lines Matching refs:m_parent

122     m_parent = ctrl;  in QCameraStateMachine()
200 rc = m_parent->enableMsgType(m_DelayedMsgs); in applyDelayedMsgs()
360 rc = m_parent->setPreviewWindow((struct preview_stream_ops *)payload); in procEvtPreviewStoppedState()
364 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
371 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtPreviewStoppedState()
379 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
384 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
388 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtPreviewStoppedState()
393 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
398 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
402 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtPreviewStoppedState()
407 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
412 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPreviewStoppedState()
417 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
424 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
428 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtPreviewStoppedState()
433 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
438 m_parent->m_memoryPool.clear(); in procEvtPreviewStoppedState()
442 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
447 rc = m_parent->commitParameterChanges(); in procEvtPreviewStoppedState()
451 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
456 m_parent->setNeedRestart(false); in procEvtPreviewStoppedState()
460 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
465 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
474 result.params = m_parent->getParameters(); in procEvtPreviewStoppedState()
480 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
485 rc = m_parent->putParameters((char*)payload); in procEvtPreviewStoppedState()
489 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
494 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
498 rc = m_parent->preparePreview(); in procEvtPreviewStoppedState()
507 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
512 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
515 } else if (m_parent->mPreviewWindow == NULL) { in procEvtPreviewStoppedState()
516 rc = m_parent->preparePreview(); in procEvtPreviewStoppedState()
524 rc = m_parent->preparePreview(); in procEvtPreviewStoppedState()
527 rc = m_parent->startPreview(); in procEvtPreviewStoppedState()
529 m_parent->unpreparePreview(); in procEvtPreviewStoppedState()
539 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
544 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
548 rc = m_parent->preparePreview(); in procEvtPreviewStoppedState()
552 rc = m_parent->startPreview(); in procEvtPreviewStoppedState()
554 m_parent->unpreparePreview(); in procEvtPreviewStoppedState()
562 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
572 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
582 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
587 rc = m_parent->release(); in procEvtPreviewStoppedState()
591 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
596 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtPreviewStoppedState()
600 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
605 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
609 rc = m_parent->dump(*((int *)payload)); in procEvtPreviewStoppedState()
614 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
619 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
625 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewStoppedState()
632 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
650 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
661 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
666 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
670 rc = m_parent->cancelAutoFocus(); in procEvtPreviewStoppedState()
675 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
683 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtPreviewStoppedState()
690 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
695 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
699 rc = m_parent->updateThermalLevel(payload); in procEvtPreviewStoppedState()
709 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPreviewStoppedState()
728 m_parent->signalEvtResult(&result); in procEvtPreviewStoppedState()
737 rc = m_parent->waitDeferredWork(m_parent->mParamInitJob); in procEvtPreviewStoppedState()
741 rc = m_parent->mParameters.updateFlashMode(internal_evt->led_data); in procEvtPreviewStoppedState()
784 m_parent->setPreviewWindow((struct preview_stream_ops *)payload); in procEvtPreviewReadyState()
785 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState()
787 rc = m_parent->startPreview(); in procEvtPreviewReadyState()
789 m_parent->unpreparePreview(); in procEvtPreviewReadyState()
799 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
806 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtPreviewReadyState()
814 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
819 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtPreviewReadyState()
823 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
828 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtPreviewReadyState()
832 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
837 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPreviewReadyState()
842 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
848 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtPreviewReadyState()
852 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
859 m_parent->unpreparePreview(); in procEvtPreviewReadyState()
861 m_parent->m_memoryPool.clear(); in procEvtPreviewReadyState()
865 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
870 rc = m_parent->commitParameterChanges(); in procEvtPreviewReadyState()
874 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
880 rc = m_parent->preparePreview(); in procEvtPreviewReadyState()
884 m_parent->setNeedRestart(false); in procEvtPreviewReadyState()
888 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
893 result.params = m_parent->getParameters(); in procEvtPreviewReadyState()
898 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
903 rc = m_parent->putParameters((char*)payload); in procEvtPreviewReadyState()
907 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
917 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
922 rc = m_parent->startPreview(); in procEvtPreviewReadyState()
924 m_parent->unpreparePreview(); in procEvtPreviewReadyState()
934 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
939 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState()
940 rc = m_parent->startPreview(); in procEvtPreviewReadyState()
942 m_parent->unpreparePreview(); in procEvtPreviewReadyState()
953 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
958 m_parent->unpreparePreview(); in procEvtPreviewReadyState()
964 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
974 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
984 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
989 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtPreviewReadyState()
993 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
998 rc = m_parent->dump(*((int *)payload)); in procEvtPreviewReadyState()
1002 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1007 rc = m_parent->autoFocus(); in procEvtPreviewReadyState()
1011 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1016 rc = m_parent->cancelAutoFocus(); in procEvtPreviewReadyState()
1020 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1027 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewReadyState()
1033 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1041 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtPreviewReadyState()
1048 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1068 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1077 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPreviewReadyState()
1096 m_parent->signalEvtResult(&result); in procEvtPreviewReadyState()
1105 rc = m_parent->mParameters.updateFlashMode(internal_evt->led_data); in procEvtPreviewReadyState()
1154 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1161 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtPreviewingState()
1169 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1180 rc = m_parent->enableMsgType(enable_msgs); in procEvtPreviewingState()
1184 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1196 rc = m_parent->disableMsgType(disable_msgs); in procEvtPreviewingState()
1200 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1206 int enabled = m_parent->msgTypeEnabled(msgs); in procEvtPreviewingState()
1214 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1220 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtPreviewingState()
1224 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1231 rc = m_parent->stopPreview(); in procEvtPreviewingState()
1233 m_parent->m_memoryPool.clear(); in procEvtPreviewingState()
1237 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1242 rc = m_parent->commitParameterChanges(); in procEvtPreviewingState()
1246 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1252 rc = m_parent->preparePreview(); in procEvtPreviewingState()
1255 rc = m_parent->startPreview(); in procEvtPreviewingState()
1257 m_parent->unpreparePreview(); in procEvtPreviewingState()
1263 m_parent->setNeedRestart(false); in procEvtPreviewingState()
1267 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1272 result.params = m_parent->getParameters(); in procEvtPreviewingState()
1277 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1282 rc = m_parent->putParameters((char*)payload); in procEvtPreviewingState()
1286 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1297 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1310 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1315 rc = m_parent->stopPreview(); in procEvtPreviewingState()
1321 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1332 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1342 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1347 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtPreviewingState()
1351 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1356 rc = m_parent->dump(*((int *)payload)); in procEvtPreviewingState()
1360 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1365 rc = m_parent->autoFocus(); in procEvtPreviewingState()
1369 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1374 rc = m_parent->cancelAutoFocus(); in procEvtPreviewingState()
1378 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1383 rc = m_parent->preStartRecording(); in procEvtPreviewingState()
1387 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1392 rc = m_parent->startRecording(); in procEvtPreviewingState()
1401 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1406 rc = m_parent->prepareHardwareForSnapshot(FALSE); in procEvtPreviewingState()
1420 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1426 rc = m_parent->preTakePicture(); in procEvtPreviewingState()
1430 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1436 if ( m_parent->mParameters.getRecordingHintValue() == true) { in procEvtPreviewingState()
1437 m_parent->stopPreview(); in procEvtPreviewingState()
1438 m_parent->mParameters.updateRecordingHintValue(FALSE); in procEvtPreviewingState()
1440 rc = m_parent->preparePreview(); in procEvtPreviewingState()
1442 rc = m_parent->startPreview(); in procEvtPreviewingState()
1444 m_parent->unpreparePreview(); in procEvtPreviewingState()
1448 if (m_parent->isZSLMode() || m_parent->isLongshotEnabled()) { in procEvtPreviewingState()
1449 bool restartPreview = m_parent->isPreviewRestartEnabled(); in procEvtPreviewingState()
1450 if ((restartPreview) && (m_parent->mParameters.getManualCaptureMode() in procEvtPreviewingState()
1453 m_parent->stopPreview(); in procEvtPreviewingState()
1454 m_parent->mParameters.updateZSLModeValue(FALSE); in procEvtPreviewingState()
1463 rc = m_parent->takePicture(); in procEvtPreviewingState()
1466 m_parent->unconfigureAdvancedCapture(); in procEvtPreviewingState()
1469 if (!(m_parent->isRetroPicture()) || (rc != NO_ERROR)) { in procEvtPreviewingState()
1475 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1479 rc = m_parent->takePicture(); in procEvtPreviewingState()
1483 m_parent->unconfigureAdvancedCapture(); in procEvtPreviewingState()
1484 m_parent->stopPreview(); in procEvtPreviewingState()
1486 temp_rc = m_parent->preparePreview(); in procEvtPreviewingState()
1488 temp_rc = m_parent->startPreview(); in procEvtPreviewingState()
1490 m_parent->unpreparePreview(); in procEvtPreviewingState()
1502 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1510 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewingState()
1521 m_parent->stopPreview(); in procEvtPreviewingState()
1523 m_parent->m_memoryPool.clear(); in procEvtPreviewingState()
1527 rc = m_parent->preparePreview(); in procEvtPreviewingState()
1530 rc = m_parent->startPreview(); in procEvtPreviewingState()
1532 m_parent->unpreparePreview(); in procEvtPreviewingState()
1541 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1553 rc = m_parent->preparePreview(); in procEvtPreviewingState()
1555 rc = m_parent->startPreview(); in procEvtPreviewingState()
1557 m_parent->unpreparePreview(); in procEvtPreviewingState()
1565 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1573 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtPreviewingState()
1580 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1593 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1602 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtPreviewingState()
1607 rc = m_parent->processFaceDetectionResult(&internal_evt->faces_data); in procEvtPreviewingState()
1610 rc = m_parent->processHistogramStats(internal_evt->stats_data); in procEvtPreviewingState()
1613 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPreviewingState()
1616 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtPreviewingState()
1619 rc = m_parent->mParameters.updateFlashMode(internal_evt->led_data); in procEvtPreviewingState()
1622 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtPreviewingState()
1625 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtPreviewingState()
1628 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtPreviewingState()
1631 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtPreviewingState()
1634 rc = m_parent->processRetroAECUnlock(); in procEvtPreviewingState()
1637 rc = m_parent->processZSLCaptureDone(); in procEvtPreviewingState()
1652 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPreviewingState()
1666 rc = m_parent->updateThermalLevel(payload); in procEvtPreviewingState()
1676 m_parent->signalEvtResult(&result); in procEvtPreviewingState()
1681 m_parent->stopPreview(); in procEvtPreviewingState()
1685 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1690 rc = m_parent->preparePreview(); in procEvtPreviewingState()
1692 rc = m_parent->startPreview(); in procEvtPreviewingState()
1697 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1771 m_parent->signalAPIResult(&result); in procEvtPrepareSnapshotState()
1780 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtPrepareSnapshotState()
1783 m_parent->processPrepSnapshotDoneEvent(internal_evt->prep_snapshot_state); in procEvtPrepareSnapshotState()
1789 m_parent->signalAPIResult(&result); in procEvtPrepareSnapshotState()
1792 rc = m_parent->processFaceDetectionResult(&internal_evt->faces_data); in procEvtPrepareSnapshotState()
1795 rc = m_parent->processHistogramStats(internal_evt->stats_data); in procEvtPrepareSnapshotState()
1798 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPrepareSnapshotState()
1801 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtPrepareSnapshotState()
1807 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtPrepareSnapshotState()
1810 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtPrepareSnapshotState()
1813 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtPrepareSnapshotState()
1816 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtPrepareSnapshotState()
1819 rc = m_parent->processRetroAECUnlock(); in procEvtPrepareSnapshotState()
1822 rc = m_parent->processZSLCaptureDone(); in procEvtPrepareSnapshotState()
1837 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPrepareSnapshotState()
1856 m_parent->signalEvtResult(&result); in procEvtPrepareSnapshotState()
1861 rc = m_parent->updateThermalLevel(payload); in procEvtPrepareSnapshotState()
1904 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1911 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtPicTakingState()
1919 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1924 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtPicTakingState()
1928 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1933 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtPicTakingState()
1937 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1942 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPicTakingState()
1947 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1953 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtPicTakingState()
1957 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1965 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1970 rc = m_parent->commitParameterChanges(); in procEvtPicTakingState()
1974 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1979 m_parent->setNeedRestart(false); in procEvtPicTakingState()
1983 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1988 result.params = m_parent->getParameters(); in procEvtPicTakingState()
1993 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1998 rc = m_parent->putParameters((char*)payload); in procEvtPicTakingState()
2002 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2008 rc = m_parent->cancelPicture(); in procEvtPicTakingState()
2014 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2024 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2034 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2039 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtPicTakingState()
2043 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2048 rc = m_parent->dump(*((int *)payload)); in procEvtPicTakingState()
2052 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2057 rc = m_parent->autoFocus(); in procEvtPicTakingState()
2061 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2066 rc = m_parent->cancelAutoFocus(); in procEvtPicTakingState()
2070 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2077 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPicTakingState()
2089 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2094 rc = m_parent->cancelPicture(); in procEvtPicTakingState()
2099 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2107 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtPicTakingState()
2114 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2119 if ( m_parent->isLongshotEnabled() ) { in procEvtPicTakingState()
2130 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2135 if ( m_parent->isLongshotEnabled() ) { in procEvtPicTakingState()
2136 rc = m_parent->longShot(); in procEvtPicTakingState()
2145 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2165 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2174 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtPicTakingState()
2183 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPicTakingState()
2186 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtPicTakingState()
2192 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtPicTakingState()
2195 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtPicTakingState()
2198 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtPicTakingState()
2201 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtPicTakingState()
2204 rc = m_parent->processRetroAECUnlock(); in procEvtPicTakingState()
2207 rc = m_parent->processZSLCaptureDone(); in procEvtPicTakingState()
2225 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2230 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2232 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPicTakingState()
2238 if (m_parent->isCACEnabled() || m_parent->mParameters.isOEMFeatEnabled()) { in procEvtPicTakingState()
2240 if (m_parent->isLongshotEnabled() in procEvtPicTakingState()
2241 && !m_parent->isCaptureShutterEnabled()) { in procEvtPicTakingState()
2244 m_parent->playShutter(); in procEvtPicTakingState()
2246 m_parent->mCACDoneReceived = TRUE; in procEvtPicTakingState()
2260 rc = m_parent->processJpegNotify(jpeg_job); in procEvtPicTakingState()
2265 bool restartPreview = m_parent->isPreviewRestartEnabled(); in procEvtPicTakingState()
2266 rc = m_parent->stopCaptureChannel(restartPreview); in procEvtPicTakingState()
2269 rc = m_parent->preparePreview(); in procEvtPicTakingState()
2271 m_parent->m_bPreviewStarted = true; in procEvtPicTakingState()
2273 rc = m_parent->startPreview(); in procEvtPicTakingState()
2280 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2285 rc = m_parent->cancelPicture(); in procEvtPicTakingState()
2287 bool restartPreview = m_parent->isPreviewRestartEnabled(); in procEvtPicTakingState()
2289 if (m_parent->mParameters.getManualCaptureMode() in procEvtPicTakingState()
2291 m_parent->mParameters.updateZSLModeValue(m_RestoreZSL); in procEvtPicTakingState()
2293 rc = m_parent->preparePreview(); in procEvtPicTakingState()
2295 m_parent->m_bPreviewStarted = true; in procEvtPicTakingState()
2297 rc = m_parent->startPreview(); in procEvtPicTakingState()
2308 m_parent->signalEvtResult(&result); in procEvtPicTakingState()
2313 rc = m_parent->updateThermalLevel(payload); in procEvtPicTakingState()
2358 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2365 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtRecordingState()
2373 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2378 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtRecordingState()
2382 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2387 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtRecordingState()
2391 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2396 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtRecordingState()
2401 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2407 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtRecordingState()
2416 m_parent->setNeedRestart(false); in procEvtRecordingState()
2421 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2426 rc = m_parent->commitParameterChanges(); in procEvtRecordingState()
2430 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2441 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2446 result.params = m_parent->getParameters(); in procEvtRecordingState()
2451 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2456 rc = m_parent->putParameters((char*)payload); in procEvtRecordingState()
2460 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2470 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2480 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2485 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtRecordingState()
2489 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2494 rc = m_parent->dump(*((int *)payload)); in procEvtRecordingState()
2498 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2503 rc = m_parent->autoFocus(); in procEvtRecordingState()
2507 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2512 rc = m_parent->cancelAutoFocus(); in procEvtRecordingState()
2516 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2523 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtRecordingState()
2529 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2539 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2545 rc = m_parent->takeLiveSnapshot(); in procEvtRecordingState()
2547 m_parent->unconfigureAdvancedCapture(); in procEvtRecordingState()
2553 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2567 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2572 rc = m_parent->stopRecording(); in procEvtRecordingState()
2577 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2582 rc = m_parent->stopRecording(); in procEvtRecordingState()
2585 rc = m_parent->stopPreview(); in procEvtRecordingState()
2591 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2596 rc = m_parent->releaseRecordingFrame((const void *)payload); in procEvtRecordingState()
2600 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2608 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtRecordingState()
2615 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2624 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2636 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2645 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtRecordingState()
2650 rc = m_parent->processFaceDetectionResult(&internal_evt->faces_data); in procEvtRecordingState()
2653 rc = m_parent->processHistogramStats(internal_evt->stats_data); in procEvtRecordingState()
2656 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtRecordingState()
2659 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtRecordingState()
2665 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtRecordingState()
2668 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtRecordingState()
2671 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtRecordingState()
2674 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtRecordingState()
2677 rc = m_parent->processRetroAECUnlock(); in procEvtRecordingState()
2680 rc = m_parent->processZSLCaptureDone(); in procEvtRecordingState()
2693 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtRecordingState()
2707 rc = m_parent->updateThermalLevel(payload); in procEvtRecordingState()
2717 m_parent->signalEvtResult(&result); in procEvtRecordingState()
2760 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2767 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtVideoPicTakingState()
2775 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2780 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtVideoPicTakingState()
2784 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2789 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtVideoPicTakingState()
2793 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2798 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtVideoPicTakingState()
2803 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2809 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtVideoPicTakingState()
2818 m_parent->setNeedRestart(false); in procEvtVideoPicTakingState()
2823 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2828 rc = m_parent->commitParameterChanges(); in procEvtVideoPicTakingState()
2832 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2843 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2848 result.params = m_parent->getParameters(); in procEvtVideoPicTakingState()
2853 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2858 rc = m_parent->putParameters((char*)payload); in procEvtVideoPicTakingState()
2862 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2872 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2882 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2887 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtVideoPicTakingState()
2891 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2896 rc = m_parent->dump(*((int *)payload)); in procEvtVideoPicTakingState()
2900 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2905 rc = m_parent->autoFocus(); in procEvtVideoPicTakingState()
2909 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2914 rc = m_parent->cancelAutoFocus(); in procEvtVideoPicTakingState()
2918 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2925 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtVideoPicTakingState()
2931 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2936 rc = m_parent->cancelLiveSnapshot(); in procEvtVideoPicTakingState()
2939 rc = m_parent->stopRecording(); in procEvtVideoPicTakingState()
2945 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2950 rc = m_parent->releaseRecordingFrame((const void *)payload); in procEvtVideoPicTakingState()
2954 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2959 rc = m_parent->cancelLiveSnapshot(); in procEvtVideoPicTakingState()
2964 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2972 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtVideoPicTakingState()
2979 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2984 rc = m_parent->cancelLiveSnapshot(); in procEvtVideoPicTakingState()
2987 rc = m_parent->stopRecording(); in procEvtVideoPicTakingState()
2990 rc = m_parent->stopPreview(); in procEvtVideoPicTakingState()
2996 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
3016 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
3025 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtVideoPicTakingState()
3030 rc = m_parent->processFaceDetectionResult(&internal_evt->faces_data); in procEvtVideoPicTakingState()
3033 rc = m_parent->processHistogramStats(internal_evt->stats_data); in procEvtVideoPicTakingState()
3036 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtVideoPicTakingState()
3039 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtVideoPicTakingState()
3045 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtVideoPicTakingState()
3048 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtVideoPicTakingState()
3051 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtVideoPicTakingState()
3054 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtVideoPicTakingState()
3057 rc = m_parent->processRetroAECUnlock(); in procEvtVideoPicTakingState()
3060 rc = m_parent->processZSLCaptureDone(); in procEvtVideoPicTakingState()
3073 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtVideoPicTakingState()
3089 rc = m_parent->processJpegNotify(jpeg_job); in procEvtVideoPicTakingState()
3094 rc = m_parent->cancelLiveSnapshot(); in procEvtVideoPicTakingState()
3099 m_parent->signalEvtResult(&result); in procEvtVideoPicTakingState()
3104 rc = m_parent->updateThermalLevel(payload); in procEvtVideoPicTakingState()
3142 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtPreviewPicTakingState()
3150 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3155 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtPreviewPicTakingState()
3159 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3164 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtPreviewPicTakingState()
3168 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3173 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPreviewPicTakingState()
3178 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3184 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtPreviewPicTakingState()
3188 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3196 rc = m_parent->stopPreview(); in procEvtPreviewPicTakingState()
3198 m_parent->m_memoryPool.clear(); in procEvtPreviewPicTakingState()
3202 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3208 rc = m_parent->commitParameterChanges(); in procEvtPreviewPicTakingState()
3212 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3218 rc = m_parent->preparePreview(); in procEvtPreviewPicTakingState()
3221 rc = m_parent->startPreview(); in procEvtPreviewPicTakingState()
3223 m_parent->unpreparePreview(); in procEvtPreviewPicTakingState()
3229 m_parent->setNeedRestart(false); in procEvtPreviewPicTakingState()
3233 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3238 result.params = m_parent->getParameters(); in procEvtPreviewPicTakingState()
3243 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3248 rc = m_parent->putParameters((char*)payload); in procEvtPreviewPicTakingState()
3252 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3262 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3272 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3277 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtPreviewPicTakingState()
3281 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3286 rc = m_parent->dump(*((int *)payload)); in procEvtPreviewPicTakingState()
3290 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3295 rc = m_parent->autoFocus(); in procEvtPreviewPicTakingState()
3299 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3304 rc = m_parent->cancelAutoFocus(); in procEvtPreviewPicTakingState()
3308 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3315 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewPicTakingState()
3327 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3332 rc = m_parent->releaseRecordingFrame((const void *)payload); in procEvtPreviewPicTakingState()
3336 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3341 if (m_parent->isZSLMode() || m_parent->isLongshotEnabled()) { in procEvtPreviewPicTakingState()
3342 rc = m_parent->cancelPicture(); in procEvtPreviewPicTakingState()
3344 rc = m_parent->cancelLiveSnapshot(); in procEvtPreviewPicTakingState()
3350 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3355 if (m_parent->isZSLMode()) { in procEvtPreviewPicTakingState()
3357 rc = m_parent->cancelPicture(); in procEvtPreviewPicTakingState()
3358 m_parent->stopChannel(QCAMERA_CH_TYPE_ZSL); in procEvtPreviewPicTakingState()
3359 } else if (m_parent->isLongshotEnabled()) { in procEvtPreviewPicTakingState()
3361 rc = m_parent->cancelPicture(); in procEvtPreviewPicTakingState()
3363 rc = m_parent->cancelLiveSnapshot(); in procEvtPreviewPicTakingState()
3364 m_parent->stopChannel(QCAMERA_CH_TYPE_PREVIEW); in procEvtPreviewPicTakingState()
3367 m_parent->unpreparePreview(); in procEvtPreviewPicTakingState()
3372 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3377 if (m_parent->isZSLMode()) { in procEvtPreviewPicTakingState()
3380 } else if (m_parent->isLongshotEnabled()) { in procEvtPreviewPicTakingState()
3384 rc = m_parent->preStartRecording(); in procEvtPreviewPicTakingState()
3389 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3394 if (m_parent->isZSLMode()) { in procEvtPreviewPicTakingState()
3398 } else if (m_parent->isLongshotEnabled()) { in procEvtPreviewPicTakingState()
3403 rc = m_parent->startRecording(); in procEvtPreviewPicTakingState()
3411 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3419 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtPreviewPicTakingState()
3426 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3431 if ( m_parent->isLongshotEnabled() ) { in procEvtPreviewPicTakingState()
3442 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3447 if ( m_parent->isLongshotEnabled() ) { in procEvtPreviewPicTakingState()
3448 rc = m_parent->longShot(); in procEvtPreviewPicTakingState()
3457 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3464 if (m_parent->isRetroPicture()) { in procEvtPreviewPicTakingState()
3466 rc = m_parent->prepareHardwareForSnapshot(FALSE); in procEvtPreviewPicTakingState()
3473 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3483 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3499 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3508 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtPreviewPicTakingState()
3512 if (m_parent->isRetroPicture()) { in procEvtPreviewPicTakingState()
3513 m_parent->processPrepSnapshotDoneEvent(internal_evt->prep_snapshot_state); in procEvtPreviewPicTakingState()
3518 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3526 rc = m_parent->processFaceDetectionResult(&internal_evt->faces_data); in procEvtPreviewPicTakingState()
3530 if (m_parent->isRetroPicture()) { in procEvtPreviewPicTakingState()
3535 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3542 rc = m_parent->processHistogramStats(internal_evt->stats_data); in procEvtPreviewPicTakingState()
3545 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPreviewPicTakingState()
3548 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtPreviewPicTakingState()
3554 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtPreviewPicTakingState()
3557 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtPreviewPicTakingState()
3560 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtPreviewPicTakingState()
3563 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtPreviewPicTakingState()
3566 rc = m_parent->processRetroAECUnlock(); in procEvtPreviewPicTakingState()
3569 rc = m_parent->processZSLCaptureDone(); in procEvtPreviewPicTakingState()
3582 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPreviewPicTakingState()
3588 if (m_parent->isCACEnabled() || m_parent->mParameters.isOEMFeatEnabled()) { in procEvtPreviewPicTakingState()
3590 if ((m_parent->isLongshotEnabled()) in procEvtPreviewPicTakingState()
3591 && (!m_parent->isCaptureShutterEnabled())) { in procEvtPreviewPicTakingState()
3594 m_parent->playShutter(); in procEvtPreviewPicTakingState()
3596 m_parent->mCACDoneReceived = TRUE; in procEvtPreviewPicTakingState()
3611 rc = m_parent->processJpegNotify(jpeg_job); in procEvtPreviewPicTakingState()
3617 if (m_parent->isZSLMode() || m_parent->isLongshotEnabled()) { in procEvtPreviewPicTakingState()
3618 rc = m_parent->cancelPicture(); in procEvtPreviewPicTakingState()
3620 rc = m_parent->cancelLiveSnapshot(); in procEvtPreviewPicTakingState()
3623 if (m_parent->isRetroPicture()){ in procEvtPreviewPicTakingState()
3628 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3634 m_parent->signalEvtResult(&result); in procEvtPreviewPicTakingState()
3639 rc = m_parent->updateThermalLevel(payload); in procEvtPreviewPicTakingState()
3644 m_parent->stopPreview(); in procEvtPreviewPicTakingState()
3648 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3653 rc = m_parent->preparePreview(); in procEvtPreviewPicTakingState()
3655 rc = m_parent->startPreview(); in procEvtPreviewPicTakingState()
3660 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()