Home
last modified time | relevance | path

Searched refs:Parameters (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java23 import android.hardware.Camera.Parameters;
91 private Parameters mParameters;
129 public void setParameters(Parameters parameters) { in setParameters()
424 mFocusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
426 mFocusMode = Parameters.FOCUS_MODE_CONTINUOUS_PICTURE; in getFocusMode()
432 if (isSupported(Parameters.FOCUS_MODE_AUTO, in getFocusMode()
434 mFocusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
468 if (Parameters.FOCUS_MODE_CONTINUOUS_PICTURE.equals(mFocusMode)) { in updateFocusUI()
533 return !(focusMode.equals(Parameters.FOCUS_MODE_INFINITY) in needAutoFocusCall()
534 || focusMode.equals(Parameters.FOCUS_MODE_FIXED) in needAutoFocusCall()
[all …]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java23 import android.hardware.Camera.Parameters;
80 private Parameters mParameters;
123 public void setParameters(Parameters parameters) { in setParameters()
348 mFocusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
350 mFocusMode = Parameters.FOCUS_MODE_CONTINUOUS_PICTURE; in getFocusMode()
356 if (isSupported(Parameters.FOCUS_MODE_AUTO, mParameters.getSupportedFocusModes())) { in getFocusMode()
357 mFocusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
391 if (Parameters.FOCUS_MODE_CONTINUOUS_PICTURE.equals(mFocusMode)) { in updateFocusUI()
446 private boolean isAutoExposureLockSupported(Parameters params) { in isAutoExposureLockSupported()
450 private boolean isAutoWhiteBalanceLockSupported(Parameters params) { in isAutoWhiteBalanceLockSupported()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java28 import android.hardware.Camera.Parameters;
72 private Parameters mParameters;
108 public void initializeParameters(Parameters parameters) { in initializeParameters()
111 && isSupported(Parameters.FOCUS_MODE_AUTO, in initializeParameters()
225 if (!Parameters.FOCUS_MODE_CONTINUOUS_PICTURE. in onAutoFocus()
357 mFocusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
377 if (isSupported(Parameters.FOCUS_MODE_AUTO, in getFocusMode()
379 mFocusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
423 if (Parameters.FOCUS_MODE_CONTINUOUS_PICTURE.equals(mFocusMode)) { in updateFocusUI()
489 return !(focusMode.equals(Parameters.FOCUS_MODE_INFINITY) in needAutoFocusCall()
[all …]
DCamera.java43 import android.hardware.Camera.Parameters;
126 private Parameters mParameters;
127 private Parameters mInitialParams;
654 if (Parameters.FLASH_MODE_AUTO.equals(value)) { in updateFlashOnScreenIndicator()
657 } else if (Parameters.FLASH_MODE_ON.equals(value)) { in updateFlashOnScreenIndicator()
660 } else if (Parameters.FLASH_MODE_OFF.equals(value)) { in updateFlashOnScreenIndicator()
676 if (Parameters.WHITE_BALANCE_AUTO.equals(value)) { in updateWhiteBalanceOnScreenIndicator()
679 if (Parameters.WHITE_BALANCE_FLUORESCENT.equals(value)) { in updateWhiteBalanceOnScreenIndicator()
681 } else if (Parameters.WHITE_BALANCE_INCANDESCENT.equals(value)) { in updateWhiteBalanceOnScreenIndicator()
683 } else if (Parameters.WHITE_BALANCE_DAYLIGHT.equals(value)) { in updateWhiteBalanceOnScreenIndicator()
[all …]
DCameraSettings.java24 import android.hardware.Camera.Parameters;
66 private final Parameters mParameters;
70 public CameraSettings(Activity activity, Parameters parameters, in CameraSettings()
96 Context context, Parameters parameters) { in initialCameraPictureSize()
121 String candidate, List<Size> supported, Parameters parameters) { in setCameraPictureSize()
422 ComboPreferences preferences, Parameters parameters) { in restorePreferences()
DUtil.java34 import android.hardware.Camera.Parameters;
453 public static void dumpParameters(Parameters parameters) { in dumpParameters()
618 public static void setRotationParameter(Parameters parameters, int cameraId, int orientation) { in setRotationParameter()
633 public static void setGpsParameters(Parameters parameters, Location loc) { in setGpsParameters()
DCameraHolder.java22 import android.hardware.Camera.Parameters;
60 private Parameters mParameters;
DEffectsRecorder.java757 Camera.Parameters params = mCameraDevice.getParameters(); in tryEnableVideoStabilization()
772 Camera.Parameters params = mCameraDevice.getParameters(); in tryEnable3ALocks()
786 Camera.Parameters params = mCameraDevice.getParameters(); in enable3ALocks()
DVideoCamera.java42 import android.hardware.Camera.Parameters;
239 private Parameters mParameters;
1910 whiteBalance = Parameters.WHITE_BALANCE_AUTO; in setCameraParameters()
1921 if (isSupported(Parameters.FOCUS_MODE_CONTINUOUS_VIDEO, supportedFocus)) { in setCameraParameters()
1922 mParameters.setFocusMode(Parameters.FOCUS_MODE_CONTINUOUS_VIDEO); in setCameraParameters()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DOneCameraCharacteristicsImpl.java38 private final Camera.Parameters mCameraParameters;
47 Camera.CameraInfo cameraInfo, Camera.Parameters cameraParameters) { in OneCameraCharacteristicsImpl()
109 Camera.Parameters.SCENE_MODE_HDR); in isHdrSceneSupported()
DLegacyOneCameraManagerImpl.java169 Camera.Parameters cameraParameters = camera.getParameters(); in computeCameraCharacteristics()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java51 import android.hardware.Camera.Parameters;
171 private String mTargetFocusMode = Parameters.FOCUS_MODE_INFINITY;
351 Parameters parameters = mCameraDevice.getParameters(); in setupCamera()
397 private void setupCaptureParams(Parameters parameters) { in setupCaptureParams()
411 int minFps = (frameRates.get(last))[Parameters.PREVIEW_FPS_MIN_INDEX]; in setupCaptureParams()
412 int maxFps = (frameRates.get(last))[Parameters.PREVIEW_FPS_MAX_INDEX]; in setupCaptureParams()
438 private void configureCamera(Parameters parameters) { in configureCamera()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java549 Camera.Parameters params = camera.getParameters(); in updateCameraRotation()
605 final Camera.Parameters params = mCamera.getParameters(); in tryShowPreview()
614 if (TextUtils.equals(focusMode, Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) { in tryShowPreview()
810 final Camera.Parameters parameters = mCamera.getParameters(); in setFocusParameters()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java697 final Camera.Parameters params = mCamera.getParameters(); in updateCameraOrientation()
739 final Camera.Parameters params = mCamera.getParameters(); in tryShowPreview()
748 if (TextUtils.equals(focusMode, Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) { in tryShowPreview()
1133 final Camera.Parameters parameters = mCamera.getParameters(); in setFocusParameters()
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DVideoChatTestActivity.java88 Camera.Parameters params = cam.getParameters(); in dumpCameraCaps()
336 Camera.Parameters parameters = camera.getParameters(); in TestCamera()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DUIProvider.java1483 public static final class Parameters { class in UIProvider.ConversationOperations
1489 private Parameters() {} in Parameters() method in UIProvider.ConversationOperations.Parameters
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DApiHelper.java104 hasMethod(Camera.Parameters.class, "getMaxNumDetectedFaces");
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java1934 value.put(ConversationOperations.Parameters.SUPPRESS_UNDO, true);
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java5287 columnName.equals(UIProvider.ConversationOperations.Parameters.SUPPRESS_UNDO)) { in convertUiMessageValues()
5409 values.getAsBoolean(UIProvider.ConversationOperations.Parameters.SUPPRESS_UNDO); in uiUpdateMessage()