• Home
  • Raw
  • Download

Lines Matching refs:Parameters

65     l.mParameters.state = Parameters::DISCONNECTED;  in Camera2Client()
158 const Parameters& p = mParameters.unsafeAccess(); in dumpClient()
160 result.append(Parameters::getStateName(p.state)); in dumpClient()
250 CASE_APPEND_ENUM(Parameters::FLASH_MODE_OFF) in dumpClient()
251 CASE_APPEND_ENUM(Parameters::FLASH_MODE_AUTO) in dumpClient()
252 CASE_APPEND_ENUM(Parameters::FLASH_MODE_ON) in dumpClient()
253 CASE_APPEND_ENUM(Parameters::FLASH_MODE_TORCH) in dumpClient()
254 CASE_APPEND_ENUM(Parameters::FLASH_MODE_RED_EYE) in dumpClient()
255 CASE_APPEND_ENUM(Parameters::FLASH_MODE_INVALID) in dumpClient()
261 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_AUTO) in dumpClient()
262 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_MACRO) in dumpClient()
263 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_CONTINUOUS_VIDEO) in dumpClient()
264 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_CONTINUOUS_PICTURE) in dumpClient()
265 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_EDOF) in dumpClient()
266 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_INFINITY) in dumpClient()
267 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_FIXED) in dumpClient()
268 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_INVALID) in dumpClient()
397 if (l.mParameters.state == Parameters::DISCONNECTED) return res; in disconnect()
398 l.mParameters.state = Parameters::DISCONNECTED; in disconnect()
492 if (l.mParameters.state == Parameters::RECORD || in unlock()
493 l.mParameters.state == Parameters::VIDEO_SNAPSHOT) { in unlock()
539 Parameters::State state; in setPreviewWindowL()
545 case Parameters::DISCONNECTED: in setPreviewWindowL()
546 case Parameters::RECORD: in setPreviewWindowL()
547 case Parameters::STILL_CAPTURE: in setPreviewWindowL()
548 case Parameters::VIDEO_SNAPSHOT: in setPreviewWindowL()
551 Parameters::getStateName(state)); in setPreviewWindowL()
553 case Parameters::STOPPED: in setPreviewWindowL()
554 case Parameters::WAITING_FOR_PREVIEW_WINDOW: in setPreviewWindowL()
557 case Parameters::PREVIEW: in setPreviewWindowL()
565 state = Parameters::WAITING_FOR_PREVIEW_WINDOW; in setPreviewWindowL()
577 if (state == Parameters::WAITING_FOR_PREVIEW_WINDOW) { in setPreviewWindowL()
597 void Camera2Client::setPreviewCallbackFlagL(Parameters &params, int flag) { in setPreviewCallbackFlagL()
601 case Parameters::STOPPED: in setPreviewCallbackFlagL()
602 case Parameters::WAITING_FOR_PREVIEW_WINDOW: in setPreviewCallbackFlagL()
603 case Parameters::PREVIEW: in setPreviewCallbackFlagL()
604 case Parameters::STILL_CAPTURE: in setPreviewCallbackFlagL()
635 if (params.state == Parameters::PREVIEW) { in setPreviewCallbackFlagL()
640 Parameters::getStateName(params.state)); in setPreviewCallbackFlagL()
679 case Parameters::PREVIEW: in setPreviewCallbackTarget()
682 case Parameters::RECORD: in setPreviewCallbackTarget()
683 case Parameters::VIDEO_SNAPSHOT: in setPreviewCallbackTarget()
692 Parameters::getStateName(l.mParameters.state)); in setPreviewCallbackTarget()
709 status_t Camera2Client::startPreviewL(Parameters &params, bool restart) { in startPreviewL()
715 if ( (params.state == Parameters::PREVIEW || in startPreviewL()
716 params.state == Parameters::RECORD || in startPreviewL()
717 params.state == Parameters::VIDEO_SNAPSHOT) in startPreviewL()
724 if (params.state > Parameters::PREVIEW && !restart) { in startPreviewL()
727 Parameters::getStateName(params.state)); in startPreviewL()
732 params.state = Parameters::WAITING_FOR_PREVIEW_WINDOW; in startPreviewL()
735 params.state = Parameters::STOPPED; in startPreviewL()
871 params.state = Parameters::PREVIEW; in startPreviewL()
888 Parameters::State state; in stopPreviewL()
895 case Parameters::DISCONNECTED: in stopPreviewL()
898 case Parameters::STOPPED: in stopPreviewL()
899 case Parameters::VIDEO_SNAPSHOT: in stopPreviewL()
900 case Parameters::STILL_CAPTURE: in stopPreviewL()
903 case Parameters::RECORD: in stopPreviewL()
904 case Parameters::PREVIEW: in stopPreviewL()
933 case Parameters::WAITING_FOR_PREVIEW_WINDOW: { in stopPreviewL()
935 l.mParameters.state = Parameters::STOPPED; in stopPreviewL()
952 return l.mParameters.state == Parameters::PREVIEW; in previewEnabled()
963 case Parameters::RECORD: in setVideoBufferMode()
964 case Parameters::VIDEO_SNAPSHOT: in setVideoBufferMode()
967 Parameters::getStateName(l.mParameters.state)); in setVideoBufferMode()
995 status_t Camera2Client::startRecordingL(Parameters &params, bool restart) { in startRecordingL()
1001 case Parameters::STOPPED: in startRecordingL()
1009 case Parameters::PREVIEW: in startRecordingL()
1012 case Parameters::RECORD: in startRecordingL()
1013 case Parameters::VIDEO_SNAPSHOT: in startRecordingL()
1021 Parameters::getStateName(params.state)); in startRecordingL()
1163 if (params.state < Parameters::RECORD) { in startRecordingL()
1164 params.state = Parameters::RECORD; in startRecordingL()
1180 case Parameters::RECORD: in stopRecording()
1183 case Parameters::STOPPED: in stopRecording()
1184 case Parameters::PREVIEW: in stopRecording()
1185 case Parameters::STILL_CAPTURE: in stopRecording()
1186 case Parameters::VIDEO_SNAPSHOT: in stopRecording()
1190 Parameters::getStateName(l.mParameters.state)); in stopRecording()
1238 return (l.mParameters.state == Parameters::RECORD in recordingEnabledL()
1239 || l.mParameters.state == Parameters::VIDEO_SNAPSHOT); in recordingEnabledL()
1266 if (l.mParameters.state < Parameters::PREVIEW) { in autoFocus()
1280 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED || in autoFocus()
1281 l.mParameters.focusMode == Parameters::FOCUS_MODE_INFINITY) { in autoFocus()
1290 if ( (l.mParameters.focusMode == Parameters::FOCUS_MODE_CONTINUOUS_PICTURE || in autoFocus()
1291 l.mParameters.focusMode == Parameters::FOCUS_MODE_CONTINUOUS_VIDEO) && in autoFocus()
1312 l.mParameters.focusMode != Parameters::FOCUS_MODE_AUTO && in autoFocus()
1317 l.mParameters.focusMode = Parameters::FOCUS_MODE_AUTO; in autoFocus()
1344 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED || in cancelAutoFocus()
1345 l.mParameters.focusMode == Parameters::FOCUS_MODE_INFINITY) { in cancelAutoFocus()
1359 if (l.mParameters.shadowFocusMode != Parameters::FOCUS_MODE_INVALID) { in cancelAutoFocus()
1363 l.mParameters.shadowFocusMode = Parameters::FOCUS_MODE_INVALID; in cancelAutoFocus()
1389 case Parameters::DISCONNECTED: in takePicture()
1390 case Parameters::STOPPED: in takePicture()
1391 case Parameters::WAITING_FOR_PREVIEW_WINDOW: in takePicture()
1395 case Parameters::PREVIEW: in takePicture()
1403 l.mParameters.state = Parameters::STILL_CAPTURE; in takePicture()
1433 case Parameters::RECORD: in takePicture()
1435 l.mParameters.state = Parameters::VIDEO_SNAPSHOT; in takePicture()
1437 case Parameters::STILL_CAPTURE: in takePicture()
1438 case Parameters::VIDEO_SNAPSHOT: in takePicture()
1453 if (res == BAD_VALUE && l.mParameters.state == Parameters::VIDEO_SNAPSHOT) { in takePicture()
1496 Parameters::focusMode_t focusModeBefore = l.mParameters.focusMode; in setParameters()
1499 Parameters::focusMode_t focusModeAfter = l.mParameters.focusMode; in setParameters()
1575 int transform = Parameters::degToTransform(degrees, in commandSetDisplayOrientationL()
1634 case Parameters::DISCONNECTED: in commandStartFaceDetectionL()
1635 case Parameters::STOPPED: in commandStartFaceDetectionL()
1636 case Parameters::WAITING_FOR_PREVIEW_WINDOW: in commandStartFaceDetectionL()
1637 case Parameters::STILL_CAPTURE: in commandStartFaceDetectionL()
1641 case Parameters::PREVIEW: in commandStartFaceDetectionL()
1642 case Parameters::RECORD: in commandStartFaceDetectionL()
1643 case Parameters::VIDEO_SNAPSHOT: in commandStartFaceDetectionL()
1663 status_t Camera2Client::commandStopFaceDetectionL(Parameters &params) { in commandStopFaceDetectionL()
1672 if (params.state == Parameters::PREVIEW in commandStopFaceDetectionL()
1673 || params.state == Parameters::RECORD in commandStopFaceDetectionL()
1674 || params.state == Parameters::VIDEO_SNAPSHOT) { in commandStopFaceDetectionL()
1691 if (l.mParameters.state != Parameters::DISCONNECTED) { in commandPingL()
1762 case Parameters::FOCUS_MODE_AUTO: in notifyAutoFocus()
1763 case Parameters::FOCUS_MODE_MACRO: in notifyAutoFocus()
1790 case Parameters::FOCUS_MODE_CONTINUOUS_VIDEO: in notifyAutoFocus()
1791 case Parameters::FOCUS_MODE_CONTINUOUS_PICTURE: in notifyAutoFocus()
1834 case Parameters::FOCUS_MODE_EDOF: in notifyAutoFocus()
1835 case Parameters::FOCUS_MODE_INFINITY: in notifyAutoFocus()
1836 case Parameters::FOCUS_MODE_FIXED: in notifyAutoFocus()
1919 status_t Camera2Client::createJpegStreamL(Parameters &params) { in createJpegStreamL()
1961 status_t Camera2Client::updateRequests(Parameters &params) { in updateRequests()
1986 if (params.state == Parameters::PREVIEW) { in updateRequests()
1993 } else if (params.state == Parameters::RECORD || in updateRequests()
1994 params.state == Parameters::VIDEO_SNAPSHOT) { in updateRequests()
2055 camera2::Parameters params) { in updateProcessorStream()
2062 status_t (ProcessorT::*updateStreamF)(const Parameters &)>
2064 Parameters params) { in updateProcessorStream()
2109 status_t Camera2Client::overrideVideoSnapshotSize(Parameters &params) { in overrideVideoSnapshotSize()
2159 Parameters::State state; in setVideoTarget()
2166 case Parameters::STOPPED: in setVideoTarget()
2167 case Parameters::WAITING_FOR_PREVIEW_WINDOW: in setVideoTarget()
2168 case Parameters::PREVIEW: in setVideoTarget()
2171 case Parameters::DISCONNECTED: in setVideoTarget()
2172 case Parameters::RECORD: in setVideoTarget()
2173 case Parameters::STILL_CAPTURE: in setVideoTarget()
2174 case Parameters::VIDEO_SNAPSHOT: in setVideoTarget()
2178 Parameters::getStateName(state)); in setVideoTarget()