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.java191 List<String> supportedFocusModes = params.getSupportedFocusModes(); in testFunctionalCameraFocusModes() local
192 assertNotNull("No focus modes supported", supportedFocusModes); in testFunctionalCameraFocusModes()
194 for (int i = 0; i < supportedFocusModes.size(); i++) { in testFunctionalCameraFocusModes()
201 Log.v(TAG, "Setting focus mode to: " + supportedFocusModes.get(i)); in testFunctionalCameraFocusModes()
202 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/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCamera.java189 final List<String> supportedFocusModes = mParameters.getSupportedFocusModes(); in setCameraParameter() local
190 if (supportedFocusModes.contains(Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) { in setCameraParameter()
192 } else if (supportedFocusModes.contains(Camera.Parameters.FOCUS_MODE_AUTO)) { in setCameraParameter()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp739 String8 supportedFocusModes; in initialize() local
747 supportedFocusModes += CameraParameters::FOCUS_MODE_INFINITY; in initialize()
752 if (addComma) supportedFocusModes += ","; in initialize()
756 supportedFocusModes += in initialize()
760 supportedFocusModes += in initialize()
764 supportedFocusModes += in initialize()
768 supportedFocusModes += in initialize()
772 supportedFocusModes += in initialize()
787 supportedFocusModes); in initialize()