OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:recorderstate
(Results
1 - 2
of
2
) sorted by null
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
Recorder.java
64
public void saveState(Bundle
recorderState
) {
65
recorderState
.putString(SAMPLE_PATH_KEY, mSampleFile.getAbsolutePath());
66
recorderState
.putInt(SAMPLE_LENGTH_KEY, mSampleLength);
75
public void restoreState(Bundle
recorderState
) {
76
String samplePath =
recorderState
.getString(SAMPLE_PATH_KEY);
79
int sampleLength =
recorderState
.getInt(SAMPLE_LENGTH_KEY, -1);
SoundRecorder.java
285
Bundle
recorderState
= icycle.getBundle(RECORDER_STATE_KEY);
286
if (
recorderState
!= null) {
287
mRecorder.restoreState(
recorderState
);
288
mSampleInterrupted =
recorderState
.getBoolean(SAMPLE_INTERRUPTED_KEY, false);
289
mMaxFileSize =
recorderState
.getLong(MAX_FILE_SIZE_KEY, -1);
312
Bundle
recorderState
= new Bundle();
314
mRecorder.saveState(
recorderState
);
315
recorderState
.putBoolean(SAMPLE_INTERRUPTED_KEY, mSampleInterrupted);
316
recorderState
.putLong(MAX_FILE_SIZE_KEY, mMaxFileSize);
318
outState.putBundle(RECORDER_STATE_KEY,
recorderState
);
[
all
...]
Completed in 222 milliseconds