Lines Matching defs:mCameraDevice
52 private CameraProxy mCameraDevice;
105 Log.d(TAG, "mCameraId = " + s.id + ", mCameraDevice = " + s.device);
194 collectState(cameraId, mCameraDevice);
201 if (mCameraDevice != null && mCameraId != cameraId) {
202 mCameraDevice.release();
203 mCameraDevice = null;
206 if (mCameraDevice == null) {
210 mCameraDevice = CameraManager.instance().cameraOpen(cameraId);
214 mCameraDevice = mMockCamera[cameraId];
221 mParameters = mCameraDevice.getParameters();
224 mCameraDevice.reconnect();
229 mCameraDevice.setParameters(mParameters);
234 return mCameraDevice;
256 collectState(mCameraId, mCameraDevice);
259 if (mCameraDevice == null) return;
265 mCameraDevice.stopPreview();
272 mCameraDevice.release();
273 mCameraDevice = null;