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.java138 List<String> supportedSceneModes = params.getSupportedSceneModes(); in testStressCameraSceneModes() local
139 assertNotNull("No scene modes supported", supportedSceneModes); in testStressCameraSceneModes()
142 (NUMBER_OF_SCENE_MODE_LOOPS * supportedSceneModes.size()) + "\n"); in testStressCameraSceneModes()
146 for (int i = 0; i < supportedSceneModes.size(); i++) { in testStressCameraSceneModes()
154 Log.v(TAG, "Setting scene mode to " + supportedSceneModes.get(i)); in testStressCameraSceneModes()
155 params.setSceneMode(supportedSceneModes.get(i)); in testStressCameraSceneModes()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java651 List<Integer> supportedSceneModes = in mapControlOther() local
657 supportedSceneModes = null; in mapControlOther()
661 if (supportedSceneModes == null && maxNumDetectedFaces == 0) { in mapControlOther()
666 if (supportedSceneModes == null) { in mapControlOther()
667 supportedSceneModes = new ArrayList<Integer>(); in mapControlOther()
670 supportedSceneModes.add(CONTROL_SCENE_MODE_FACE_PRIORITY); in mapControlOther()
673 if (supportedSceneModes.contains(CONTROL_SCENE_MODE_DISABLED)) { in mapControlOther()
674 while(supportedSceneModes.remove(new Integer(CONTROL_SCENE_MODE_DISABLED))) {} in mapControlOther()
676 m.set(CONTROL_AVAILABLE_SCENE_MODES, ArrayUtils.toIntArray(supportedSceneModes)); in mapControlOther()
/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()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp564 String8 supportedSceneModes(CameraParameters::SCENE_MODE_AUTO); in initialize() local
568 if (addComma) supportedSceneModes += ","; in initialize()
583 supportedSceneModes += in initialize()
587 supportedSceneModes += in initialize()
591 supportedSceneModes += in initialize()
595 supportedSceneModes += in initialize()
599 supportedSceneModes += in initialize()
603 supportedSceneModes += in initialize()
607 supportedSceneModes += in initialize()
611 supportedSceneModes += in initialize()
[all …]