Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCameraStressTest.java136 List<String> supportedSceneModes = params.getSupportedSceneModes(); in testStressCameraSceneModes() local
137 assertNotNull("No scene modes supported", supportedSceneModes); in testStressCameraSceneModes()
140 (NUMBER_OF_SCENE_MODE_LOOPS * supportedSceneModes.size()) + "\n"); in testStressCameraSceneModes()
144 for (int i = 0; i < supportedSceneModes.size(); i++) { in testStressCameraSceneModes()
152 Log.v(TAG, "Setting scene mode to " + supportedSceneModes.get(i)); in testStressCameraSceneModes()
153 params.setSceneMode(supportedSceneModes.get(i)); in testStressCameraSceneModes()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java644 List<Integer> supportedSceneModes = in mapControlOther() local
650 supportedSceneModes = null; in mapControlOther()
654 if (supportedSceneModes == null && maxNumDetectedFaces == 0) { in mapControlOther()
659 if (supportedSceneModes == null) { in mapControlOther()
660 supportedSceneModes = new ArrayList<Integer>(); in mapControlOther()
663 supportedSceneModes.add(CONTROL_SCENE_MODE_FACE_PRIORITY); in mapControlOther()
666 if (supportedSceneModes.contains(CONTROL_SCENE_MODE_DISABLED)) { in mapControlOther()
667 while(supportedSceneModes.remove(new Integer(CONTROL_SCENE_MODE_DISABLED))) {} in mapControlOther()
669 m.set(CONTROL_AVAILABLE_SCENE_MODES, ArrayUtils.toIntArray(supportedSceneModes)); in mapControlOther()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp540 String8 supportedSceneModes(CameraParameters::SCENE_MODE_AUTO); in initialize() local
544 if (addComma) supportedSceneModes += ","; in initialize()
555 supportedSceneModes += in initialize()
559 supportedSceneModes += in initialize()
563 supportedSceneModes += in initialize()
567 supportedSceneModes += in initialize()
571 supportedSceneModes += in initialize()
575 supportedSceneModes += in initialize()
579 supportedSceneModes += in initialize()
583 supportedSceneModes += in initialize()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraCapabilities.java129 List<String> supportedSceneModes = p.getSupportedSceneModes(); in buildSceneModes() local
130 if (supportedSceneModes != null) { in buildSceneModes()
131 for (String scene : supportedSceneModes) { in buildSceneModes()