Home
last modified time | relevance | path

Searched refs:flashMode (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp77 jint flashMode, in constructState() argument
81 Flash flash = static_cast<Flash>(flashMode); in constructState()
87 state.flashMode = Flash::NONE; in constructState()
90 state.flashMode = flash; in constructState()
131 jint flashMode, in setLight_native() argument
140 if (!validate(light, flashMode, brightnessMode)) { in setLight_native()
146 colorARGB, flashMode, onMS, offMS, brightnessMode); in setLight_native()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h84 } flashMode; member
236 flashMode_t flashMode; member
240 flashMode(FLASH_MODE_INVALID), in OverrideModes()
337 static flashMode_t flashModeStringToEnum(const char *flashMode);
338 static const char* flashModeEnumToString(flashMode_t flashMode);
DParameters.cpp672 flashMode = Parameters::FLASH_MODE_OFF; in initialize()
1153 modes.flashMode = FLASH_MODE_OFF; in buildFastInfo()
1156 modes.flashMode = FLASH_MODE_AUTO; in buildFastInfo()
1159 modes.flashMode = FLASH_MODE_ON; in buildFastInfo()
1162 modes.flashMode = FLASH_MODE_RED_EYE; in buildFastInfo()
1167 modes.flashMode = FLASH_MODE_INVALID; in buildFastInfo()
1780 validatedParams.flashMode = in set()
1782 valueFor(validatedParams.sceneMode).flashMode; in set()
1784 validatedParams.flashMode = FLASH_MODE_INVALID; in set()
1786 if (validatedParams.flashMode == FLASH_MODE_INVALID) { in set()
[all …]
DCaptureSequencer.cpp366 l.mParameters.flashMode != Parameters::FLASH_MODE_ON) { in manageStart()
453 if (l.mParameters.flashMode != Parameters::FLASH_MODE_ON && isAeConverged) { in manageStandardStart()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraCapabilities.java725 FlashMode flashMode = settings.getCurrentFlashMode(); in flashCheck() local
726 if (!supports(flashMode)) { in flashCheck()
728 "Flash mode not supported:" + (flashMode != null ? flashMode.name() : "null")); in flashCheck()
DAndroidCamera2Settings.java330 Integer flashMode = null; in updateRequestFlashMode() local
339 flashMode = FLASH_MODE_OFF; in updateRequestFlashMode()
344 flashMode = FLASH_MODE_SINGLE; in updateRequestFlashMode()
348 flashMode = FLASH_MODE_TORCH; in updateRequestFlashMode()
362 mRequestSettings.set(FLASH_MODE, flashMode); in updateRequestFlashMode()
DCameraSettings.java386 public void setFlashMode(CameraCapabilities.FlashMode flashMode) { in setFlashMode() argument
387 mCurrentFlashMode = flashMode; in setFlashMode()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyResultMapper.java410 int flashMode = FLASH_MODE_OFF; in mapAeAndFlashMode() local
428 flashMode = FLASH_MODE_SINGLE; in mapAeAndFlashMode()
436 flashMode = FLASH_MODE_TORCH; in mapAeAndFlashMode()
448 m.set(FLASH_MODE, flashMode); in mapAeAndFlashMode()
DLegacyRequestMapper.java536 int flashMode = ParamsUtils.getOrDefault(r, FLASH_MODE, FLASH_MODE_OFF); in mapAeAndFlashMode() local
554 if (flashMode == FLASH_MODE_TORCH) { in mapAeAndFlashMode()
561 } else if (flashMode == FLASH_MODE_SINGLE) { in mapAeAndFlashMode()
603 + ", requested (api2) " + flashMode in mapAeAndFlashMode()
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp416 const char *flashMode = in hasFlashUnitLocked() local
418 if (flashMode && strstr(flashMode, CameraParameters::FLASH_MODE_TORCH)) { in hasFlashUnitLocked()
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.cpp427 uint16_t flashMode = 0; in setFlash() local
431 flashMode = 3; // AUTO in setFlash()
435 flashMode = 1; // ON in setFlash()
439 flashMode = 2; // OFF in setFlash()
442 flashMode = 0; // UNKNOWN in setFlash()
445 flash |= (flashMode << 3); in setFlash()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java1060 public synchronized void setFlashMode(String flashMode) { in setFlashMode() argument
1061 if (!flashMode.equals(mFlashMode)) { in setFlashMode()
1062 mFlashMode = flashMode; in setFlashMode()
1627 public void setFlashMode(String flashMode) { in setFlashMode() argument
1628 mCameraRunner.setFlashMode(flashMode); in setFlashMode()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java383 lightState.flashMode = (byte) mode; in setLightUnchecked()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp1839 const char *flashMode = local
1841 if (flashMode && strstr(flashMode, CameraParameters::FLASH_MODE_TORCH)) {
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp271 switch (p.flashMode) { in dumpClient()
1544 if (l.mParameters.flashMode != Parameters::FLASH_MODE_ON && in takePicture()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h1708 XAuint32 flashMode