Searched refs:mRecorder (Results 1 – 8 of 8) sorted by relevance
67 private MediaRecorder mRecorder; field in LevelTrackingMediaRecorder83 return mRecorder != null; in isRecording()94 if (mRecorder == null) { in startRecording()97 mRecorder = new MediaRecorder(); in startRecording()107 mRecorder.setAudioSource(MEDIA_RECORDER_AUDIO_SOURCE); in startRecording()108 mRecorder.setOutputFormat(MEDIA_RECORDER_OUTPUT_FORMAT); in startRecording()109 mRecorder.setAudioEncoder(MEDIA_RECORDER_AUDIO_ENCODER); in startRecording()110 mRecorder.setOutputFile(mOutputFD.getFileDescriptor()); in startRecording()111 mRecorder.setMaxFileSize(maxSize); in startRecording()112 mRecorder.setOnErrorListener(errorListener); in startRecording()[all …]
63 private VmsOperationRecorder mRecorder; field in VmsOperationRecorderTest84 mRecorder = new VmsOperationRecorder(mWriter); in setUp()89 mRecorder.subscribe(layer1); in testSubscribe()95 mRecorder.unsubscribe(layer1); in testUnsubscribe()101 mRecorder.startMonitoring(); in testStartMonitoring()107 mRecorder.stopMonitoring(); in testStopMonitoring()113 mRecorder.setLayersOffering(layersOffering0); in testSetLayersOffering0()119 mRecorder.setLayersOffering(layersOffering2); in testSetLayersOffering2()129 mRecorder.getPublisherId(9); in testGetPublisherId()135 mRecorder.addSubscription(42, layer1); in testAddSubscription()[all …]
58 MediaRecorder mRecorder = null; field in Recorder72 return mRecorder.getMaxAmplitude(); in getMaxAmplitude()162 mRecorder = new MediaRecorder(); in startRecording()163 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in startRecording()164 mRecorder.setOutputFormat(outputfileformat); in startRecording()165 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in startRecording()166 mRecorder.setOutputFile(mSampleFile.getAbsolutePath()); in startRecording()170 mRecorder.prepare(); in startRecording()173 mRecorder.reset(); in startRecording()174 mRecorder.release(); in startRecording()[all …]
213 Recorder mRecorder; field in SoundRecorder272 mRecorder = new Recorder(); in onCreate()273 mRecorder.setOnStateChangedListener(this); in onCreate()288 mRecorder.restoreState(recorderState); in onCreate()310 if (mRecorder.sampleLength() == 0) in onSaveInstanceState()315 mRecorder.saveState(recorderState); in onSaveInstanceState()350 mVUMeter.setRecorder(mRecorder); in initResourceRefs()385 mRecorder.startRecording(MediaRecorder.OutputFormat.AMR_NB, ".amr", this); in onClick()388 mRecorder.startRecording(MediaRecorder.OutputFormat.THREE_GPP, ".3gpp", in onClick()396 mRecorder.sampleFile(), mMaxFileSize); in onClick()[all …]
40 Recorder mRecorder; field in VUMeter61 mRecorder = null; in init()67 mRecorder = recorder; in setRecorder()79 if (mRecorder != null) in onDraw()80 angle += (float)(maxAngle - minAngle)*mRecorder.getMaxAmplitude()/32768; in onDraw()103 if (mRecorder != null && mRecorder.state() == Recorder.RECORDING_STATE) in onDraw()
86 private MediaRecorder mRecorder; field in BugReportActivity362 mRecorder = new MediaRecorder(); in startRecordingWithPermission()363 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in startRecordingWithPermission()364 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in startRecordingWithPermission()365 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); in startRecordingWithPermission()366 mRecorder.setOutputFile(recordingFile); in startRecordingWithPermission()369 mRecorder.prepare(); in startRecordingWithPermission()376 mRecorder.start(); in startRecordingWithPermission()377 mVoiceRecordingView.setRecorder(mRecorder); in startRecordingWithPermission()387 if (mRecorder != null) { in stopAudioRecording()[all …]
47 private MediaRecorder mRecorder; field in VoiceRecordingView61 mRecorder = recorder; in setRecorder()81 if (mRecorder != null) { in updateCurrentRadius()83 radius += maxRadius * mRecorder.getMaxAmplitude() in updateCurrentRadius()115 if (mRecorder != null) { in onDraw()
161 private SampleExtractor mRecorder; field in TunerRecordingSessionWorker303 if (!mRecorder.prepare()) { in handleMessage()393 if (mRecorder != null) { in reset()394 mRecorder.release(); in reset()395 mRecorder = null; in reset()458 mRecorder = in doStartRecording()466 mRecorder.setOnCompletionListener(this, mHandler); in doStartRecording()502 if (mRecorder != null) { in stopRecorder()503 mRecorder.release(); in stopRecorder()505 mRecorder = null; in stopRecorder()