Home
last modified time | relevance | path

Searched refs:SavedState (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/preference/
DYesNoPreference.java109 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
116 if (!state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
122 SavedState myState = (SavedState) state; in onRestoreInstanceState()
127 private static class SavedState extends BaseSavedState { class in YesNoPreference
130 public SavedState(Parcel source) { in SavedState() method in YesNoPreference.SavedState
141 public SavedState(Parcelable superState) { in SavedState() method in YesNoPreference.SavedState
145 public static final Parcelable.Creator<SavedState> CREATOR =
146 new Parcelable.Creator<SavedState>() {
147 public SavedState createFromParcel(Parcel in) {
148 return new SavedState(in);
[all …]
/frameworks/base/core/java/android/preference/
DEditTextPreference.java201 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
208 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
214 SavedState myState = (SavedState) state; in onRestoreInstanceState()
219 private static class SavedState extends BaseSavedState { class in EditTextPreference
222 public SavedState(Parcel source) { in SavedState() method in EditTextPreference.SavedState
233 public SavedState(Parcelable superState) { in SavedState() method in EditTextPreference.SavedState
237 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
238 new Parcelable.Creator<SavedState>() {
239 public SavedState createFromParcel(Parcel in) {
240 return new SavedState(in);
[all …]
DTwoStatePreference.java245 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
252 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
258 SavedState myState = (SavedState) state; in onRestoreInstanceState()
263 static class SavedState extends BaseSavedState { class in TwoStatePreference
266 public SavedState(Parcel source) { in SavedState() method in TwoStatePreference.SavedState
277 public SavedState(Parcelable superState) { in SavedState() method in TwoStatePreference.SavedState
281 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
282 new Parcelable.Creator<SavedState>() {
283 public SavedState createFromParcel(Parcel in) {
284 return new SavedState(in);
[all …]
DVolumePreference.java186 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
195 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
201 SavedState myState = (SavedState) state; in onRestoreInstanceState()
215 private static class SavedState extends BaseSavedState { class in VolumePreference
218 public SavedState(Parcel source) { in SavedState() method in VolumePreference.SavedState
235 public SavedState(Parcelable superState) { in SavedState() method in VolumePreference.SavedState
239 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
240 new Parcelable.Creator<SavedState>() {
241 public SavedState createFromParcel(Parcel in) {
242 return new SavedState(in);
[all …]
DSeekBarPreference.java198 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
206 if (!state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
213 SavedState myState = (SavedState) state; in onRestoreInstanceState()
226 private static class SavedState extends BaseSavedState { class in SeekBarPreference
230 public SavedState(Parcel source) { in SavedState() method in SeekBarPreference.SavedState
247 public SavedState(Parcelable superState) { in SavedState() method in SeekBarPreference.SavedState
252 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
253 new Parcelable.Creator<SavedState>() {
254 public SavedState createFromParcel(Parcel in) {
255 return new SavedState(in);
[all …]
DListPreference.java315 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
322 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
328 SavedState myState = (SavedState) state; in onRestoreInstanceState()
333 private static class SavedState extends BaseSavedState { class in ListPreference
336 public SavedState(Parcel source) { in SavedState() method in ListPreference.SavedState
347 public SavedState(Parcelable superState) { in SavedState() method in ListPreference.SavedState
351 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
352 new Parcelable.Creator<SavedState>() {
353 public SavedState createFromParcel(Parcel in) {
354 return new SavedState(in);
[all …]
DPreferenceScreen.java276 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
284 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
290 SavedState myState = (SavedState) state; in onRestoreInstanceState()
297 private static class SavedState extends BaseSavedState { class in PreferenceScreen
301 public SavedState(Parcel source) { in SavedState() method in PreferenceScreen.SavedState
314 public SavedState(Parcelable superState) { in SavedState() method in PreferenceScreen.SavedState
318 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
319 new Parcelable.Creator<SavedState>() {
320 public SavedState createFromParcel(Parcel in) {
321 return new SavedState(in);
[all …]
DMultiCheckPreference.java296 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
303 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
309 SavedState myState = (SavedState) state; in onRestoreInstanceState()
314 private static class SavedState extends BaseSavedState { class in MultiCheckPreference
317 public SavedState(Parcel source) { in SavedState() method in MultiCheckPreference.SavedState
328 public SavedState(Parcelable superState) { in SavedState() method in MultiCheckPreference.SavedState
332 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
333 new Parcelable.Creator<SavedState>() {
334 public SavedState createFromParcel(Parcel in) {
335 return new SavedState(in);
[all …]
DMultiSelectListPreference.java253 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
258 private static class SavedState extends BaseSavedState { class in MultiSelectListPreference
261 public SavedState(Parcel source) { in SavedState() method in MultiSelectListPreference.SavedState
272 public SavedState(Parcelable superState) { in SavedState() method in MultiSelectListPreference.SavedState
282 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
283 new Parcelable.Creator<SavedState>() {
284 public SavedState createFromParcel(Parcel in) {
285 return new SavedState(in);
288 public SavedState[] newArray(int size) {
289 return new SavedState[size];
DDialogPreference.java497 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
505 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
511 SavedState myState = (SavedState) state; in onRestoreInstanceState()
518 private static class SavedState extends BaseSavedState { class in DialogPreference
522 public SavedState(Parcel source) { in SavedState() method in DialogPreference.SavedState
535 public SavedState(Parcelable superState) { in SavedState() method in DialogPreference.SavedState
539 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
540 new Parcelable.Creator<SavedState>() {
541 public SavedState createFromParcel(Parcel in) {
542 return new SavedState(in);
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java148 final SavedState ss = new SavedState(parcelable); in onSaveInstanceState()
155 if (!(state instanceof SavedState)) { in onRestoreInstanceState()
161 final SavedState ss = (SavedState) state; in onRestoreInstanceState()
391 protected static class SavedState extends BaseSavedState { class in SetupWizardLayout
395 public SavedState(Parcelable parcelable) { in SavedState() method in SetupWizardLayout.SavedState
399 public SavedState(Parcel source) { in SavedState() method in SetupWizardLayout.SavedState
410 public static final Parcelable.Creator<SavedState> CREATOR =
411 new Parcelable.Creator<SavedState>() {
414 public SavedState createFromParcel(Parcel parcel) {
415 return new SavedState(parcel);
[all …]
/frameworks/base/core/java/android/widget/
DAbsSpinner.java383 static class SavedState extends BaseSavedState { class in AbsSpinner
390 SavedState(Parcelable superState) { in SavedState() method in AbsSpinner.SavedState
397 SavedState(Parcel in) { in SavedState() method in AbsSpinner.SavedState
418 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR
419 = new Parcelable.Creator<SavedState>() {
420 public SavedState createFromParcel(Parcel in) {
421 return new SavedState(in);
424 public SavedState[] newArray(int size) {
425 return new SavedState[size];
433 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
DCheckedTextView.java499 static class SavedState extends BaseSavedState { class in CheckedTextView
505 SavedState(Parcelable superState) { in SavedState() method in CheckedTextView.SavedState
512 private SavedState(Parcel in) { in SavedState() method in CheckedTextView.SavedState
530 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR
531 = new Parcelable.Creator<SavedState>() {
532 public SavedState createFromParcel(Parcel in) {
533 return new SavedState(in);
536 public SavedState[] newArray(int size) {
537 return new SavedState[size];
546 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
DCompoundButton.java545 static class SavedState extends BaseSavedState { class in CompoundButton
551 SavedState(Parcelable superState) { in SavedState() method in CompoundButton.SavedState
558 private SavedState(Parcel in) { in SavedState() method in CompoundButton.SavedState
577 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
578 new Parcelable.Creator<SavedState>() {
580 public SavedState createFromParcel(Parcel in) {
581 return new SavedState(in);
585 public SavedState[] newArray(int size) {
586 return new SavedState[size];
595 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
DTimePicker.java504 protected static class SavedState extends View.BaseSavedState { class in TimePicker.AbstractTimePickerDelegate
510 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode) { in SavedState() method in TimePicker.AbstractTimePickerDelegate.SavedState
514 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode, in SavedState() method in TimePicker.AbstractTimePickerDelegate.SavedState
523 private SavedState(Parcel in) { in SavedState() method in TimePicker.AbstractTimePickerDelegate.SavedState
557 …blic static final @android.annotation.NonNull Creator<SavedState> CREATOR = new Creator<SavedState
558 public SavedState createFromParcel(Parcel in) {
559 return new SavedState(in);
562 public SavedState[] newArray(int size) {
563 return new SavedState[size];
DDatePicker.java701 static class SavedState extends View.BaseSavedState { class in DatePicker.AbstractDatePickerDelegate
711 public SavedState(Parcelable superState, int year, int month, int day, long minDate, in SavedState() method in DatePicker.AbstractDatePickerDelegate.SavedState
719 public SavedState(Parcelable superState, int year, int month, int day, long minDate, in SavedState() method in DatePicker.AbstractDatePickerDelegate.SavedState
735 private SavedState(Parcel in) { in SavedState() method in DatePicker.AbstractDatePickerDelegate.SavedState
794 … final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR = new Creator<SavedState
796 public SavedState createFromParcel(Parcel in) {
797 return new SavedState(in);
800 public SavedState[] newArray(int size) {
801 return new SavedState[size];
DAdapterViewAnimator.java777 static class SavedState extends BaseSavedState { class in AdapterViewAnimator
783 SavedState(Parcelable superState, int whichChild) { in SavedState() method in AdapterViewAnimator.SavedState
791 private SavedState(Parcel in) { in SavedState() method in AdapterViewAnimator.SavedState
807 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR
808 = new Parcelable.Creator<SavedState>() {
809 public SavedState createFromParcel(Parcel in) {
810 return new SavedState(in);
813 public SavedState[] newArray(int size) {
814 return new SavedState[size];
825 return new SavedState(superState, mWhichChild); in onSaveInstanceState()
[all …]
DExpandableListView.java1293 static class SavedState extends BaseSavedState { class in ExpandableListView
1299 SavedState( in SavedState() method in ExpandableListView.SavedState
1309 private SavedState(Parcel in) { in SavedState() method in ExpandableListView.SavedState
1321 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR
1322 = new Parcelable.Creator<SavedState>() {
1323 public SavedState createFromParcel(Parcel in) {
1324 return new SavedState(in);
1327 public SavedState[] newArray(int size) {
1328 return new SavedState[size];
1336 return new SavedState(superState, in onSaveInstanceState()
[all …]
DSpinner.java890 final SavedState ss = new SavedState(super.onSaveInstanceState()); in onSaveInstanceState()
897 SavedState ss = (SavedState) state; in onRestoreInstanceState()
929 static class SavedState extends AbsSpinner.SavedState { class in Spinner
932 SavedState(Parcelable superState) { in SavedState() method in Spinner.SavedState
936 private SavedState(Parcel in) { in SavedState() method in Spinner.SavedState
947 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
948 new Parcelable.Creator<SavedState>() {
949 public SavedState createFromParcel(Parcel in) {
950 return new SavedState(in);
953 public SavedState[] newArray(int size) {
[all …]
DActionMenuPresenter.java774 SavedState state = new SavedState(); in onSaveInstanceState()
782 SavedState saved = (SavedState) state; in onRestoreInstanceState()
813 private static class SavedState implements Parcelable { class in ActionMenuPresenter
816 SavedState() { in SavedState() method in ActionMenuPresenter.SavedState
819 SavedState(Parcel in) { in SavedState() method in ActionMenuPresenter.SavedState
833 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR
834 = new Parcelable.Creator<SavedState>() {
835 public SavedState createFromParcel(Parcel in) {
836 return new SavedState(in);
839 public SavedState[] newArray(int size) {
[all …]
DHorizontalScrollView.java172 private SavedState mSavedState;
1795 SavedState ss = (SavedState) state; in onRestoreInstanceState()
1809 SavedState ss = new SavedState(superState); in onSaveInstanceState()
1821 static class SavedState extends BaseSavedState { class in HorizontalScrollView
1824 SavedState(Parcelable superState) { in SavedState() method in HorizontalScrollView.SavedState
1828 public SavedState(Parcel source) { in SavedState() method in HorizontalScrollView.SavedState
1847 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR
1848 = new Parcelable.Creator<SavedState>() {
1849 public SavedState createFromParcel(Parcel in) {
1850 return new SavedState(in);
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java286 private static class SavedState extends BaseSavedState { class in DatePicker
297 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState() method in DatePicker.SavedState
310 private SavedState(Parcel in) { in SavedState() method in DatePicker.SavedState
350 public static final Parcelable.Creator<SavedState> CREATOR =
351 new Creator<SavedState>() {
353 public SavedState createFromParcel(Parcel in) {
354 return new SavedState(in);
357 public SavedState[] newArray(int size) {
358 return new SavedState[size];
376 return new SavedState(superState, mYear, mMonth, mDay, mHasYear, mYearOptional); in onSaveInstanceState()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java690 return new SavedState(superState, i); in onSaveInstanceState()
694 return new SavedState(superState, -1); in onSaveInstanceState()
699 SavedState ss = (SavedState) state; in onRestoreInstanceState()
712 private static class SavedState extends BaseSavedState { class in IconMenuView
718 public SavedState(Parcelable superState, int focusedPosition) { in SavedState() method in IconMenuView.SavedState
727 private SavedState(Parcel in) { in SavedState() method in IconMenuView.SavedState
738 …public static final Parcelable.Creator<SavedState> CREATOR = new Parcelable.Creator<SavedState>() {
739 public SavedState createFromParcel(Parcel in) {
740 return new SavedState(in);
743 public SavedState[] newArray(int size) {
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java999 final SavedState ss = new SavedState(super.onSaveInstanceState());
1006 final SavedState ss = (SavedState) state;
1057 static class SavedState extends BaseSavedState {
1060 SavedState(Parcelable superState) {
1064 private SavedState(Parcel in) {
1075 public static final Parcelable.Creator<SavedState> CREATOR =
1076 new Parcelable.Creator<SavedState>() {
1078 public SavedState createFromParcel(Parcel in) {
1079 return new SavedState(in);
1083 public SavedState[] newArray(int size) {
[all …]
DLinearLayoutManager.java129 SavedState mPendingSavedState = null;
239 return new SavedState(mPendingSavedState); in onSaveInstanceState()
241 SavedState state = new SavedState(); in onSaveInstanceState()
265 if (state instanceof SavedState) { in onRestoreInstanceState()
266 mPendingSavedState = (SavedState) state; in onRestoreInstanceState()
2218 public static class SavedState implements Parcelable {
2226 public SavedState() {
2230 SavedState(Parcel in) {
2236 public SavedState(SavedState other) {
2262 public static final Parcelable.Creator<SavedState> CREATOR =
[all …]

12