Home
last modified time | relevance | path

Searched refs:focusMode (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/camera/tests/
DCameraZSLTests.cpp225 const char *focusMode = nullptr; in TEST_F() local
232 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE; in TEST_F()
236 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO; in TEST_F()
239 focusMode = CameraParameters::FOCUS_MODE_MACRO; in TEST_F()
247 if (nullptr != focusMode) { in TEST_F()
248 params.set(CameraParameters::KEY_FOCUS_MODE, focusMode); in TEST_F()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h95 } focusMode; member
241 focusMode_t focusMode; member
245 focusMode(FOCUS_MODE_INVALID) { in OverrideModes()
343 static focusMode_t focusModeStringToEnum(const char *focusMode);
344 static const char* focusModeEnumToString(focusMode_t focusMode);
DParameters.cpp730 focusMode = Parameters::FOCUS_MODE_FIXED; in initialize()
736 focusMode = Parameters::FOCUS_MODE_AUTO; in initialize()
798 if (focusMode != Parameters::FOCUS_MODE_FIXED) { in initialize()
1227 modes.focusMode = fixedLens ? in buildFastInfo()
1235 modes.focusMode = static_cast<focusMode_t>(afMode); in buildFastInfo()
1240 modes.focusMode = FOCUS_MODE_INVALID; in buildFastInfo()
1904 validatedParams.focusMode = in set()
1906 valueFor(validatedParams.sceneMode).focusMode; in set()
1908 validatedParams.focusMode = FOCUS_MODE_INVALID; in set()
1910 if (validatedParams.focusMode == FOCUS_MODE_INVALID) { in set()
[all …]
DFrameProcessor.cpp53 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED) { in FrameProcessor()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraCapabilities.java708 FocusMode focusMode = settings.getCurrentFocusMode(); in focusCheck() local
709 if (!supports(focusMode)) { in focusCheck()
717 (focusMode != null ? focusMode.name() : "null")); in focusCheck()
DCameraSettings.java396 public void setFocusMode(CameraCapabilities.FocusMode focusMode) { in setFocusMode() argument
397 mCurrentFocusMode = focusMode; in setFocusMode()
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp369 const char* focusMode = nullptr; in invokeCameraAPIs() local
375 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE; in invokeCameraAPIs()
378 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO; in invokeCameraAPIs()
381 focusMode = CameraParameters::FOCUS_MODE_MACRO; in invokeCameraAPIs()
383 if (nullptr != focusMode) { in invokeCameraAPIs()
384 params.set(CameraParameters::KEY_FOCUS_MODE, focusMode); in invokeCameraAPIs()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp325 switch (p.focusMode) { in dumpClient()
1401 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED || in autoFocus()
1402 l.mParameters.focusMode == Parameters::FOCUS_MODE_INFINITY) { in autoFocus()
1411 if ( (l.mParameters.focusMode == Parameters::FOCUS_MODE_CONTINUOUS_PICTURE || in autoFocus()
1412 l.mParameters.focusMode == Parameters::FOCUS_MODE_CONTINUOUS_VIDEO) && in autoFocus()
1433 l.mParameters.focusMode != Parameters::FOCUS_MODE_AUTO && in autoFocus()
1436 __FUNCTION__, l.mParameters.focusMode); in autoFocus()
1437 l.mParameters.shadowFocusMode = l.mParameters.focusMode; in autoFocus()
1438 l.mParameters.focusMode = Parameters::FOCUS_MODE_AUTO; in autoFocus()
1470 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED || in cancelAutoFocus()
[all …]
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h1720 XAuint32 focusMode,