Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/preference/
DYesNoPreference.java107 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
108 myState.wasPositiveResult = getValue(); in onSaveInstanceState()
109 return myState; in onSaveInstanceState()
120 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
121 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
122 setValue(myState.wasPositiveResult); in onRestoreInstanceState()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DEditTextPreference.java108 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
109 myState.text = getText(); in onSaveInstanceState()
110 return myState; in onSaveInstanceState()
121 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
122 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
123 setText(myState.text); in onRestoreInstanceState()
DSeekBarPreference.java304 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
305 myState.seekBarValue = mSeekBarValue; in onSaveInstanceState()
306 myState.min = mMin; in onSaveInstanceState()
307 myState.max = mMax; in onSaveInstanceState()
308 return myState; in onSaveInstanceState()
320 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
321 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
322 mSeekBarValue = myState.seekBarValue; in onRestoreInstanceState()
323 mMin = myState.min; in onRestoreInstanceState()
324 mMax = myState.max; in onRestoreInstanceState()
DTwoStatePreference.java245 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
246 myState.checked = isChecked(); in onSaveInstanceState()
247 return myState; in onSaveInstanceState()
258 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
259 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
260 setChecked(myState.checked); in onRestoreInstanceState()
DListPreference.java270 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
271 myState.value = getValue(); in onSaveInstanceState()
272 return myState; in onSaveInstanceState()
283 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
284 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
285 setValue(myState.value); in onRestoreInstanceState()
/frameworks/base/core/java/android/preference/
DSeekBarPreference.java187 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
188 myState.progress = mProgress; in onSaveInstanceState()
189 myState.max = mMax; in onSaveInstanceState()
190 return myState; in onSaveInstanceState()
202 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
203 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
204 mProgress = myState.progress; in onRestoreInstanceState()
205 mMax = myState.max; in onRestoreInstanceState()
DPreferenceScreen.java265 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
266 myState.isDialogShowing = true; in onSaveInstanceState()
267 myState.dialogBundle = dialog.onSaveInstanceState(); in onSaveInstanceState()
268 return myState; in onSaveInstanceState()
279 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
280 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
281 if (myState.isDialogShowing) { in onRestoreInstanceState()
282 showDialog(myState.dialogBundle); in onRestoreInstanceState()
DTwoStatePreference.java236 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
237 myState.checked = isChecked(); in onSaveInstanceState()
238 return myState; in onSaveInstanceState()
249 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
250 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
251 setChecked(myState.checked); in onRestoreInstanceState()
DEditTextPreference.java192 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
193 myState.text = getText(); in onSaveInstanceState()
194 return myState; in onSaveInstanceState()
205 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
206 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
207 setText(myState.text); in onRestoreInstanceState()
DVolumePreference.java176 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
178 mSeekBarVolumizer.onSaveInstanceState(myState.getVolumeStore()); in onSaveInstanceState()
180 return myState; in onSaveInstanceState()
191 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
192 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
194 mSeekBarVolumizer.onRestoreInstanceState(myState.getVolumeStore()); in onRestoreInstanceState()
DDialogPreference.java436 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
437 myState.isDialogShowing = true; in onSaveInstanceState()
438 myState.dialogBundle = mDialog.onSaveInstanceState(); in onSaveInstanceState()
439 return myState; in onSaveInstanceState()
450 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
451 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
452 if (myState.isDialogShowing) { in onRestoreInstanceState()
453 showDialog(myState.dialogBundle); in onRestoreInstanceState()
DMultiCheckPreference.java289 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
290 myState.values = getValues(); in onSaveInstanceState()
291 return myState; in onSaveInstanceState()
302 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
303 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
304 setValues(myState.values); in onRestoreInstanceState()
DListPreference.java306 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
307 myState.value = getValue(); in onSaveInstanceState()
308 return myState; in onSaveInstanceState()
319 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
320 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
321 setValue(myState.value); in onRestoreInstanceState()
DMultiSelectListPreference.java246 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
247 myState.values = getValues(); in onSaveInstanceState()
248 return myState; in onSaveInstanceState()
/frameworks/support/v14/preference/src/android/support/v14/preference/
DMultiSelectListPreference.java221 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
222 myState.values = getValues(); in onSaveInstanceState()
223 return myState; in onSaveInstanceState()
234 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
235 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
236 setValues(myState.values); in onRestoreInstanceState()