Home
last modified time | relevance | path

Searched refs:supportedFocusModes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraFunctionalTest.java190 List<String> supportedFocusModes = params.getSupportedFocusModes(); in testFunctionalCameraFocusModes() local
191 assertNotNull("No focus modes supported", supportedFocusModes); in testFunctionalCameraFocusModes()
193 for (int i = 0; i < supportedFocusModes.size(); i++) { in testFunctionalCameraFocusModes()
200 Log.v(TAG, "Setting focus mode to: " + supportedFocusModes.get(i)); in testFunctionalCameraFocusModes()
201 params.setFocusMode(supportedFocusModes.get(i)); in testFunctionalCameraFocusModes()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraCapabilities.java194 List<String> supportedFocusModes = p.getSupportedFocusModes(); in buildFocusModes() local
195 if (supportedFocusModes != null) { in buildFocusModes()
196 for (String focus : supportedFocusModes) { in buildFocusModes()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java1477 static String convertAfModeToLegacy(int mode, List<String> supportedFocusModes) { in convertAfModeToLegacy() argument
1478 if (supportedFocusModes == null || supportedFocusModes.isEmpty()) { in convertAfModeToLegacy()
1501 if (supportedFocusModes.contains(Parameters.FOCUS_MODE_FIXED)) { in convertAfModeToLegacy()
1508 if (!supportedFocusModes.contains(param)) { in convertAfModeToLegacy()
1510 String defaultMode = supportedFocusModes.get(0); in convertAfModeToLegacy()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp716 String8 supportedFocusModes; in initialize() local
724 supportedFocusModes += CameraParameters::FOCUS_MODE_INFINITY; in initialize()
729 if (addComma) supportedFocusModes += ","; in initialize()
733 supportedFocusModes += in initialize()
737 supportedFocusModes += in initialize()
741 supportedFocusModes += in initialize()
745 supportedFocusModes += in initialize()
749 supportedFocusModes += in initialize()
764 supportedFocusModes); in initialize()