Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DFlashBasedPhotoCommand.java41 Supplier<OneCamera.PhotoCaptureParameters.Flash> flashMode, in FlashBasedPhotoCommand() argument
46 mFlashMode = flashMode; in FlashBasedPhotoCommand()
57 OneCamera.PhotoCaptureParameters.Flash flashMode = mFlashMode.get(); in run() local
58 if (flashMode == OneCamera.PhotoCaptureParameters.Flash.ON) { in run()
61 } else if (flashMode == OneCamera.PhotoCaptureParameters.Flash.AUTO) { in run()
DPictureTakerFactory.java46 Supplier<OneCamera.PhotoCaptureParameters.Flash> flashMode, boolean cafSupport) { in create() argument
87 ImageCaptureCommand flashBasedCommand = new FlashBasedPhotoCommand(logFactory, flashMode, in create()
DZslPictureTakerFactory.java66 Supplier<OneCamera.PhotoCaptureParameters.Flash> flashMode, in create() argument
93 ImageCaptureCommand flashBasedCommand = new FlashBasedPhotoCommand(logFactory, flashMode, in create()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraZslImpl.java436 Integer flashMode = captureResult.get(CaptureResult.FLASH_MODE); in takePicture()
447 if (flashMode == null) { in takePicture()
448 flashMode = CaptureResult.FLASH_MODE_OFF; in takePicture()
515 Flash flashMode = Flash.OFF; in takePicture() local
517 if (flashMode == Flash.ON || flashMode == Flash.AUTO) { in takePicture()
552 sendAutoExposureTriggerRequest(flashMode); in takePicture()
730 private void addFlashToCaptureRequestBuilder(CaptureRequest.Builder builder, Flash flashMode) { in addFlashToCaptureRequestBuilder() argument
731 switch (flashMode) { in addFlashToCaptureRequestBuilder()
812 Flash flashMode = Flash.OFF; in sendSingleRequest() local
813 addFlashToCaptureRequestBuilder(builder, flashMode); in sendSingleRequest()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java1231 private void overrideCameraSettings(final String flashMode, in overrideCameraSettings() argument
1235 CameraSettings.KEY_FLASH_MODE, flashMode, in overrideCameraSettings()
2032 String flashMode = mPreferences.getString( in updateCameraParametersPreference() local
2036 if (isSupported(flashMode, supportedFlash)) { in updateCameraParametersPreference()
2037 mParameters.setFlashMode(flashMode); in updateCameraParametersPreference()
2039 flashMode = mParameters.getFlashMode(); in updateCameraParametersPreference()
2040 if (flashMode == null) { in updateCameraParametersPreference()
2041 flashMode = getString( in updateCameraParametersPreference()
DCameraSettings.java141 ListPreference flashMode = group.findPreference(KEY_FLASH_MODE); in initPreference() local
168 if (flashMode != null) { in initPreference()
170 flashMode, mParameters.getSupportedFlashModes()); in initPreference()
DVideoCamera.java1886 String flashMode = mPreferences.getString( in setCameraParameters() local
1890 if (isSupported(flashMode, supportedFlash)) { in setCameraParameters()
1891 mParameters.setFlashMode(flashMode); in setCameraParameters()
1893 flashMode = mParameters.getFlashMode(); in setCameraParameters()
1894 if (flashMode == null) { in setCameraParameters()
1895 flashMode = getString( in setCameraParameters()
/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java1178 private void overrideCameraSettings(CameraCapabilities.FlashMode flashMode, in overrideCameraSettings() argument
1182 if ((flashMode != null) && (!CameraCapabilities.FlashMode.NO_FLASH.equals(flashMode))) { in overrideCameraSettings()
1183 String flashModeString = stringifier.stringify(flashMode); in overrideCameraSettings()
2088 CameraCapabilities.FlashMode flashMode = mCameraCapabilities.getStringifier() in updateParametersFlashMode() local
2091 if (mCameraCapabilities.supports(flashMode)) { in updateParametersFlashMode()
2092 mCameraSettings.setFlashMode(flashMode); in updateParametersFlashMode()
DVideoModule.java1898 CameraCapabilities.FlashMode flashMode; in enableTorchMode() local
1900 flashMode = stringifier in enableTorchMode()
1904 flashMode = CameraCapabilities.FlashMode.OFF; in enableTorchMode()
1906 if (mCameraCapabilities.supports(flashMode)) { in enableTorchMode()
1907 mCameraSettings.setFlashMode(flashMode); in enableTorchMode()
/packages/apps/Camera2/src/com/android/camera/util/
DExifUtil.java165 Integer flashMode = result.get(CaptureResult.FLASH_MODE);
166 if (flashMode == CaptureResult.FLASH_MODE_OFF) {