Searched refs:mMediaRecorder (Results 1 – 6 of 6) sorted by relevance
49 private MediaRecorder mMediaRecorder; field in PrivacyIndicatorFragment121 mMediaRecorder = new MediaRecorder(getActivity().getApplicationContext()); in startRecording()122 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in startRecording()123 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in startRecording()124 mMediaRecorder.setOutputFile(fileName); in startRecording()125 mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in startRecording()128 mMediaRecorder.prepare(); in startRecording()133 mMediaRecorder.start(); in startRecording()141 if (mMediaRecorder != null) { in stopRecording()142 mMediaRecorder.stop(); in stopRecording()[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()
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 …]
137 private MediaRecorder mMediaRecorder; field in VideoModule1131 mMediaRecorder = new MediaRecorder(); in initializeRecorder()1146 mMediaRecorder.setCamera(camera); in initializeRecorder()1147 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in initializeRecorder()1148 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in initializeRecorder()1149 mMediaRecorder.setProfile(mProfile); in initializeRecorder()1150 mMediaRecorder.setVideoSize(mProfile.videoFrameWidth, mProfile.videoFrameHeight); in initializeRecorder()1151 mMediaRecorder.setMaxDuration(mMaxVideoDurationInMs); in initializeRecorder()1157 mMediaRecorder.setOutputFile(mVideoFileDescriptor.getFileDescriptor()); in initializeRecorder()1170 mMediaRecorder.setMaxFileSize(maxFileSize); in initializeRecorder()[all …]
186 private MediaRecorder mMediaRecorder; field in VideoCamera1195 mMediaRecorder = new MediaRecorder(); in initializeRecorder()1199 mMediaRecorder.setCamera(mCameraDevice); in initializeRecorder()1201 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in initializeRecorder()1203 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in initializeRecorder()1204 mMediaRecorder.setProfile(mProfile); in initializeRecorder()1205 mMediaRecorder.setMaxDuration(mMaxVideoDurationInMs); in initializeRecorder()1207 mMediaRecorder.setCaptureRate((1000 / (double) mTimeBetweenTimeLapseFrameCaptureMs)); in initializeRecorder()1212 mMediaRecorder.setLocation((float) loc.getLatitude(), in initializeRecorder()1221 mMediaRecorder.setOutputFile(mVideoFileDescriptor.getFileDescriptor()); in initializeRecorder()[all …]
116 private MediaRecorder mMediaRecorder; field in AudioRecorderTestFragment206 writer.printf("Is recording: %s\n", mMediaRecorder != null); in dumpRecordingState()256 if (mMediaRecorder != null) { in startPlayback()352 if (mMediaRecorder == null) { in stopRecording()357 mMediaRecorder.stop(); in stopRecording()358 mMediaRecorder = null; in stopRecording()394 mMediaRecorder = recorder; in startRecording()