Home
last modified time | relevance | path

Searched refs:focusMode (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java79 private String focusMode; field in FocusOverlayManager
342 focusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
344 focusMode = Parameters.FOCUS_MODE_CONTINUOUS_PICTURE; in getFocusMode()
347 if (!isSupported(focusMode, supportedFocusModes)) { in getFocusMode()
351 focusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
353 focusMode = parameters.getFocusMode(); in getFocusMode()
356 return focusMode; in getFocusMode()
385 if (Parameters.FOCUS_MODE_CONTINUOUS_PICTURE.equals(focusMode)) { in updateFocusUI()
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DMetadataCallback.java41 Updatable<Integer> focusMode) { in MetadataCallback() argument
44 mFocusMode = focusMode; in MetadataCallback()
55 Integer focusMode = totalCaptureResult.get(CaptureResult.CONTROL_AF_MODE); in updateFocusMode() local
56 if (focusMode != null) { in updateFocusMode()
57 mFocusMode.update(focusMode); in updateFocusMode()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java519 public void overrideFocusMode(String focusMode) { in overrideFocusMode() argument
520 mOverrideFocusMode = focusMode; in overrideFocusMode()
532 String focusMode = getFocusMode(); in needAutoFocusCall() local
533 return !(focusMode.equals(Parameters.FOCUS_MODE_INFINITY) in needAutoFocusCall()
534 || focusMode.equals(Parameters.FOCUS_MODE_FIXED) in needAutoFocusCall()
535 || focusMode.equals(Parameters.FOCUS_MODE_EDOF)); in needAutoFocusCall()
/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java471 public void overrideFocusMode(String focusMode) { in overrideFocusMode() argument
472 mOverrideFocusMode = focusMode; in overrideFocusMode()
488 String focusMode = getFocusMode(); in needAutoFocusCall() local
489 return !(focusMode.equals(Parameters.FOCUS_MODE_INFINITY) in needAutoFocusCall()
490 || focusMode.equals(Parameters.FOCUS_MODE_FIXED) in needAutoFocusCall()
491 || focusMode.equals(Parameters.FOCUS_MODE_EDOF)); in needAutoFocusCall()
DCameraSettings.java142 ListPreference focusMode = group.findPreference(KEY_FOCUS_MODE); in initPreference() local
172 if (focusMode != null) { in initPreference()
175 focusMode, mParameters.getSupportedFocusModes()); in initPreference()
178 removePreference(group, focusMode.getKey()); in initPreference()
DCamera.java1232 final String whiteBalance, final String focusMode) { in overrideCameraSettings() argument
1237 CameraSettings.KEY_FOCUS_MODE, focusMode); in overrideCameraSettings()
/packages/apps/Camera2/src/com/android/camera/
DFocusOverlayManager.java574 public void overrideFocusMode(CameraCapabilities.FocusMode focusMode) { in overrideFocusMode() argument
575 mOverrideFocusMode = focusMode; in overrideFocusMode()
586 private boolean needAutoFocusCall(CameraCapabilities.FocusMode focusMode) { in needAutoFocusCall() argument
587 return !(focusMode == CameraCapabilities.FocusMode.INFINITY in needAutoFocusCall()
588 || focusMode == CameraCapabilities.FocusMode.FIXED in needAutoFocusCall()
589 || focusMode == CameraCapabilities.FocusMode.EXTENDED_DOF); in needAutoFocusCall()
DPhotoModule.java1179 CameraCapabilities.FocusMode focusMode) { in overrideCameraSettings() argument
1190 if (focusMode != null) { in overrideCameraSettings()
1191 String focusModeString = stringifier.stringify(focusMode); in overrideCameraSettings()
DVideoModule.java938 CameraCapabilities.FocusMode focusMode = in startPreview() local
940 if (focusMode == CameraCapabilities.FocusMode.CONTINUOUS_PICTURE) { in startPreview()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java629 for (final String focusMode : params.getSupportedFocusModes()) { in tryShowPreview()
630 if (TextUtils.equals(focusMode, Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) { in tryShowPreview()
632 params.setFocusMode(focusMode); in tryShowPreview()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java747 for (final String focusMode : params.getSupportedFocusModes()) { in tryShowPreview()
748 if (TextUtils.equals(focusMode, Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) { in tryShowPreview()
750 params.setFocusMode(focusMode); in tryShowPreview()