Lines Matching refs:MediaRecorder
35 import android.media.MediaRecorder;
91 implements FocusOverlayManager.Listener, MediaRecorder.OnErrorListener,
92 MediaRecorder.OnInfoListener, MemoryListener,
137 private MediaRecorder mMediaRecorder;
1127 mMediaRecorder = new MediaRecorder();
1143 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
1144 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
1196 private static void setCaptureRate(MediaRecorder recorder, double fps) {
1286 // from MediaRecorder.OnErrorListener
1288 public void onError(MediaRecorder mr, int what, int extra) {
1289 Log.e(TAG, "MediaRecorder error. what=" + what + ". extra=" + extra);
1290 if (what == MediaRecorder.MEDIA_RECORDER_ERROR_UNKNOWN) {
1297 // from MediaRecorder.OnInfoListener
1299 public void onInfo(MediaRecorder mr, int what, int extra) {
1300 if (what == MediaRecorder.MEDIA_RECORDER_INFO_MAX_DURATION_REACHED) {
1304 } else if (what == MediaRecorder.MEDIA_RECORDER_INFO_MAX_FILESIZE_REACHED) {
1405 // The parameters might have been altered by MediaRecorder already.
1408 // The parameters may have been changed by MediaRecorder upon starting
1543 // by MediaRecorder.
1967 if (outputFileFormat == MediaRecorder.OutputFormat.MPEG_4) {
1974 if (outputFileFormat == MediaRecorder.OutputFormat.MPEG_4) {