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 | 159 List<String> supportedFlashModes = params.getSupportedFlashModes(); in testFunctionalCameraFlashModes() local 160 assertNotNull("No flash modes supported", supportedFlashModes); in testFunctionalCameraFlashModes() 162 for (int i = 0; i < supportedFlashModes.size(); i++) { in testFunctionalCameraFlashModes() 169 Log.v(TAG, "Setting flash mode to " + supportedFlashModes.get(i)); in testFunctionalCameraFlashModes() 170 params.setFlashMode(supportedFlashModes.get(i)); in testFunctionalCameraFlashModes()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyRequestMapper.java | 539 List<String> supportedFlashModes = p.getSupportedFlashModes(); in mapAeAndFlashMode() local 544 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_OFF)) { in mapAeAndFlashMode() 555 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_TORCH)) { in mapAeAndFlashMode() 562 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_ON)) { in mapAeAndFlashMode() 572 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_ON)) { in mapAeAndFlashMode() 579 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_AUTO)) { in mapAeAndFlashMode() 586 if (ListUtils.listContains(supportedFlashModes, Parameters.FLASH_MODE_RED_EYE)) { in mapAeAndFlashMode() 604 + ", supported (api1) " + ListUtils.listToString(supportedFlashModes)); in mapAeAndFlashMode()
|
D | LegacyMetadataMapper.java | 719 List<String> supportedFlashModes = p.getSupportedFlashModes(); in mapFlash() local 721 if (supportedFlashModes != null) { in mapFlash() 724 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 | 677 String8 supportedFlashModes(CameraParameters::FLASH_MODE_OFF); in initialize() local 678 supportedFlashModes = supportedFlashModes + in initialize() 685 supportedFlashModes = supportedFlashModes + "," + in initialize() 691 supportedFlashModes); in initialize()
|