Lines Matching defs:mParameters
134 private Parameters mParameters;
338 mParameters = mCameraDevice.getParameters();
708 if (mParameters == null || mCameraDevice == null) return;
710 mParameters.setZoom(mZoomValue);
711 mCameraDevice.setParametersAsync(mParameters);
734 if ((mParameters == null) || !mParameters.isZoomSupported()
736 mZoomMax = mParameters.getMaxZoom();
737 mZoomRatios = mParameters.getZoomRatios();
742 mZoomRenderer.setZoom(mParameters.getZoom());
743 mZoomRenderer.setZoomValue(mZoomRatios.get(mParameters.getZoom()));
753 if (mParameters.getMaxNumDetectedFaces() > 0) {
777 if (mParameters.getMaxNumDetectedFaces() > 0) {
815 float step = mParameters.getExposureCompensationStep();
885 if (mParameters == null) return;
886 updateSceneOnScreenIndicator(mParameters.getSceneMode());
888 updateFlashOnScreenIndicator(mParameters.getFlashMode());
889 updateHdrOnScreenIndicator(mParameters.getSceneMode());
981 Size s = mParameters.getPictureSize();
1135 mParameters.setRotation(mJpegRotation);
1137 Util.setGpsParameters(mParameters, loc);
1138 mCameraDevice.setParameters(mParameters);
1248 overrideCameraSettings(mParameters.getFlashMode(),
1249 mParameters.getWhiteBalance(), mParameters.getFocusMode());
1951 Size size = mParameters.getPreviewSize();
1999 List<Integer> frameRates = mParameters.getSupportedPreviewFrameRates();
2002 mParameters.setPreviewFrameRate(max);
2005 mParameters.set(Util.RECORDING_HINT, Util.FALSE);
2009 String vstabSupported = mParameters.get("video-stabilization-supported");
2011 mParameters.set("video-stabilization", "false");
2017 if (mParameters.isZoomSupported()) {
2018 mParameters.setZoom(mZoomValue);
2025 mParameters.setAutoExposureLock(mFocusManager.getAeAwbLock());
2032 mParameters.setAutoWhiteBalanceLock(mFocusManager.getAeAwbLock());
2039 mParameters.setFocusAreas(mFocusManager.getFocusAreas());
2047 mParameters.setMeteringAreas(mFocusManager.getMeteringAreas());
2061 CameraSettings.initialCameraPictureSize(mActivity, mParameters);
2063 List<Size> supported = mParameters.getSupportedPictureSizes();
2065 pictureSize, supported, mParameters);
2067 Size size = mParameters.getPictureSize();
2071 List<Size> sizes = mParameters.getSupportedPreviewSizes();
2074 Size original = mParameters.getPreviewSize();
2076 mParameters.setPreviewSize(optimalSize.width, optimalSize.height);
2080 mCameraDevice.setParameters(mParameters);
2081 mParameters = mCameraDevice.getParameters();
2097 if (Util.isSupported(mSceneMode, mParameters.getSupportedSceneModes())) {
2098 if (!mParameters.getSceneMode().equals(mSceneMode)) {
2099 mParameters.setSceneMode(mSceneMode);
2104 mCameraDevice.setParameters(mParameters);
2105 mParameters = mCameraDevice.getParameters();
2108 mSceneMode = mParameters.getSceneMode();
2117 mParameters.setJpegQuality(jpegQuality);
2124 int max = mParameters.getMaxExposureCompensation();
2125 int min = mParameters.getMinExposureCompensation();
2127 mParameters.setExposureCompensation(value);
2137 List<String> supportedFlash = mParameters.getSupportedFlashModes();
2139 mParameters.setFlashMode(flashMode);
2141 flashMode = mParameters.getFlashMode();
2153 mParameters.getSupportedWhiteBalance())) {
2154 mParameters.setWhiteBalance(whiteBalance);
2156 whiteBalance = mParameters.getWhiteBalance();
2164 mParameters.setFocusMode(mFocusManager.getFocusMode());
2166 mFocusManager.overrideFocusMode(mParameters.getFocusMode());
2176 if (mParameters.getFocusMode().equals(Util.FOCUS_MODE_CONTINUOUS_PICTURE)) {
2200 mCameraDevice.setParameters(mParameters);
2315 mParameters = mCameraDevice.getParameters();
2436 Size size = mParameters.getPictureSize();