Searched refs:supportedFlashModes (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
D | CameraFunctionalTest.java | 171 List<String> supportedFlashModes = params.getSupportedFlashModes(); in testFunctionalCameraFlashModes() local 172 assertNotNull("No flash modes supported", supportedFlashModes); in testFunctionalCameraFlashModes() 174 for (int i = 0; i < supportedFlashModes.size(); i++) { in testFunctionalCameraFlashModes() 181 Log.v(TAG, "Setting flash mode to " + supportedFlashModes.get(i)); in testFunctionalCameraFlashModes() 182 params.setFlashMode(supportedFlashModes.get(i)); in testFunctionalCameraFlashModes()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyRequestMapper.java | 536 List<String> supportedFlashModes = p.getSupportedFlashModes(); in mapAeAndFlashMode() local 541 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_OFF)) { in mapAeAndFlashMode() 552 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_TORCH)) { in mapAeAndFlashMode() 559 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_ON)) { in mapAeAndFlashMode() 569 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_ON)) { in mapAeAndFlashMode() 576 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_AUTO)) { in mapAeAndFlashMode() 583 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_RED_EYE)) { in mapAeAndFlashMode() 601 + ", supported (api1) " + ListUtils.listToString(supportedFlashModes)); in mapAeAndFlashMode()
|
D | LegacyMetadataMapper.java | 664 List<String> supportedFlashModes = p.getSupportedFlashModes(); in mapFlash() local 666 if (supportedFlashModes != null) { in mapFlash() 669 supportedFlashModes, Camera.Parameters.FLASH_MODE_OFF); in mapFlash()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCameraCapabilities.java | 172 List<String> supportedFlashModes = p.getSupportedFlashModes(); in buildFlashModes() local 173 if (supportedFlashModes == null) { in buildFlashModes() 177 for (String flash : supportedFlashModes) { in buildFlashModes()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 630 String8 supportedFlashModes(CameraParameters::FLASH_MODE_OFF); in initialize() local 631 supportedFlashModes = supportedFlashModes + in initialize() 638 supportedFlashModes = supportedFlashModes + "," + in initialize() 644 supportedFlashModes); in initialize()
|