Lines Matching refs:focusMode
597 focusMode = Parameters::FOCUS_MODE_FIXED;
603 focusMode = Parameters::FOCUS_MODE_AUTO;
655 if (focusMode != Parameters::FOCUS_MODE_FIXED) {
930 modes.focusMode = fixedLens ?
938 modes.focusMode = static_cast<focusMode_t>(afMode);
943 modes.focusMode = FOCUS_MODE_INVALID;
1485 validatedParams.focusMode =
1487 valueFor(validatedParams.sceneMode).focusMode;
1489 validatedParams.focusMode = FOCUS_MODE_INVALID;
1491 if (validatedParams.focusMode == FOCUS_MODE_INVALID) {
1492 validatedParams.focusMode = focusModeStringToEnum(
1495 if (validatedParams.focusMode != focusMode) {
1497 if (validatedParams.focusMode != Parameters::FOCUS_MODE_FIXED) {
1506 } else if (validatedParams.focusMode !=
1511 if (validatedParams.focusMode ==
1527 focusModeEnumToString(validatedParams.focusMode));
1770 switch (focusMode) {
1776 reqFocusMode = focusMode;
1784 cameraId, focusMode);
2161 const char *focusMode) {
2163 !focusMode ?
2165 !strcmp(focusMode, CameraParameters::FOCUS_MODE_AUTO) ?
2167 !strcmp(focusMode, CameraParameters::FOCUS_MODE_INFINITY) ?
2169 !strcmp(focusMode, CameraParameters::FOCUS_MODE_MACRO) ?
2171 !strcmp(focusMode, CameraParameters::FOCUS_MODE_FIXED) ?
2173 !strcmp(focusMode, CameraParameters::FOCUS_MODE_EDOF) ?
2175 !strcmp(focusMode, CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO) ?
2177 !strcmp(focusMode, CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE) ?
2182 const char *Parameters::focusModeEnumToString(focusMode_t focusMode) {
2183 switch (focusMode) {
2200 __FUNCTION__, focusMode);
2263 if (areaKind == AREA_KIND_FOCUS && focusMode == FOCUS_MODE_FIXED) {