Home
last modified time | relevance | path

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

/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()
/frameworks/base/core/java/android/preference/
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()
DPreferenceScreen.java224 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
225 myState.isDialogShowing = true; in onSaveInstanceState()
226 myState.dialogBundle = dialog.onSaveInstanceState(); in onSaveInstanceState()
227 return myState; in onSaveInstanceState()
238 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
239 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
240 if (myState.isDialogShowing) { in onRestoreInstanceState()
241 showDialog(myState.dialogBundle); 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.java424 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
425 myState.isDialogShowing = true; in onSaveInstanceState()
426 myState.dialogBundle = mDialog.onSaveInstanceState(); in onSaveInstanceState()
427 return myState; in onSaveInstanceState()
438 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
439 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
440 if (myState.isDialogShowing) { in onRestoreInstanceState()
441 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()
DMultiCheckPreference.java279 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
280 myState.values = getValues(); in onSaveInstanceState()
281 return myState; in onSaveInstanceState()
292 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
293 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
294 setValues(myState.values); 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.java235 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
236 myState.values = getValues(); in onSaveInstanceState()
237 return myState; in onSaveInstanceState()