Home
last modified time | relevance | path

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

123

/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.java203 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
210 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
216 SavedState myState = (SavedState) state; in onRestoreInstanceState()
221 private static class SavedState extends BaseSavedState { class in EditTextPreference
224 public SavedState(Parcel source) { in SavedState() method in EditTextPreference.SavedState
235 public SavedState(Parcelable superState) { in SavedState() method in EditTextPreference.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 …]
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.java191 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
200 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
206 SavedState myState = (SavedState) state; in onRestoreInstanceState()
220 private static class SavedState extends BaseSavedState { class in VolumePreference
223 public SavedState(Parcel source) { in SavedState() method in VolumePreference.SavedState
240 public SavedState(Parcelable superState) { in SavedState() method in VolumePreference.SavedState
244 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
245 new Parcelable.Creator<SavedState>() {
246 public SavedState createFromParcel(Parcel in) {
247 return new SavedState(in);
[all …]
DSeekBarPreference.java199 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
207 if (!state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
214 SavedState myState = (SavedState) state; in onRestoreInstanceState()
227 private static class SavedState extends BaseSavedState { class in SeekBarPreference
231 public SavedState(Parcel source) { in SavedState() method in SeekBarPreference.SavedState
248 public SavedState(Parcelable superState) { in SavedState() method in SeekBarPreference.SavedState
253 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
254 new Parcelable.Creator<SavedState>() {
255 public SavedState createFromParcel(Parcel in) {
256 return new SavedState(in);
[all …]
DPreferenceScreen.java277 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
285 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
291 SavedState myState = (SavedState) state; in onRestoreInstanceState()
298 private static class SavedState extends BaseSavedState { class in PreferenceScreen
302 public SavedState(Parcel source) { in SavedState() method in PreferenceScreen.SavedState
315 public SavedState(Parcelable superState) { in SavedState() method in PreferenceScreen.SavedState
319 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
320 new Parcelable.Creator<SavedState>() {
321 public SavedState createFromParcel(Parcel in) {
322 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 …]
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.java474 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
482 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
488 SavedState myState = (SavedState) state; in onRestoreInstanceState()
495 private static class SavedState extends BaseSavedState { class in DialogPreference
499 public SavedState(Parcel source) { in SavedState() method in DialogPreference.SavedState
512 public SavedState(Parcelable superState) { in SavedState() method in DialogPreference.SavedState
516 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
517 new Parcelable.Creator<SavedState>() {
518 public SavedState createFromParcel(Parcel in) {
519 return new SavedState(in);
[all …]
/frameworks/base/packages/SettingsLib/MainSwitchPreference/src/com/android/settingslib/widget/
DMainSwitchBar.java240 static class SavedState extends BaseSavedState { class in MainSwitchBar
244 SavedState(Parcelable superState) { in SavedState() method in MainSwitchBar.SavedState
251 private SavedState(Parcel in) { in SavedState() method in MainSwitchBar.SavedState
272 public static final Parcelable.Creator<SavedState> CREATOR =
273 new Parcelable.Creator<SavedState>() {
275 public SavedState createFromParcel(Parcel in) {
276 return new SavedState(in);
280 public SavedState[] newArray(int size) {
281 return new SavedState[size];
290 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[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.java384 static class SavedState extends BaseSavedState { class in AbsSpinner
391 SavedState(Parcelable superState) { in SavedState() method in AbsSpinner.SavedState
398 SavedState(Parcel in) { in SavedState() method in AbsSpinner.SavedState
419 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR
420 = new Parcelable.Creator<SavedState>() {
421 public SavedState createFromParcel(Parcel in) {
422 return new SavedState(in);
425 public SavedState[] newArray(int size) {
426 return new SavedState[size];
434 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.java615 static class SavedState extends BaseSavedState { class in CompoundButton
621 SavedState(Parcelable superState) { in SavedState() method in CompoundButton.SavedState
628 private SavedState(Parcel in) { in SavedState() method in CompoundButton.SavedState
647 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
648 new Parcelable.Creator<SavedState>() {
650 public SavedState createFromParcel(Parcel in) {
651 return new SavedState(in);
655 public SavedState[] newArray(int size) {
656 return new SavedState[size];
665 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.java782 static class SavedState extends BaseSavedState { class in AdapterViewAnimator
788 SavedState(Parcelable superState, int whichChild) { in SavedState() method in AdapterViewAnimator.SavedState
796 private SavedState(Parcel in) { in SavedState() method in AdapterViewAnimator.SavedState
812 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR
813 = new Parcelable.Creator<SavedState>() {
814 public SavedState createFromParcel(Parcel in) {
815 return new SavedState(in);
818 public SavedState[] newArray(int size) {
819 return new SavedState[size];
830 return new SavedState(superState, mWhichChild); in onSaveInstanceState()
[all …]
DExpandableListView.java1320 static class SavedState extends BaseSavedState { class in ExpandableListView
1326 SavedState( in SavedState() method in ExpandableListView.SavedState
1336 private SavedState(Parcel in) { in SavedState() method in ExpandableListView.SavedState
1348 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR
1349 = new Parcelable.Creator<SavedState>() {
1350 public SavedState createFromParcel(Parcel in) {
1351 return new SavedState(in);
1354 public SavedState[] newArray(int size) {
1355 return new SavedState[size];
1363 return new SavedState(superState, in onSaveInstanceState()
[all …]
DSpinner.java910 final SavedState ss = new SavedState(super.onSaveInstanceState()); in onSaveInstanceState()
917 SavedState ss = (SavedState) state; in onRestoreInstanceState()
954 static class SavedState extends AbsSpinner.SavedState { class in Spinner
957 SavedState(Parcelable superState) { in SavedState() method in Spinner.SavedState
961 private SavedState(Parcel in) { in SavedState() method in Spinner.SavedState
972 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR =
973 new Parcelable.Creator<SavedState>() {
974 public SavedState createFromParcel(Parcel in) {
975 return new SavedState(in);
978 public SavedState[] newArray(int size) {
[all …]
DActionMenuPresenter.java775 SavedState state = new SavedState(); in onSaveInstanceState()
783 SavedState saved = (SavedState) state; in onRestoreInstanceState()
814 private static class SavedState implements Parcelable { class in ActionMenuPresenter
817 SavedState() { in SavedState() method in ActionMenuPresenter.SavedState
820 SavedState(Parcel in) { in SavedState() method in ActionMenuPresenter.SavedState
834 public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR
835 = new Parcelable.Creator<SavedState>() {
836 public SavedState createFromParcel(Parcel in) {
837 return new SavedState(in);
840 public SavedState[] newArray(int size) {
[all …]
/frameworks/base/tests/graphics/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/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java124 SavedState ss = new SavedState(superState); in onSaveInstanceState()
134 SavedState ss = (SavedState) state; in onRestoreInstanceState()
663 static class SavedState extends BaseSavedState { class in CropView
669 SavedState(Parcelable superState) { in SavedState() method in CropView.SavedState
676 private SavedState(Parcel in) { in SavedState() method in CropView.SavedState
687 public static final Parcelable.Creator<SavedState> CREATOR = new Parcelable.Creator<>() {
688 public SavedState createFromParcel(Parcel in) {
689 return new SavedState(in);
692 public SavedState[] newArray(int size) {
693 return new SavedState[size];
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java1154 final SavedState ss = new SavedState(super.onSaveInstanceState());
1162 final SavedState ss = (SavedState) state;
1226 static class SavedState extends BaseSavedState {
1230 SavedState(Parcelable superState) {
1234 private SavedState(Parcel in) {
1247 public static final Parcelable.Creator<SavedState> CREATOR =
1248 new Parcelable.Creator<SavedState>() {
1250 public SavedState createFromParcel(Parcel in) {
1251 return new SavedState(in);
1255 public SavedState[] newArray(int size) {
[all …]

123