Lines Matching refs:mParams
129 private Camera.Parameters mParams; field in TestingCamera
540 mParams.setPreviewSize(width, height);
544 mCamera.setParameters(mParams);
566 mParams.setPreviewFrameRate(mPreviewFrameRates.get(mPreviewFrameRate));
570 mCamera.setParameters(mParams);
590 mParams.setSceneMode(Camera.Parameters.SCENE_MODE_HDR);
593 mParams.setSceneMode(Camera.Parameters.SCENE_MODE_AUTO);
595 mCamera.setParameters(mParams);
636 mParams.setFocusMode(focusMode);
638 mCamera.setParameters(mParams);
691 mParams.setFlashMode(flashMode);
692 mCamera.setParameters(mParams);
714 mParams.setPictureSize(width, height);
716 mCamera.setParameters(mParams);
833 mParams.setVideoStabilization(on);
835 mCamera.setParameters(mParams);
844 mParams.setRecordingHint(on);
846 mCamera.setParameters(mParams);
935 mParams.setPreviewFormat(mPreviewFormats.get(mPreviewFormat));
936 mCamera.setParameters(mParams);
1007 mParams = mCamera.getParameters(); in setUpCamera()
1009 if (mParams != null) { in setUpCamera()
1010 List<String> sceneModes = mParams.getSupportedSceneModes(); in setUpCamera()
1028 updatePreviewSizes(mParams); in setUpCamera()
1030 updatePreviewFormats(mParams); in setUpCamera()
1031 updateAfModes(mParams); in setUpCamera()
1032 updateFlashModes(mParams); in setUpCamera()
1033 updateSnapshotSizes(mParams); in setUpCamera()
1037 updateColorEffects(mParams); in setUpCamera()
1042 if (mParams.isVideoStabilizationSupported()) { in setUpCamera()
1050 if (mParams.isAutoExposureLockSupported()) { in setUpCamera()
1058 if (mParams.isZoomSupported()) { in setUpCamera()
1059 int maxZoom = mParams.getMaxZoom(); in setUpCamera()
1069 mCamera.setParameters(mParams); in setUpCamera()
1148 log("Auto-Exposure was " + mParams.getAutoExposureLock());
1149 mParams.setAutoExposureLock(on);
1150 log("Auto-Exposure is now " + mParams.getAutoExposureLock());
1160 mParams.setZoom(mZoom);
1161 mCamera.setParameters(mParams);
1167 log("Zoom set to " + mZoom + " / " + mParams.getMaxZoom() + " (" +
1168 ((float)(mParams.getZoomRatios().get(mZoom))/100) + "x)");
1195 List<Integer> frameRates = mParams.getSupportedPreviewFrameRates(); in updatePreviewFrameRate()
1196 int defaultPreviewFrameRate = mParams.getPreviewFrameRate(); in updatePreviewFrameRate()
1331 List<Camera.Size> videoSizes = mParams.getSupportedVideoSizes(); in updateVideoRecordSize()
1334 videoSizes = mParams.getSupportedPreviewSizes(); in updateVideoRecordSize()
1358 List<Integer> frameRates = mParams.getSupportedPreviewFrameRates(); in updateVideoFrameRate()
1754 mParams.setColorEffect(colorEffect);
1755 mCamera.setParameters(mParams);