Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/com/android/internal/preference/
DYesNoPreference.java107 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
114 if (!state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
120 SavedState myState = (SavedState) state; in onRestoreInstanceState()
125 private static class SavedState extends BaseSavedState { class in YesNoPreference
128 public SavedState(Parcel source) { in SavedState() method in YesNoPreference.SavedState
139 public SavedState(Parcelable superState) { in SavedState() method in YesNoPreference.SavedState
143 public static final Parcelable.Creator<SavedState> CREATOR =
144 new Parcelable.Creator<SavedState>() {
145 public SavedState createFromParcel(Parcel in) {
146 return new SavedState(in);
[all …]
/frameworks/support/v7/preference/src/android/support/v7/preference/
DEditTextPreference.java108 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
115 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
121 SavedState myState = (SavedState) state; in onRestoreInstanceState()
126 private static class SavedState extends BaseSavedState { class in EditTextPreference
129 public SavedState(Parcel source) { in SavedState() method in EditTextPreference.SavedState
140 public SavedState(Parcelable superState) { in SavedState() method in EditTextPreference.SavedState
144 public static final Parcelable.Creator<SavedState> CREATOR =
145 new Parcelable.Creator<SavedState>() {
146 public SavedState createFromParcel(Parcel in) {
147 return new SavedState(in);
[all …]
DTwoStatePreference.java241 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
248 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
254 SavedState myState = (SavedState) state; in onRestoreInstanceState()
259 static class SavedState extends BaseSavedState { class in TwoStatePreference
262 public SavedState(Parcel source) { in SavedState() method in TwoStatePreference.SavedState
273 public SavedState(Parcelable superState) { in SavedState() method in TwoStatePreference.SavedState
277 public static final Parcelable.Creator<SavedState> CREATOR =
278 new Parcelable.Creator<SavedState>() {
279 public SavedState createFromParcel(Parcel in) {
280 return new SavedState(in);
[all …]
DListPreference.java270 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
277 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
283 SavedState myState = (SavedState) state; in onRestoreInstanceState()
288 private static class SavedState extends BaseSavedState { class in ListPreference
291 public SavedState(Parcel source) { in SavedState() method in ListPreference.SavedState
302 public SavedState(Parcelable superState) { in SavedState() method in ListPreference.SavedState
306 public static final Parcelable.Creator<SavedState> CREATOR =
307 new Parcelable.Creator<SavedState>() {
308 public SavedState createFromParcel(Parcel in) {
309 return new SavedState(in);
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPersistentFocusWrapper.java127 static class SavedState extends View.BaseSavedState { class in PersistentFocusWrapper
131 SavedState(Parcel in) { in SavedState() method in PersistentFocusWrapper.SavedState
136 SavedState(Parcelable superState) { in SavedState() method in PersistentFocusWrapper.SavedState
146 public static final Parcelable.Creator<SavedState> CREATOR
147 = new Parcelable.Creator<SavedState>() {
149 public SavedState createFromParcel(Parcel in) {
150 return new SavedState(in);
154 public SavedState[] newArray(int size) {
155 return new SavedState[size];
163 SavedState savedState = new SavedState(super.onSaveInstanceState()); in onSaveInstanceState()
[all …]
/frameworks/base/core/java/android/preference/
DTwoStatePreference.java236 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
243 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
249 SavedState myState = (SavedState) state; in onRestoreInstanceState()
254 static class SavedState extends BaseSavedState { class in TwoStatePreference
257 public SavedState(Parcel source) { in SavedState() method in TwoStatePreference.SavedState
268 public SavedState(Parcelable superState) { in SavedState() method in TwoStatePreference.SavedState
272 public static final Parcelable.Creator<SavedState> CREATOR =
273 new Parcelable.Creator<SavedState>() {
274 public SavedState createFromParcel(Parcel in) {
275 return new SavedState(in);
[all …]
DEditTextPreference.java192 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
199 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
205 SavedState myState = (SavedState) state; in onRestoreInstanceState()
210 private static class SavedState extends BaseSavedState { class in EditTextPreference
213 public SavedState(Parcel source) { in SavedState() method in EditTextPreference.SavedState
224 public SavedState(Parcelable superState) { in SavedState() method in EditTextPreference.SavedState
228 public static final Parcelable.Creator<SavedState> CREATOR =
229 new Parcelable.Creator<SavedState>() {
230 public SavedState createFromParcel(Parcel in) {
231 return new SavedState(in);
[all …]
DVolumePreference.java176 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
185 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
191 SavedState myState = (SavedState) state; in onRestoreInstanceState()
203 private static class SavedState extends BaseSavedState { class in VolumePreference
206 public SavedState(Parcel source) { in SavedState() method in VolumePreference.SavedState
223 public SavedState(Parcelable superState) { in SavedState() method in VolumePreference.SavedState
227 public static final Parcelable.Creator<SavedState> CREATOR =
228 new Parcelable.Creator<SavedState>() {
229 public SavedState createFromParcel(Parcel in) {
230 return new SavedState(in);
[all …]
DPreferenceScreen.java230 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
238 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
244 SavedState myState = (SavedState) state; in onRestoreInstanceState()
251 private static class SavedState extends BaseSavedState { class in PreferenceScreen
255 public SavedState(Parcel source) { in SavedState() method in PreferenceScreen.SavedState
268 public SavedState(Parcelable superState) { in SavedState() method in PreferenceScreen.SavedState
272 public static final Parcelable.Creator<SavedState> CREATOR =
273 new Parcelable.Creator<SavedState>() {
274 public SavedState createFromParcel(Parcel in) {
275 return new SavedState(in);
[all …]
DSeekBarPreference.java192 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
200 if (!state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
207 SavedState myState = (SavedState) state; in onRestoreInstanceState()
220 private static class SavedState extends BaseSavedState { class in SeekBarPreference
224 public SavedState(Parcel source) { in SavedState() method in SeekBarPreference.SavedState
241 public SavedState(Parcelable superState) { in SavedState() method in SeekBarPreference.SavedState
246 public static final Parcelable.Creator<SavedState> CREATOR =
247 new Parcelable.Creator<SavedState>() {
248 public SavedState createFromParcel(Parcel in) {
249 return new SavedState(in);
[all …]
DMultiCheckPreference.java289 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
296 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
302 SavedState myState = (SavedState) state; in onRestoreInstanceState()
307 private static class SavedState extends BaseSavedState { class in MultiCheckPreference
310 public SavedState(Parcel source) { in SavedState() method in MultiCheckPreference.SavedState
321 public SavedState(Parcelable superState) { in SavedState() method in MultiCheckPreference.SavedState
325 public static final Parcelable.Creator<SavedState> CREATOR =
326 new Parcelable.Creator<SavedState>() {
327 public SavedState createFromParcel(Parcel in) {
328 return new SavedState(in);
[all …]
DListPreference.java306 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
313 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
319 SavedState myState = (SavedState) state; in onRestoreInstanceState()
324 private static class SavedState extends BaseSavedState { class in ListPreference
327 public SavedState(Parcel source) { in SavedState() method in ListPreference.SavedState
338 public SavedState(Parcelable superState) { in SavedState() method in ListPreference.SavedState
342 public static final Parcelable.Creator<SavedState> CREATOR =
343 new Parcelable.Creator<SavedState>() {
344 public SavedState createFromParcel(Parcel in) {
345 return new SavedState(in);
[all …]
DDialogPreference.java436 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
444 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
450 SavedState myState = (SavedState) state; in onRestoreInstanceState()
457 private static class SavedState extends BaseSavedState { class in DialogPreference
461 public SavedState(Parcel source) { in SavedState() method in DialogPreference.SavedState
474 public SavedState(Parcelable superState) { in SavedState() method in DialogPreference.SavedState
478 public static final Parcelable.Creator<SavedState> CREATOR =
479 new Parcelable.Creator<SavedState>() {
480 public SavedState createFromParcel(Parcel in) {
481 return new SavedState(in);
[all …]
DMultiSelectListPreference.java246 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
251 private static class SavedState extends BaseSavedState { class in MultiSelectListPreference
254 public SavedState(Parcel source) { in SavedState() method in MultiSelectListPreference.SavedState
265 public SavedState(Parcelable superState) { in SavedState() method in MultiSelectListPreference.SavedState
275 public static final Parcelable.Creator<SavedState> CREATOR =
276 new Parcelable.Creator<SavedState>() {
277 public SavedState createFromParcel(Parcel in) {
278 return new SavedState(in);
281 public SavedState[] newArray(int size) {
282 return new SavedState[size];
/frameworks/support/v14/preference/src/android/support/v14/preference/
DMultiSelectListPreference.java274 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
281 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
287 SavedState myState = (SavedState) state; in onRestoreInstanceState()
292 private static class SavedState extends BaseSavedState { class in MultiSelectListPreference
295 public SavedState(Parcel source) { in SavedState() method in MultiSelectListPreference.SavedState
305 public SavedState(Parcelable superState) { in SavedState() method in MultiSelectListPreference.SavedState
316 public static final Parcelable.Creator<SavedState> CREATOR =
317 new Parcelable.Creator<SavedState>() {
318 public SavedState createFromParcel(Parcel in) {
319 return new SavedState(in);
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DFragmentTabHost.java90 static class SavedState extends BaseSavedState { class in FragmentTabHost
93 SavedState(Parcelable superState) { in SavedState() method in FragmentTabHost.SavedState
97 private SavedState(Parcel in) { in SavedState() method in FragmentTabHost.SavedState
115 public static final Parcelable.Creator<SavedState> CREATOR
116 = new Parcelable.Creator<SavedState>() {
117 public SavedState createFromParcel(Parcel in) {
118 return new SavedState(in);
121 public SavedState[] newArray(int size) {
122 return new SavedState[size];
296 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
/frameworks/support/v13/java/android/support/v13/app/
DFragmentTabHost.java82 static class SavedState extends BaseSavedState { class in FragmentTabHost
85 SavedState(Parcelable superState) { in SavedState() method in FragmentTabHost.SavedState
89 private SavedState(Parcel in) { in SavedState() method in FragmentTabHost.SavedState
107 public static final Parcelable.Creator<SavedState> CREATOR
108 = new Parcelable.Creator<SavedState>() {
109 public SavedState createFromParcel(Parcel in) {
110 return new SavedState(in);
113 public SavedState[] newArray(int size) {
114 return new SavedState[size];
288 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
/frameworks/base/core/java/android/widget/
DTimePicker.java308 protected static class SavedState extends View.BaseSavedState { class in TimePicker.AbstractTimePickerDelegate
314 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode) { in SavedState() method in TimePicker.AbstractTimePickerDelegate.SavedState
318 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode, in SavedState() method in TimePicker.AbstractTimePickerDelegate.SavedState
327 private SavedState(Parcel in) { in SavedState() method in TimePicker.AbstractTimePickerDelegate.SavedState
361 public static final Creator<SavedState> CREATOR = new Creator<SavedState>() {
362 public SavedState createFromParcel(Parcel in) {
363 return new SavedState(in);
366 public SavedState[] newArray(int size) {
367 return new SavedState[size];
DCompoundButton.java487 static class SavedState extends BaseSavedState { class in CompoundButton
493 SavedState(Parcelable superState) { in SavedState() method in CompoundButton.SavedState
500 private SavedState(Parcel in) { in SavedState() method in CompoundButton.SavedState
518 public static final Parcelable.Creator<SavedState> CREATOR
519 = new Parcelable.Creator<SavedState>() {
520 public SavedState createFromParcel(Parcel in) {
521 return new SavedState(in);
524 public SavedState[] newArray(int size) {
525 return new SavedState[size];
534 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
DAbsSpinner.java371 static class SavedState extends BaseSavedState { class in AbsSpinner
378 SavedState(Parcelable superState) { in SavedState() method in AbsSpinner.SavedState
385 SavedState(Parcel in) { in SavedState() method in AbsSpinner.SavedState
406 public static final Parcelable.Creator<SavedState> CREATOR
407 = new Parcelable.Creator<SavedState>() {
408 public SavedState createFromParcel(Parcel in) {
409 return new SavedState(in);
412 public SavedState[] newArray(int size) {
413 return new SavedState[size];
421 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
DCheckedTextView.java455 static class SavedState extends BaseSavedState { class in CheckedTextView
461 SavedState(Parcelable superState) { in SavedState() method in CheckedTextView.SavedState
468 private SavedState(Parcel in) { in SavedState() method in CheckedTextView.SavedState
486 public static final Parcelable.Creator<SavedState> CREATOR
487 = new Parcelable.Creator<SavedState>() {
488 public SavedState createFromParcel(Parcel in) {
489 return new SavedState(in);
492 public SavedState[] newArray(int size) {
493 return new SavedState[size];
502 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
DDatePicker.java530 static class SavedState extends View.BaseSavedState { class in DatePicker.AbstractDatePickerDelegate
540 public SavedState(Parcelable superState, int year, int month, int day, long minDate, in SavedState() method in DatePicker.AbstractDatePickerDelegate.SavedState
548 public SavedState(Parcelable superState, int year, int month, int day, long minDate, in SavedState() method in DatePicker.AbstractDatePickerDelegate.SavedState
564 private SavedState(Parcel in) { in SavedState() method in DatePicker.AbstractDatePickerDelegate.SavedState
623 public static final Parcelable.Creator<SavedState> CREATOR = new Creator<SavedState>() {
625 public SavedState createFromParcel(Parcel in) {
626 return new SavedState(in);
629 public SavedState[] newArray(int size) {
630 return new SavedState[size];
/frameworks/support/design/src/android/support/design/widget/
DNavigationView.java183 SavedState state = new SavedState(superState); in onSaveInstanceState()
191 if (!(savedState instanceof SavedState)) { in onRestoreInstanceState()
195 SavedState state = (SavedState) savedState; in onRestoreInstanceState()
453 public static class SavedState extends AbsSavedState { class in NavigationView
456 public SavedState(Parcel in, ClassLoader loader) { in SavedState() method in NavigationView.SavedState
461 public SavedState(Parcelable superState) { in SavedState() method in NavigationView.SavedState
471 public static final Parcelable.Creator<SavedState> CREATOR
472 = ParcelableCompat.newCreator(new ParcelableCompatCreatorCallbacks<SavedState>() {
474 public SavedState createFromParcel(Parcel parcel, ClassLoader loader) {
475 return new SavedState(parcel, loader);
[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()
448 protected static class SavedState extends BaseSavedState { class in SetupWizardLayout
452 public SavedState(Parcelable parcelable) { in SavedState() method in SetupWizardLayout.SavedState
456 public SavedState(Parcel source) { in SavedState() method in SetupWizardLayout.SavedState
467 public static final Parcelable.Creator<SavedState> CREATOR =
468 new Parcelable.Creator<SavedState>() {
471 public SavedState createFromParcel(Parcel parcel) {
472 return new SavedState(parcel);
[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 …]

12345