/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
CameraCapabilities.java | 52 protected final EnumSet<FlashMode> mSupportedFlashModes = EnumSet.noneOf(FlashMode.class); 114 public enum FlashMode { 377 public String stringify(FlashMode flash) { 389 public FlashMode flashModeFromString(String val) { 391 return FlashMode.values()[0]; 394 return FlashMode.valueOf(toEnumCase(val)); 396 return FlashMode.values()[0]; 584 public final Set<FlashMode> getSupportedFlashModes() { 585 return new HashSet<FlashMode>(mSupportedFlashModes) [all...] |
AndroidCamera2Capabilities.java | 120 mSupportedFlashModes.add(FlashMode.OFF); 122 mSupportedFlashModes.add(FlashMode.AUTO); 123 mSupportedFlashModes.add(FlashMode.ON); 124 mSupportedFlashModes.add(FlashMode.TORCH); 127 mSupportedFlashModes.add(FlashMode.RED_EYE);
|
AndroidCameraCapabilities.java | 175 mSupportedFlashModes.add(FlashMode.NO_FLASH); 179 mSupportedFlashModes.add(FlashMode.AUTO); 181 mSupportedFlashModes.add(FlashMode.OFF); 183 mSupportedFlashModes.add(FlashMode.ON); 185 mSupportedFlashModes.add(FlashMode.RED_EYE); 187 mSupportedFlashModes.add(FlashMode.TORCH);
|
AndroidCamera2Settings.java | 30 import com.android.ex.camera2.portability.CameraCapabilities.FlashMode; 163 private FlashMode flashModeFromRequest() { 168 return FlashMode.OFF; 170 return FlashMode.AUTO; 173 return FlashMode.TORCH; 175 return FlashMode.ON; 179 return FlashMode.RED_EYE; 330 Integer flashMode = null; 339 flashMode = FLASH_MODE_OFF; 344 flashMode = FLASH_MODE_SINGLE [all...] |
CameraSettings.java | 52 protected CameraCapabilities.FlashMode mCurrentFlashMode; 382 public CameraCapabilities.FlashMode getCurrentFlashMode() { 386 public void setFlashMode(CameraCapabilities.FlashMode flashMode) { 387 mCurrentFlashMode = flashMode;
|
AndroidCameraAgentImpl.java | 695 if (settings.getCurrentFlashMode() != CameraCapabilities.FlashMode.NO_FLASH) { [all...] |
/packages/apps/Camera2/src/com/android/camera/hardware/ |
HardwareSpecImpl.java | 85 return (capabilities.supports(CameraCapabilities.FlashMode.AUTO) || capabilities.supports 86 (CameraCapabilities.FlashMode.ON));
|
/frameworks/ex/camera2/portability/tests/src/com/android/ex/camera2/portability/ |
Camera2PortabilityTest.java | 31 import com.android.ex.camera2.portability.CameraCapabilities.FlashMode; 45 * {@link Stringifier#stringify} for {@link FocusMode}, {@link FlashMode}, 54 for(FlashMode val : FlashMode.values()) { 67 * {@link FocusMode}, {@link FlashMode}, {@link SceneMode}, and 74 assertEquals(strfy.flashModeFromString(null), FlashMode.NO_FLASH); 81 * {@link FocusMode}, {@link FlashMode}, {@link SceneMode}, and 88 assertEquals(strfy.flashModeFromString("crap"), FlashMode.NO_FLASH);
|
/bootable/recovery/applypatch/ |
main.cpp | 79 static int FlashMode(const char* src_filename, const char* tgt_filename, 119 return FlashMode(argv[1], argv[2], argv[3], target_size);
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMX3A.cpp | 254 if ( mFirstTimeInit || (( str != NULL ) && ( mParameters3A.FlashMode != mode )) ) 258 mParameters3A.FlashMode = mode; 263 mParameters3A.FlashMode = OMX_Manual; 268 CAMHAL_LOGVB("FlashMode %d", mParameters3A.FlashMode); 404 Gen3A.FlashMode = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_FLASH_MODE, FlashLUT); 502 flash.eFlashControl = ( OMX_IMAGE_FLASHCONTROLTYPE ) Gen3A.FlashMode; 573 Gen3A.FlashMode = flash.eFlashControl; 574 CAMHAL_LOGDB("Gen3A.FlashMode 0x%x", Gen3A.FlashMode); [all...] |
OMXExif.cpp | 750 if (mParameters3A.FlashMode == OMX_IMAGE_FlashControlAuto) { 753 } else if (mParameters3A.FlashMode == OMX_IMAGE_FlashControlOn) {
|
OMXCameraAdapter.cpp | 654 mParameters3A.FlashMode = entry->flash; 664 valstr = getLUTvalue_OMXtoHAL(mParameters3A.FlashMode, FlashLUT); [all...] |
/hardware/ti/omap4-aah/camera/inc/ |
General3A_Settings.h | 233 int FlashMode;
|
/hardware/ti/omap4xxx/camera/inc/ |
General3A_Settings.h | 243 int FlashMode;
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMX3A.cpp | 271 if ( mFirstTimeInit || (( str != NULL ) && ( mParameters3A.FlashMode != mode )) ) 275 mParameters3A.FlashMode = mode; 280 mParameters3A.FlashMode = OMX_IMAGE_FlashControlAuto; 285 CAMHAL_LOGVB("FlashMode %d", mParameters3A.FlashMode); 696 flash.eFlashControl = ( OMX_IMAGE_FLASHCONTROLTYPE ) Gen3A.FlashMode; 767 Gen3A.FlashMode = flash.eFlashControl; 768 CAMHAL_LOGDB("Gen3A.FlashMode 0x%x", Gen3A.FlashMode); [all...] |
OMXExif.cpp | 748 if (mParameters3A.FlashMode == OMX_IMAGE_FlashControlAuto) { 751 } else if (mParameters3A.FlashMode == OMX_IMAGE_FlashControlOn) {
|
OMXCameraAdapter.cpp | 359 mParameters3A.FlashMode = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_FLASH_MODE, FlashLUT); 813 mParameters3A.FlashMode = entry->flash; 823 valstr = getLUTvalue_OMXtoHAL(mParameters3A.FlashMode, FlashLUT); [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
PhotoModule.java | [all...] |
VideoModule.java | [all...] |