Lines Matching refs:MediaRecorder
48 import android.media.MediaRecorder;
92 MediaRecorder.OnErrorListener, MediaRecorder.OnInfoListener,
186 private MediaRecorder mMediaRecorder;
1194 mMediaRecorder = new MediaRecorder();
1200 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
1202 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
1507 // from MediaRecorder.OnErrorListener
1508 public void onError(MediaRecorder mr, int what, int extra) {
1509 Log.e(TAG, "MediaRecorder error. what=" + what + ". extra=" + extra);
1510 if (what == MediaRecorder.MEDIA_RECORDER_ERROR_UNKNOWN) {
1517 // 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) {
2444 if (outputFileFormat == MediaRecorder.OutputFormat.MPEG_4) {
2451 if (outputFileFormat == MediaRecorder.OutputFormat.MPEG_4) {