Searched refs:mMediaRecorder (Results 1 – 4 of 4) sorted by relevance
165 private MmsVideoRecorder mMediaRecorder; field in CameraManager623 if (mMediaRecorder == null) { in releaseMediaRecorder()629 mMediaRecorder.cleanupTempFile(); in releaseMediaRecorder()639 mMediaRecorder.closeVideoFileDescriptor(); in releaseMediaRecorder()640 mMediaRecorder.release(); in releaseMediaRecorder()641 mMediaRecorder = null; in releaseMediaRecorder()695 if (mMediaRecorder == null) { in updateCameraOrientation()792 if (mMediaRecorder != null) { in tryInitOrCleanupVideoMode()799 mMediaRecorder = new MmsVideoRecorder(mCamera, mCameraIndex, mRotation, maxMessageSize); in tryInitOrCleanupVideoMode()800 mMediaRecorder.prepare(); in tryInitOrCleanupVideoMode()[all …]
94 private LevelTrackingMediaRecorder mMediaRecorder; field in AudioRecordView103 mMediaRecorder = new LevelTrackingMediaRecorder(); in AudioRecordView()112 mMediaRecorder = recorder; in testSetMediaRecorder()123 mSoundLevels.setLevelSource(mMediaRecorder.getLevelSource()); in onFinishInflate()174 return mMediaRecorder.isRecording() && mCurrentMode == MODE_RECORDING; in isRecording()243 if (!mMediaRecorder.isRecording() && mCurrentMode == MODE_IDLE) { in onRecordButtonTouchDown()253 mMediaRecorder.startRecording(AudioRecordView.this, in onRecordButtonTouchDown()299 if (mMediaRecorder.isRecording()) { in stopRecording()300 return mMediaRecorder.stopRecording(); in stopRecording()
137 private MediaRecorder mMediaRecorder; field in VideoModule1128 mMediaRecorder = new MediaRecorder(); in initializeRecorder()1143 mMediaRecorder.setCamera(camera); in initializeRecorder()1144 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in initializeRecorder()1145 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in initializeRecorder()1146 mMediaRecorder.setProfile(mProfile); in initializeRecorder()1147 mMediaRecorder.setVideoSize(mProfile.videoFrameWidth, mProfile.videoFrameHeight); in initializeRecorder()1148 mMediaRecorder.setMaxDuration(mMaxVideoDurationInMs); in initializeRecorder()1156 mMediaRecorder.setOutputFile(mVideoFileDescriptor.getFileDescriptor()); in initializeRecorder()1159 mMediaRecorder.setOutputFile(mVideoFilename); in initializeRecorder()[all …]
186 private MediaRecorder mMediaRecorder; field in VideoCamera1194 mMediaRecorder = new MediaRecorder(); in initializeRecorder()1198 mMediaRecorder.setCamera(mCameraDevice); in initializeRecorder()1200 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in initializeRecorder()1202 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in initializeRecorder()1203 mMediaRecorder.setProfile(mProfile); in initializeRecorder()1204 mMediaRecorder.setMaxDuration(mMaxVideoDurationInMs); in initializeRecorder()1206 mMediaRecorder.setCaptureRate((1000 / (double) mTimeBetweenTimeLapseFrameCaptureMs)); in initializeRecorder()1211 mMediaRecorder.setLocation((float) loc.getLatitude(), in initializeRecorder()1220 mMediaRecorder.setOutputFile(mVideoFileDescriptor.getFileDescriptor()); in initializeRecorder()[all …]