Home
last modified time | relevance | path

Searched refs:flash (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp73 static bool validate(jint light, jint flash, jint brightness) { in validate() argument
81 if (flash != static_cast<jint>(Flash::NONE) && in validate()
82 flash != static_cast<jint>(Flash::TIMED) && in validate()
83 flash != static_cast<jint>(Flash::HARDWARE)) { in validate()
84 ALOGE("Invalid flash parameter %d.", flash); in validate()
110 Flash flash = static_cast<Flash>(flashMode); in constructState() local
119 state.flashMode = flash; in constructState()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraCapabilities.java177 for (String flash : supportedFlashModes) { in buildFlashModes()
178 if (Camera.Parameters.FLASH_MODE_AUTO.equals(flash)) { in buildFlashModes()
180 } else if (Camera.Parameters.FLASH_MODE_OFF.equals(flash)) { in buildFlashModes()
182 } else if (Camera.Parameters.FLASH_MODE_ON.equals(flash)) { in buildFlashModes()
184 } else if (Camera.Parameters.FLASH_MODE_RED_EYE.equals(flash)) { in buildFlashModes()
186 } else if (Camera.Parameters.FLASH_MODE_TORCH.equals(flash)) { in buildFlashModes()
DCameraCapabilities.java377 public String stringify(FlashMode flash) { in stringify() argument
378 return toApiCase(flash.name()); in stringify()
591 public final boolean supports(FlashMode flash) { in supports() argument
592 return (flash != null && mSupportedFlashModes.contains(flash)); in supports()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java103 public final float flash; field in ExifInterfaceTest.ExpectedValue
146 flash = typedArray.getFloat(12, 0f); in ExpectedValue()
293 assertDoubleTag(exifInterface, ExifInterface.TAG_FLASH, expectedValue.flash); in compareWithExpectedValue()
/frameworks/support/exifinterface/tests/src/android/support/media/
DExifInterfaceTest.java123 public final float flash; field in ExifInterfaceTest.ExpectedValue
166 flash = typedArray.getFloat(12, 0f); in ExpectedValue()
395 assertFloatTag(exifInterface, ExifInterface.TAG_FLASH, expectedValue.flash); in compareWithExpectedValue()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraPairwiseTest.java380 private void genericPairwiseTestCase(Flash flash, Exposure exposure, WhiteBalance whitebalance, in genericPairwiseTestCase() argument
394 switch (flash) { in genericPairwiseTestCase()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java2061 String flash = exif.getAttribute(ExifInterface.TAG_FLASH); in verifyJpegExifExtraTags() local
2062 collector.expectNotNull("Exif TAG_FLASH shouldn't be null", flash); in verifyJpegExifExtraTags()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8787 … field public static final java.lang.String FEATURE_CAMERA_FLASH = "android.hardware.camera.flash";
/frameworks/base/api/
Dcurrent.txt10664 … field public static final java.lang.String FEATURE_CAMERA_FLASH = "android.hardware.camera.flash";
Dsystem-current.txt11365 … field public static final java.lang.String FEATURE_CAMERA_FLASH = "android.hardware.camera.flash";