Lines Matching refs:mParameters
239 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()
1889 List<String> supportedFlash = mParameters.getSupportedFlashModes(); in setCameraParameters()
1891 mParameters.setFlashMode(flashMode); in setCameraParameters()
1893 flashMode = mParameters.getFlashMode(); in setCameraParameters()
1905 mParameters.getSupportedWhiteBalance())) { in setCameraParameters()
1906 mParameters.setWhiteBalance(whiteBalance); in setCameraParameters()
1908 whiteBalance = mParameters.getWhiteBalance(); in setCameraParameters()
1915 if (mParameters.isZoomSupported()) { in setCameraParameters()
1916 mParameters.setZoom(mZoomValue); in setCameraParameters()
1920 List<String> supportedFocus = mParameters.getSupportedFocusModes(); in setCameraParameters()
1922 mParameters.setFocusMode(Parameters.FOCUS_MODE_CONTINUOUS_VIDEO); in setCameraParameters()
1925 mParameters.setRecordingHint(true); in setCameraParameters()
1929 String vstabSupported = mParameters.get("video-stabilization-supported"); in setCameraParameters()
1931 mParameters.set("video-stabilization", "true"); in setCameraParameters()
1938 List<Size> supported = mParameters.getSupportedPictureSizes(); in setCameraParameters()
1941 Size original = mParameters.getPictureSize(); in setCameraParameters()
1943 mParameters.setPictureSize(optimalSize.width, optimalSize.height); in setCameraParameters()
1951 mParameters.setJpegQuality(jpegQuality); in setCameraParameters()
1953 mCameraDevice.setParameters(mParameters); in setCameraParameters()
1955 mParameters = mCameraDevice.getParameters(); in setCameraParameters()
2081 if (mParameters.isZoomSupported()) { in restorePreferences()
2090 mParameters); in restorePreferences()
2139 Size size = mParameters.getPreviewSize(); in onSharedPreferenceChanged()
2200 Size size = mParameters.getPreviewSize(); in checkQualityAndStartPreview()
2285 mParameters = mCameraDevice.getParameters(); in initializeZoom()
2286 if (!mParameters.isZoomSupported()) return; in initializeZoom()
2288 mZoomMax = mParameters.getMaxZoom(); in initializeZoom()
2292 mZoomControl.setZoomIndex(mParameters.getZoom()); in initializeZoom()
2310 mParameters.setZoom(value); in onZoomChange()
2346 if (mParameters.isVideoSnapshotSupported() && !mIsVideoCaptureIntent) { in initializeVideoSnapshot()
2358 if (mParameters.isVideoSnapshotSupported() && !mIsVideoCaptureIntent) { in showVideoSnapshotUI()
2380 Util.setRotationParameter(mParameters, mCameraId, mOrientation); in onTouch()
2382 Util.setGpsParameters(mParameters, loc); in onTouch()
2383 mCameraDevice.setParameters(mParameters); in onTouch()
2412 Size s = mParameters.getPictureSize(); in storeImage()
2417 int ratio = (int) Math.ceil((double) mParameters.getPictureSize().width in storeImage()