Home
last modified time | relevance | path

Searched refs:sampleLength (Results 1 – 2 of 2) sorted by relevance

/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java79 int sampleLength = recorderState.getInt(SAMPLE_LENGTH_KEY, -1); in restoreState() local
80 if (sampleLength == -1) in restoreState()
92 mSampleLength = sampleLength; in restoreState()
111 public int sampleLength() { in sampleLength() method in Recorder
DSoundRecorder.java310 if (mRecorder.sampleLength() == 0) in onSaveInstanceState()
426 if (mRecorder.sampleLength() > 0) in onKeyDown()
463 if (mRecorder.sampleLength() == 0) in saveSample()
603 long sampleLengthMillis = mRecorder.sampleLength() * 1000L; in addToMediaDB()
655 long time = ongoing ? mRecorder.progress() : mRecorder.sampleLength(); in updateTimerView()
660 mStateProgressBar.setProgress((int)(100*time/mRecorder.sampleLength())); in updateTimerView()
718 if (mRecorder.sampleLength() == 0) { in updateUi()