Lines Matching refs:MediaRecorder
39 import android.media.MediaRecorder;
91 MediaRecorder.OnErrorListener,
92 MediaRecorder.OnInfoListener,
161 private MediaRecorder mMediaRecorder;
1189 mMediaRecorder = new MediaRecorder();
1196 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
1198 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
1262 private static void setCaptureRate(MediaRecorder recorder, double fps) {
1505 // from MediaRecorder.OnErrorListener
1507 public void onError(MediaRecorder mr, int what, int extra) {
1508 Log.e(TAG, "MediaRecorder error. what=" + what + ". extra=" + extra);
1509 if (what == MediaRecorder.MEDIA_RECORDER_ERROR_UNKNOWN) {
1516 // from MediaRecorder.OnInfoListener
1518 public void onInfo(MediaRecorder mr, int what, int extra) {
1519 if (what == MediaRecorder.MEDIA_RECORDER_INFO_MAX_DURATION_REACHED) {
1521 } else if (what == MediaRecorder.MEDIA_RECORDER_INFO_MAX_FILESIZE_REACHED) {
1600 // The parameters may have been changed by MediaRecorder upon starting
1631 // See the documentation of android.media.MediaRecorder.start() for
1775 // by MediaRecorder.
2592 if (outputFileFormat == MediaRecorder.OutputFormat.MPEG_4) {
2599 if (outputFileFormat == MediaRecorder.OutputFormat.MPEG_4) {