/frameworks/base/core/java/com/android/internal/preference/ |
D | YesNoPreference.java | 107 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/ |
D | EditTextPreference.java | 108 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()
|
D | SeekBarPreference.java | 304 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()
|
D | TwoStatePreference.java | 245 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()
|
D | ListPreference.java | 270 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/ |
D | SeekBarPreference.java | 187 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()
|
D | PreferenceScreen.java | 265 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()
|
D | TwoStatePreference.java | 236 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()
|
D | EditTextPreference.java | 192 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()
|
D | VolumePreference.java | 176 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()
|
D | DialogPreference.java | 436 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()
|
D | MultiCheckPreference.java | 289 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()
|
D | ListPreference.java | 306 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()
|
D | MultiSelectListPreference.java | 246 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/ |
D | MultiSelectListPreference.java | 221 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()
|