Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/preference/
DPreferenceScreen.java230 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
231 myState.isDialogShowing = true; in onSaveInstanceState()
232 myState.dialogBundle = dialog.onSaveInstanceState(); in onSaveInstanceState()
233 return myState; in onSaveInstanceState()
244 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
245 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
246 if (myState.isDialogShowing) { in onRestoreInstanceState()
247 showDialog(myState.dialogBundle); in onRestoreInstanceState()
DSeekBarPreference.java192 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
193 myState.progress = mProgress; in onSaveInstanceState()
194 myState.max = mMax; in onSaveInstanceState()
195 return myState; in onSaveInstanceState()
207 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
208 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
209 mProgress = myState.progress; in onRestoreInstanceState()
210 mMax = myState.max; 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()
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()
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()
DMultiSelectListPreference.java246 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
247 myState.values = getValues(); in onSaveInstanceState()
248 return myState; in onSaveInstanceState()
/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()
DTwoStatePreference.java241 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
242 myState.checked = isChecked(); in onSaveInstanceState()
243 return myState; in onSaveInstanceState()
254 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
255 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
256 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/support/v14/preference/src/android/support/v14/preference/
DMultiSelectListPreference.java274 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
275 myState.values = getValues(); in onSaveInstanceState()
276 return myState; in onSaveInstanceState()
287 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
288 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
289 setValues(myState.values); in onRestoreInstanceState()
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/
Dsettings.jd1178 final SavedState myState = new SavedState(superState);
1181 myState.value = mNewValue;
1182 return myState;
1195 SavedState myState = (SavedState) state;
1196 super.onRestoreInstanceState(myState.getSuperState());
1199 mNumberPicker.setValue(myState.value);
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/
Dsettings.jd1178 final SavedState myState = new SavedState(superState);
1181 myState.value = mNewValue;
1182 return myState;
1195 SavedState myState = (SavedState) state;
1196 super.onRestoreInstanceState(myState.getSuperState());
1199 mNumberPicker.setValue(myState.value);
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/
Dsettings.jd1178 final SavedState myState = new SavedState(superState);
1181 myState.value = mNewValue;
1182 return myState;
1195 SavedState myState = (SavedState) state;
1196 super.onRestoreInstanceState(myState.getSuperState());
1199 mNumberPicker.setValue(myState.value);
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/
Dsettings.jd1178 final SavedState myState = new SavedState(superState);
1181 myState.value = mNewValue;
1182 return myState;
1195 SavedState myState = (SavedState) state;
1196 super.onRestoreInstanceState(myState.getSuperState());
1199 mNumberPicker.setValue(myState.value);
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/
Dsettings.jd1178 final SavedState myState = new SavedState(superState);
1181 myState.value = mNewValue;
1182 return myState;
1195 SavedState myState = (SavedState) state;
1196 super.onRestoreInstanceState(myState.getSuperState());
1199 mNumberPicker.setValue(myState.value);
/frameworks/base/docs/html-intl/intl/in/guide/topics/ui/
Dsettings.jd1178 final SavedState myState = new SavedState(superState);
1181 myState.value = mNewValue;
1182 return myState;
1195 SavedState myState = (SavedState) state;
1196 super.onRestoreInstanceState(myState.getSuperState());
1199 mNumberPicker.setValue(myState.value);
/frameworks/base/docs/html/guide/topics/ui/
Dsettings.jd1185 final SavedState myState = new SavedState(superState);
1188 myState.value = mNewValue;
1189 return myState;
1202 SavedState myState = (SavedState) state;
1203 super.onRestoreInstanceState(myState.getSuperState());
1206 mNumberPicker.setValue(myState.value);
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/ui/
Dsettings.jd1178 final SavedState myState = new SavedState(superState);
1181 myState.value = mNewValue;
1182 return myState;
1195 SavedState myState = (SavedState) state;
1196 super.onRestoreInstanceState(myState.getSuperState());
1199 mNumberPicker.setValue(myState.value);
/frameworks/base/docs/html-intl/intl/vi/guide/topics/ui/
Dsettings.jd1178 final SavedState myState = new SavedState(superState);
1181 myState.value = mNewValue;
1182 return myState;
1195 SavedState myState = (SavedState) state;
1196 super.onRestoreInstanceState(myState.getSuperState());
1199 mNumberPicker.setValue(myState.value);