Home
last modified time | relevance | path

Searched refs:mMediaRecorder (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DAudioRecordView.java94 private LevelTrackingMediaRecorder mMediaRecorder; field in AudioRecordView
103 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()
DCameraManager.java165 private MmsVideoRecorder mMediaRecorder; field in CameraManager
623 if (mMediaRecorder == null) { in releaseMediaRecorder()
629 mMediaRecorder.cleanupTempFile(); in releaseMediaRecorder()
639 mMediaRecorder.release(); in releaseMediaRecorder()
640 mMediaRecorder = null; in releaseMediaRecorder()
694 if (mMediaRecorder == null) { in updateCameraOrientation()
791 if (mMediaRecorder != null) { in tryInitOrCleanupVideoMode()
798 mMediaRecorder = new MmsVideoRecorder(mCamera, mCameraIndex, mRotation, maxMessageSize); in tryInitOrCleanupVideoMode()
799 mMediaRecorder.prepare(); in tryInitOrCleanupVideoMode()
827 if (mMediaRecorder == null || mVideoCallback == null) { in tryStartVideoCapture()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java137 private MediaRecorder mMediaRecorder; field in VideoModule
1127 mMediaRecorder = new MediaRecorder(); in initializeRecorder()
1142 mMediaRecorder.setCamera(camera); in initializeRecorder()
1143 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in initializeRecorder()
1144 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in initializeRecorder()
1145 mMediaRecorder.setProfile(mProfile); in initializeRecorder()
1146 mMediaRecorder.setVideoSize(mProfile.videoFrameWidth, mProfile.videoFrameHeight); in initializeRecorder()
1147 mMediaRecorder.setMaxDuration(mMaxVideoDurationInMs); in initializeRecorder()
1155 mMediaRecorder.setOutputFile(mVideoFileDescriptor.getFileDescriptor()); in initializeRecorder()
1158 mMediaRecorder.setOutputFile(mVideoFilename); in initializeRecorder()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java186 private MediaRecorder mMediaRecorder; field in VideoCamera
1194 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 …]