Home
last modified time | relevance | path

Searched refs:SceneMode (Results 1 – 8 of 8) sorted by relevance

/frameworks/ex/camera2/portability/tests/src/com/android/ex/camera2/portability/
DCamera2PortabilityTest.java33 import com.android.ex.camera2.portability.CameraCapabilities.SceneMode;
57 for(SceneMode val : SceneMode.values()) { in cameraCapabilitiesStringifier()
75 assertEquals(strfy.sceneModeFromString(null), SceneMode.NO_SCENE_MODE); in cameraCapabilitiesStringifierNull()
89 assertEquals(strfy.sceneModeFromString("crap"), SceneMode.NO_SCENE_MODE); in cameraCapabilitiesStringifierInvalid()
133 set.setSceneMode(SceneMode.AUTO); in camera2SettingsSetOptionsAndGetRequestSettings()
135 set.setSceneMode(SceneMode.ACTION); in camera2SettingsSetOptionsAndGetRequestSettings()
137 set.setSceneMode(SceneMode.BARCODE); in camera2SettingsSetOptionsAndGetRequestSettings()
139 set.setSceneMode(SceneMode.BEACH); in camera2SettingsSetOptionsAndGetRequestSettings()
141 set.setSceneMode(SceneMode.CANDLELIGHT); in camera2SettingsSetOptionsAndGetRequestSettings()
143 set.setSceneMode(SceneMode.FIREWORKS); in camera2SettingsSetOptionsAndGetRequestSettings()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Capabilities.java111 SceneMode equiv = sceneModeFromInt(scene); in buildSceneModes()
193 public static SceneMode sceneModeFromInt(int sm) { in sceneModeFromInt()
196 return SceneMode.AUTO; in sceneModeFromInt()
198 return SceneMode.ACTION; in sceneModeFromInt()
200 return SceneMode.BARCODE; in sceneModeFromInt()
202 return SceneMode.BEACH; in sceneModeFromInt()
204 return SceneMode.CANDLELIGHT; in sceneModeFromInt()
206 return SceneMode.FIREWORKS; in sceneModeFromInt()
208 return SceneMode.LANDSCAPE; in sceneModeFromInt()
210 return SceneMode.NIGHT; in sceneModeFromInt()
[all …]
DAndroidCameraCapabilities.java133 mSupportedSceneModes.add(SceneMode.AUTO); in buildSceneModes()
135 mSupportedSceneModes.add(SceneMode.ACTION); in buildSceneModes()
137 mSupportedSceneModes.add(SceneMode.BARCODE); in buildSceneModes()
139 mSupportedSceneModes.add(SceneMode.BEACH); in buildSceneModes()
141 mSupportedSceneModes.add(SceneMode.CANDLELIGHT); in buildSceneModes()
143 mSupportedSceneModes.add(SceneMode.FIREWORKS); in buildSceneModes()
145 mSupportedSceneModes.add(SceneMode.HDR); in buildSceneModes()
147 mSupportedSceneModes.add(SceneMode.LANDSCAPE); in buildSceneModes()
149 mSupportedSceneModes.add(SceneMode.NIGHT); in buildSceneModes()
151 mSupportedSceneModes.add(SceneMode.NIGHT_PORTRAIT); in buildSceneModes()
[all …]
DCameraCapabilities.java51 protected final EnumSet<SceneMode> mSupportedSceneModes = EnumSet.noneOf(SceneMode.class);
149 public enum SceneMode { enum in CameraCapabilities
407 public String stringify(SceneMode scene) { in stringify()
419 public SceneMode sceneModeFromString(String val) { in sceneModeFromString()
421 return SceneMode.values()[0]; in sceneModeFromString()
424 return SceneMode.valueOf(toEnumCase(val)); in sceneModeFromString()
426 return SceneMode.values()[0]; in sceneModeFromString()
561 public final Set<SceneMode> getSupportedSceneModes() { in getSupportedSceneModes()
562 return new HashSet<SceneMode>(mSupportedSceneModes); in getSupportedSceneModes()
568 public final boolean supports(SceneMode scene) { in supports()
DCameraSettings.java54 protected CameraCapabilities.SceneMode mCurrentSceneMode;
449 public CameraCapabilities.SceneMode getCurrentSceneMode() { in getCurrentSceneMode()
459 public void setSceneMode(CameraCapabilities.SceneMode sceneMode) { in setSceneMode()
DAndroidCamera2Settings.java32 import com.android.ex.camera2.portability.CameraCapabilities.SceneMode;
DAndroidCameraAgentImpl.java698 if (settings.getCurrentSceneMode() != CameraCapabilities.SceneMode.NO_SCENE_MODE) { in applySettingsToParameters()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraPairwiseTest.java59 public enum SceneMode { SUNSET, ACTION, PARTY, NIGHT, AUTO }; enum in CameraPairwiseTest
129 genericPairwiseTestCase(Flash.AUTO, Exposure.NONE, WhiteBalance.DAYLIGHT, SceneMode.SUNSET, in testCameraPairwiseScenario01()
139 genericPairwiseTestCase(Flash.ON, Exposure.MIN, WhiteBalance.FLUORESCENT, SceneMode.AUTO, in testCameraPairwiseScenario02()
149 genericPairwiseTestCase(Flash.OFF, Exposure.MAX, WhiteBalance.AUTO, SceneMode.NIGHT, in testCameraPairwiseScenario03()
159 genericPairwiseTestCase(Flash.OFF, Exposure.MAX, WhiteBalance.CLOUDY, SceneMode.AUTO, in testCameraPairwiseScenario04()
170 SceneMode.AUTO, PictureSize.LARGE, Geotagging.OFF); in testCameraPairwiseScenario05()
179 genericPairwiseTestCase(Flash.ON, Exposure.NONE, WhiteBalance.CLOUDY, SceneMode.AUTO, in testCameraPairwiseScenario06()
189 genericPairwiseTestCase(Flash.AUTO, Exposure.MIN, WhiteBalance.AUTO, SceneMode.ACTION, in testCameraPairwiseScenario07()
199 genericPairwiseTestCase(Flash.ON, Exposure.MIN, WhiteBalance.AUTO, SceneMode.ACTION, in testCameraPairwiseScenario08()
209 genericPairwiseTestCase(Flash.OFF, Exposure.MIN, WhiteBalance.AUTO, SceneMode.NIGHT, in testCameraPairwiseScenario09()
[all …]