Lines Matching refs:mParams
130 private Camera.Parameters mParams; field in TestingCamera
572 mParams.setPreviewSize(width, height);
576 mCamera.setParameters(mParams);
598 mParams.setPreviewFrameRate(mPreviewFrameRates.get(mPreviewFrameRate));
602 mCamera.setParameters(mParams);
622 mParams.setSceneMode(Camera.Parameters.SCENE_MODE_HDR);
625 mParams.setSceneMode(Camera.Parameters.SCENE_MODE_AUTO);
627 mCamera.setParameters(mParams);
668 mParams.setFocusMode(focusMode);
670 mCamera.setParameters(mParams);
723 mParams.setFlashMode(flashMode);
724 mCamera.setParameters(mParams);
746 mParams.setPictureSize(width, height);
748 mCamera.setParameters(mParams);
865 mParams.setVideoStabilization(on);
867 mCamera.setParameters(mParams);
876 mParams.setRecordingHint(on);
878 mCamera.setParameters(mParams);
967 mParams.setPreviewFormat(mPreviewFormats.get(mPreviewFormat));
968 mCamera.setParameters(mParams);
1039 mParams = mCamera.getParameters(); in setUpCamera()
1041 if (mParams != null) { in setUpCamera()
1042 List<String> sceneModes = mParams.getSupportedSceneModes(); in setUpCamera()
1060 updatePreviewSizes(mParams); in setUpCamera()
1062 updatePreviewFormats(mParams); in setUpCamera()
1063 updateAfModes(mParams); in setUpCamera()
1064 updateFlashModes(mParams); in setUpCamera()
1065 updateSnapshotSizes(mParams); in setUpCamera()
1069 updateColorEffects(mParams); in setUpCamera()
1076 if (mParams.isVideoStabilizationSupported()) { in setUpCamera()
1084 if (mParams.isAutoExposureLockSupported()) { in setUpCamera()
1092 if (mParams.isZoomSupported()) { in setUpCamera()
1093 int maxZoom = mParams.getMaxZoom(); in setUpCamera()
1103 mCamera.setParameters(mParams); in setUpCamera()
1182 log("Auto-Exposure was " + mParams.getAutoExposureLock());
1183 mParams.setAutoExposureLock(on);
1184 log("Auto-Exposure is now " + mParams.getAutoExposureLock());
1194 mParams.setZoom(mZoom);
1195 mCamera.setParameters(mParams);
1201 log("Zoom set to " + mZoom + " / " + mParams.getMaxZoom() + " (" +
1202 ((float)(mParams.getZoomRatios().get(mZoom))/100) + "x)");
1229 List<Integer> frameRates = mParams.getSupportedPreviewFrameRates(); in updatePreviewFrameRate()
1230 int defaultPreviewFrameRate = mParams.getPreviewFrameRate(); in updatePreviewFrameRate()
1372 List<Camera.Size> videoSizes = mParams.getSupportedVideoSizes(); in updateVideoRecordSize()
1375 videoSizes = mParams.getSupportedPreviewSizes(); in updateVideoRecordSize()
1399 List<Integer> frameRates = mParams.getSupportedPreviewFrameRates(); in updateVideoFrameRate()
1844 mParams.setColorEffect(colorEffect);
1845 mCamera.setParameters(mParams);