Lines Matching refs:flashMode
651 flashMode = Parameters::FLASH_MODE_OFF;
1078 modes.flashMode = FLASH_MODE_OFF;
1081 modes.flashMode = FLASH_MODE_AUTO;
1084 modes.flashMode = FLASH_MODE_ON;
1087 modes.flashMode = FLASH_MODE_RED_EYE;
1092 modes.flashMode = FLASH_MODE_INVALID;
1666 validatedParams.flashMode =
1668 valueFor(validatedParams.sceneMode).flashMode;
1670 validatedParams.flashMode = FLASH_MODE_INVALID;
1672 if (validatedParams.flashMode == FLASH_MODE_INVALID) {
1673 validatedParams.flashMode = flashModeStringToEnum(
1677 if (validatedParams.flashMode != flashMode) {
1683 validatedParams.flashMode != Parameters::FLASH_MODE_OFF) {
1688 } else if (validatedParams.flashMode == Parameters::FLASH_MODE_RED_EYE) {
1692 if (validatedParams.flashMode == availableAeModes.data.u8[i])
1701 } else if (validatedParams.flashMode == -1) {
1710 flashModeEnumToString(validatedParams.flashMode));
2009 switch (flashMode) {
2024 cameraId, flashMode);
2466 const char *flashMode) {
2468 !flashMode ?
2470 !strcmp(flashMode, CameraParameters::FLASH_MODE_OFF) ?
2472 !strcmp(flashMode, CameraParameters::FLASH_MODE_AUTO) ?
2474 !strcmp(flashMode, CameraParameters::FLASH_MODE_ON) ?
2476 !strcmp(flashMode, CameraParameters::FLASH_MODE_RED_EYE) ?
2478 !strcmp(flashMode, CameraParameters::FLASH_MODE_TORCH) ?
2483 const char *Parameters::flashModeEnumToString(flashMode_t flashMode) {
2484 switch (flashMode) {
2497 __FUNCTION__, flashMode);