Home
last modified time | relevance | path

Searched refs:mParameters (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Camera/src/com/android/camera/
DCamera.java281 mParameters = mCameraDevice.getParameters(); in run()
517 mParameters.setZoom(mZoomValue); in onZoomValueChanged()
518 mCameraDevice.setParametersAsync(mParameters); in onZoomValueChanged()
523 if (!mParameters.isZoomSupported()) return; in initializeZoom()
524 mZoomMax = mParameters.getMaxZoom(); in initializeZoom()
528 mZoomControl.setZoomIndex(mParameters.getZoom()); in initializeZoom()
535 if (mParameters.getMaxNumDetectedFaces() > 0) { in startFaceDetection()
552 if (mParameters.getMaxNumDetectedFaces() > 0) { in stopFaceDetection()
650 float step = mParameters.getExposureCompensationStep(); in updateExposureOnScreenIndicator()
731 updateSceneOnScreenIndicator(mParameters.getSceneMode()); in updateOnScreenIndicators()
[all …]
DCameraSettings.java67 private final Parameters mParameters; field in CameraSettings
74 mParameters = parameters; in CameraSettings()
159 mParameters.getSupportedPictureSizes())); in initPreference()
163 whiteBalance, mParameters.getSupportedWhiteBalance()); in initPreference()
167 sceneMode, mParameters.getSupportedSceneModes()); in initPreference()
171 flashMode, mParameters.getSupportedFlashModes()); in initPreference()
174 if (mParameters.getMaxNumFocusAreas() == 0) { in initPreference()
176 focusMode, mParameters.getSupportedFocusModes()); in initPreference()
184 videoFlashMode, mParameters.getSupportedFlashModes()); in initPreference()
198 int max = mParameters.getMaxExposureCompensation(); in buildExposureCompensation()
[all …]
DVideoCamera.java410 CameraSettings settings = new CameraSettings(this, mParameters, in loadCameraPreferences()
450 mParameters.isZoomSupported(), SETTING_KEYS, OTHER_SETTING_KEYS); in initializeIndicatorControl()
715 mParameters = mCameraDevice.getParameters(); in getDesiredPreviewSize()
716 if (mParameters.getSupportedVideoSizes() == null || effectsActive()) { in getDesiredPreviewSize()
720 List<Size> sizes = mParameters.getSupportedPreviewSizes(); in getDesiredPreviewSize()
721 Size preferred = mParameters.getPreferredPreviewSizeForVideo(); in getDesiredPreviewSize()
1498 mParameters = mCameraDevice.getParameters(); in startVideoRecording()
1781 mParameters.setPreviewSize(mDesiredPreviewWidth, mDesiredPreviewHeight); in setCameraParameters()
1782 mParameters.setPreviewFrameRate(mProfile.videoFrameRate); in setCameraParameters()
1793 List<String> supportedFlash = mParameters.getSupportedFlashModes(); in setCameraParameters()
[all …]
DFocusManager.java96 private Parameters mParameters; field in FocusManager
148 mParameters = parameters; in setParameters()
149 mFocusAreaSupported = (mParameters.getMaxNumFocusAreas() > 0 in setParameters()
151 mParameters.getSupportedFocusModes())); in setParameters()
152 mLockAeAwbNeeded = (mParameters.isAutoExposureLockSupported() || in setParameters()
153 mParameters.isAutoWhiteBalanceLockSupported()); in setParameters()
414 List<String> supportedFocusModes = mParameters.getSupportedFocusModes(); in getFocusMode()
439 mParameters.getSupportedFocusModes())) { in getFocusMode()
442 mFocusMode = mParameters.getFocusMode(); in getFocusMode()
DCameraHolder.java65 private Parameters mParameters; field in CameraHolder
162 mParameters = mCameraDevice.getParameters(); in open()
170 mCameraDevice.setParameters(mParameters); in open()
213 mParameters = null; in release()
DCameraManager.java47 private Parameters mParameters; field in CameraManager
188 mParameters = mCamera.getParameters(); in handleMessage()
379 return mParameters; in getParameters()
DActivityBase.java78 protected Parameters mParameters; field in ActivityBase
118 mParameters = mCameraDevice.getParameters(); in run()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java126 private Parameters mParameters; field in Camera
489 mParameters = mCameraDevice.getParameters(); in initializeZoom()
490 if (!mParameters.isZoomSupported()) return; in initializeZoom()
491 mZoomMax = mParameters.getMaxZoom(); in initializeZoom()
495 mZoomControl.setZoomIndex(mParameters.getZoom()); in initializeZoom()
526 if (mParameters.getMaxNumDetectedFaces() > 0) { in startFaceDetection()
543 if (mParameters.getMaxNumDetectedFaces() > 0) { in stopFaceDetection()
640 float step = mParameters.getExposureCompensationStep(); in updateExposureOnScreenIndicator()
708 boolean isAutoScene = !(Parameters.SCENE_MODE_AUTO.equals(mParameters.getSceneMode())); in updateOnScreenIndicators()
711 updateFlashOnScreenIndicator(mParameters.getFlashMode()); in updateOnScreenIndicators()
[all …]
DCameraSettings.java66 private final Parameters mParameters; field in CameraSettings
73 mParameters = parameters; in CameraSettings()
158 mParameters.getSupportedPictureSizes())); in initPreference()
162 whiteBalance, mParameters.getSupportedWhiteBalance()); in initPreference()
166 sceneMode, mParameters.getSupportedSceneModes()); in initPreference()
170 flashMode, mParameters.getSupportedFlashModes()); in initPreference()
173 if (mParameters.getMaxNumFocusAreas() == 0) { in initPreference()
175 focusMode, mParameters.getSupportedFocusModes()); in initPreference()
183 videoFlashMode, mParameters.getSupportedFlashModes()); in initPreference()
197 int max = mParameters.getMaxExposureCompensation(); in buildExposureCompensation()
[all …]
DVideoCamera.java239 private Parameters mParameters; field in VideoCamera
488 CameraSettings settings = new CameraSettings(this, mParameters, in loadCameraPreferences()
527 mParameters.isZoomSupported(), SETTING_KEYS, OTHER_SETTING_KEYS); in initializeIndicatorControl()
792 mParameters = mCameraDevice.getParameters(); in getDesiredPreviewSize()
793 if (mParameters.getSupportedVideoSizes() == null || effectsActive()) { in getDesiredPreviewSize()
797 List<Size> sizes = mParameters.getSupportedPreviewSizes(); in getDesiredPreviewSize()
798 Size preferred = mParameters.getPreferredPreviewSizeForVideo(); in getDesiredPreviewSize()
1880 mParameters = mCameraDevice.getParameters(); in setCameraParameters()
1882 mParameters.setPreviewSize(mDesiredPreviewWidth, mDesiredPreviewHeight); in setCameraParameters()
1883 mParameters.setPreviewFrameRate(mProfile.videoFrameRate); in setCameraParameters()
[all …]
DFocusManager.java72 private Parameters mParameters; field in FocusManager
109 mParameters = parameters; in initializeParameters()
110 mFocusAreaSupported = (mParameters.getMaxNumFocusAreas() > 0 in initializeParameters()
112 mParameters.getSupportedFocusModes())); in initializeParameters()
113 mLockAeAwbNeeded = (mParameters.isAutoExposureLockSupported() || in initializeParameters()
114 mParameters.isAutoWhiteBalanceLockSupported()); in initializeParameters()
134 if (mParameters != null) { in initialize()
353 List<String> supportedFocusModes = mParameters.getSupportedFocusModes(); in getFocusMode()
378 mParameters.getSupportedFocusModes())) { in getFocusMode()
381 mFocusMode = mParameters.getFocusMode(); in getFocusMode()
DCameraHolder.java60 private Parameters mParameters; field in CameraHolder
137 mParameters = mCameraDevice.getParameters(); in open()
145 mCameraDevice.setParameters(mParameters); in open()
190 mParameters = null; in releaseCamera()
/packages/apps/Camera/tests/src/com/android/camera/activity/
DCameraTestCase.java59 private static Parameters mParameters; field in CameraTestCase
249 if (mParameters == null) { in getParameters()
250 mParameters = android.hardware.Camera.getEmptyParameters(); in getParameters()
251mParameters.unflatten("preview-format-values=yuv420sp,yuv420p,yuv422i-yuyv,yuv420p;" + in getParameters()
271 return mParameters; in getParameters()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java182 public List<String> mParameters = new ArrayList<String>(); field in DownloadProvider.SqlSelection
196 mParameters.add(parameter.toString()); in appendClause()
206 String[] array = new String[mParameters.size()]; in getParameters()
207 return mParameters.toArray(array); in getParameters()