Home
last modified time | relevance | path

Searched refs:myState (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/preference/
DPreferenceScreen.java218 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
219 myState.isDialogShowing = true; in onSaveInstanceState()
220 myState.dialogBundle = dialog.onSaveInstanceState(); in onSaveInstanceState()
221 return myState; in onSaveInstanceState()
232 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
233 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
234 if (myState.isDialogShowing) { in onRestoreInstanceState()
235 showDialog(myState.dialogBundle); in onRestoreInstanceState()
DSeekBarPreference.java182 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
183 myState.progress = mProgress; in onSaveInstanceState()
184 myState.max = mMax; in onSaveInstanceState()
185 return myState; in onSaveInstanceState()
197 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
198 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
199 mProgress = myState.progress; in onRestoreInstanceState()
200 mMax = myState.max; in onRestoreInstanceState()
DEditTextPreference.java186 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
187 myState.text = getText(); in onSaveInstanceState()
188 return myState; in onSaveInstanceState()
199 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
200 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
201 setText(myState.text); in onRestoreInstanceState()
DTwoStatePreference.java247 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
248 myState.checked = isChecked(); in onSaveInstanceState()
249 return myState; in onSaveInstanceState()
260 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
261 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
262 setChecked(myState.checked); in onRestoreInstanceState()
DDialogPreference.java422 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
423 myState.isDialogShowing = true; in onSaveInstanceState()
424 myState.dialogBundle = mDialog.onSaveInstanceState(); in onSaveInstanceState()
425 return myState; in onSaveInstanceState()
436 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
437 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
438 if (myState.isDialogShowing) { in onRestoreInstanceState()
439 showDialog(myState.dialogBundle); in onRestoreInstanceState()
DListPreference.java289 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
290 myState.value = getValue(); in onSaveInstanceState()
291 return myState; in onSaveInstanceState()
302 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
303 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
304 setValue(myState.value); in onRestoreInstanceState()
DVolumePreference.java157 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
159 mSeekBarVolumizer.onSaveInstanceState(myState.getVolumeStore()); in onSaveInstanceState()
161 return myState; in onSaveInstanceState()
172 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
173 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
175 mSeekBarVolumizer.onRestoreInstanceState(myState.getVolumeStore()); in onRestoreInstanceState()
DMultiSelectListPreference.java234 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
235 myState.values = getValues(); in onSaveInstanceState()
236 return myState; in onSaveInstanceState()
/frameworks/base/core/java/com/android/internal/preference/
DYesNoPreference.java103 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
104 myState.wasPositiveResult = getValue(); in onSaveInstanceState()
105 return myState; in onSaveInstanceState()
116 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
117 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
118 setValue(myState.wasPositiveResult); in onRestoreInstanceState()