Home
last modified time | relevance | path

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

/frameworks/av/camera/tests/
DCameraZSLTests.cpp218 const char *focusMode = nullptr; in TEST_F() local
225 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE; in TEST_F()
229 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO; in TEST_F()
232 focusMode = CameraParameters::FOCUS_MODE_MACRO; in TEST_F()
240 if (nullptr != focusMode) { in TEST_F()
241 params.set(CameraParameters::KEY_FOCUS_MODE, focusMode); in TEST_F()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h95 } focusMode; member
238 focusMode_t focusMode; member
242 focusMode(FOCUS_MODE_INVALID) { in OverrideModes()
339 static focusMode_t focusModeStringToEnum(const char *focusMode);
340 static const char* focusModeEnumToString(focusMode_t focusMode);
DParameters.cpp707 focusMode = Parameters::FOCUS_MODE_FIXED; in initialize()
713 focusMode = Parameters::FOCUS_MODE_AUTO; in initialize()
775 if (focusMode != Parameters::FOCUS_MODE_FIXED) { in initialize()
1183 modes.focusMode = fixedLens ? in buildFastInfo()
1191 modes.focusMode = static_cast<focusMode_t>(afMode); in buildFastInfo()
1196 modes.focusMode = FOCUS_MODE_INVALID; in buildFastInfo()
1859 validatedParams.focusMode = in set()
1861 valueFor(validatedParams.sceneMode).focusMode; in set()
1863 validatedParams.focusMode = FOCUS_MODE_INVALID; in set()
1865 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/api1/
DCamera2Client.cpp282 switch (p.focusMode) { in dumpClient()
1343 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED || in autoFocus()
1344 l.mParameters.focusMode == Parameters::FOCUS_MODE_INFINITY) { in autoFocus()
1353 if ( (l.mParameters.focusMode == Parameters::FOCUS_MODE_CONTINUOUS_PICTURE || in autoFocus()
1354 l.mParameters.focusMode == Parameters::FOCUS_MODE_CONTINUOUS_VIDEO) && in autoFocus()
1375 l.mParameters.focusMode != Parameters::FOCUS_MODE_AUTO && in autoFocus()
1378 __FUNCTION__, l.mParameters.focusMode); in autoFocus()
1379 l.mParameters.shadowFocusMode = l.mParameters.focusMode; in autoFocus()
1380 l.mParameters.focusMode = Parameters::FOCUS_MODE_AUTO; in autoFocus()
1407 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED || in cancelAutoFocus()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequestMapper.java230 String focusMode = LegacyMetadataMapper.convertAfModeToLegacy(afMode, in convertRequestMetadata() local
233 if (focusMode != null) { in convertRequestMetadata()
234 params.setFocusMode(focusMode); in convertRequestMetadata()
239 + afMode + " mapped to " + focusMode); in convertRequestMetadata()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h1720 XAuint32 focusMode,