Home
last modified time | relevance | path

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

/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/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/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/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.java937 CameraCapabilities.FocusMode focusMode = in startPreview() local
939 if (focusMode == CameraCapabilities.FocusMode.CONTINUOUS_PICTURE) { in startPreview()
/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()