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) { in create() argument
69 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.java435 Integer flashMode = captureResult.get(CaptureResult.FLASH_MODE); in takePicture()
446 if (flashMode == null) { in takePicture()
447 flashMode = CaptureResult.FLASH_MODE_OFF; in takePicture()
514 Flash flashMode = Flash.OFF; in takePicture() local
516 if (flashMode == Flash.ON || flashMode == Flash.AUTO) { in takePicture()
551 sendAutoExposureTriggerRequest(flashMode); in takePicture()
729 private void addFlashToCaptureRequestBuilder(CaptureRequest.Builder builder, Flash flashMode) { in addFlashToCaptureRequestBuilder() argument
730 switch (flashMode) { in addFlashToCaptureRequestBuilder()
811 Flash flashMode = Flash.OFF; in sendSingleRequest() local
812 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()
2027 String flashMode = mPreferences.getString( in updateCameraParametersPreference() local
2031 if (isSupported(flashMode, supportedFlash)) { in updateCameraParametersPreference()
2032 mParameters.setFlashMode(flashMode); in updateCameraParametersPreference()
2034 flashMode = mParameters.getFlashMode(); in updateCameraParametersPreference()
2035 if (flashMode == null) { in updateCameraParametersPreference()
2036 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) {