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.java309 if (mRecorder.sampleLength() == 0) in onSaveInstanceState()
429 if (mRecorder.sampleLength() > 0) in onKeyDown()
466 if (mRecorder.sampleLength() == 0) in saveSample()
605 long sampleLengthMillis = mRecorder.sampleLength() * 1000L; in addToMediaDB()
657 long time = ongoing ? mRecorder.progress() : mRecorder.sampleLength(); in updateTimerView()
662 mStateProgressBar.setProgress((int)(100*time/mRecorder.sampleLength())); in updateTimerView()
720 if (mRecorder.sampleLength() == 0) { in updateUi()