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.java1468 static String convertAfModeToLegacy(int mode, List<String> supportedFocusModes) { in convertAfModeToLegacy() argument
1469 if (supportedFocusModes == null || supportedFocusModes.isEmpty()) { in convertAfModeToLegacy()
1492 if (supportedFocusModes.contains(Parameters.FOCUS_MODE_FIXED)) { in convertAfModeToLegacy()
1499 if (!supportedFocusModes.contains(param)) { in convertAfModeToLegacy()
1501 String defaultMode = supportedFocusModes.get(0); in convertAfModeToLegacy()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp688 String8 supportedFocusModes; in initialize() local
696 supportedFocusModes += CameraParameters::FOCUS_MODE_INFINITY; in initialize()
701 if (addComma) supportedFocusModes += ","; in initialize()
705 supportedFocusModes += in initialize()
709 supportedFocusModes += in initialize()
713 supportedFocusModes += in initialize()
717 supportedFocusModes += in initialize()
721 supportedFocusModes += in initialize()
736 supportedFocusModes); in initialize()