Searched refs:focusMode (Results 1 – 11 of 11) sorted by relevance
79 private String focusMode; field in FocusOverlayManager342 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()
41 Updatable<Integer> focusMode) { in MetadataCallback() argument44 mFocusMode = focusMode; in MetadataCallback()55 Integer focusMode = totalCaptureResult.get(CaptureResult.CONTROL_AF_MODE); in updateFocusMode() local56 if (focusMode != null) { in updateFocusMode()57 mFocusMode.update(focusMode); in updateFocusMode()
519 public void overrideFocusMode(String focusMode) { in overrideFocusMode() argument520 mOverrideFocusMode = focusMode; in overrideFocusMode()532 String focusMode = getFocusMode(); in needAutoFocusCall() local533 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()
471 public void overrideFocusMode(String focusMode) { in overrideFocusMode() argument472 mOverrideFocusMode = focusMode; in overrideFocusMode()488 String focusMode = getFocusMode(); in needAutoFocusCall() local489 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()
142 ListPreference focusMode = group.findPreference(KEY_FOCUS_MODE); in initPreference() local172 if (focusMode != null) { in initPreference()175 focusMode, mParameters.getSupportedFocusModes()); in initPreference()178 removePreference(group, focusMode.getKey()); in initPreference()
1232 final String whiteBalance, final String focusMode) { in overrideCameraSettings() argument1237 CameraSettings.KEY_FOCUS_MODE, focusMode); in overrideCameraSettings()
574 public void overrideFocusMode(CameraCapabilities.FocusMode focusMode) { in overrideFocusMode() argument575 mOverrideFocusMode = focusMode; in overrideFocusMode()586 private boolean needAutoFocusCall(CameraCapabilities.FocusMode focusMode) { in needAutoFocusCall() argument587 return !(focusMode == CameraCapabilities.FocusMode.INFINITY in needAutoFocusCall()588 || focusMode == CameraCapabilities.FocusMode.FIXED in needAutoFocusCall()589 || focusMode == CameraCapabilities.FocusMode.EXTENDED_DOF); in needAutoFocusCall()
1179 CameraCapabilities.FocusMode focusMode) { in overrideCameraSettings() argument1190 if (focusMode != null) { in overrideCameraSettings()1191 String focusModeString = stringifier.stringify(focusMode); in overrideCameraSettings()
938 CameraCapabilities.FocusMode focusMode = in startPreview() local940 if (focusMode == CameraCapabilities.FocusMode.CONTINUOUS_PICTURE) { in startPreview()
629 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()
747 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()