Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/
DAccessibilityEnableScriptInjectionPreference.java118 SavedState myState = new SavedState(superState); in onSaveInstanceState()
125 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
129 SavedState myState = (SavedState) state; in onRestoreInstanceState()
145 private static class SavedState extends BaseSavedState { class in AccessibilityEnableScriptInjectionPreference
148 public SavedState(Parcel source) { in SavedState() method in AccessibilityEnableScriptInjectionPreference.SavedState
159 public SavedState(Parcelable superState) { in SavedState() method in AccessibilityEnableScriptInjectionPreference.SavedState
164 public static final Parcelable.Creator<SavedState> CREATOR =
165 new Parcelable.Creator<SavedState>() {
166 public SavedState createFromParcel(Parcel in) {
167 return new SavedState(in);
[all …]
DPointerSpeedPreference.java126 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
137 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
143 SavedState myState = (SavedState) state; in onRestoreInstanceState()
150 private static class SavedState extends BaseSavedState { class in PointerSpeedPreference
154 public SavedState(Parcel source) { in SavedState() method in PointerSpeedPreference.SavedState
167 public SavedState(Parcelable superState) { in SavedState() method in PointerSpeedPreference.SavedState
171 public static final Parcelable.Creator<SavedState> CREATOR =
172 new Parcelable.Creator<SavedState>() {
174 public SavedState createFromParcel(Parcel in) {
175 return new SavedState(in);
[all …]
DBrightnessPreference.java265 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
279 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
285 SavedState myState = (SavedState) state; in onRestoreInstanceState()
294 private static class SavedState extends BaseSavedState { class in BrightnessPreference
302 public SavedState(Parcel source) { in SavedState() method in BrightnessPreference.SavedState
321 public SavedState(Parcelable superState) { in SavedState() method in BrightnessPreference.SavedState
325 public static final Parcelable.Creator<SavedState> CREATOR =
326 new Parcelable.Creator<SavedState>() {
328 public SavedState createFromParcel(Parcel in) {
329 return new SavedState(in);
[all …]
DRingerVolumePreference.java286 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
299 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
305 SavedState myState = (SavedState) state; in onRestoreInstanceState()
316 private static class SavedState extends BaseSavedState { class in RingerVolumePreference
319 public SavedState(Parcel source) { in SavedState() method in RingerVolumePreference.SavedState
348 public SavedState(Parcelable superState) { in SavedState() method in RingerVolumePreference.SavedState
352 public static final Parcelable.Creator<SavedState> CREATOR =
353 new Parcelable.Creator<SavedState>() {
354 public SavedState createFromParcel(Parcel in) {
355 return new SavedState(in);
[all …]
/packages/apps/Email/src/com/android/email/view/
DCertificateSelector.java122 SavedState savedState = (SavedState) parcel; in onRestoreInstanceState()
129 return new SavedState(super.onSaveInstanceState(), getCertificate()); in onSaveInstanceState()
132 public static class SavedState extends BaseSavedState { class in CertificateSelector
135 SavedState(Parcelable superState, String value) { in SavedState() method in CertificateSelector.SavedState
147 public static final Parcelable.Creator<SavedState> CREATOR
148 = new Parcelable.Creator<SavedState>() {
149 public SavedState createFromParcel(Parcel in) {
150 return new SavedState(in);
153 public SavedState[] newArray(int size) {
154 return new SavedState[size];
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DStructuredNameEditorView.java203 SavedState state = new SavedState(super.onSaveInstanceState()); in onSaveInstanceState()
211 SavedState ss = (SavedState) state; in onRestoreInstanceState()
218 private static class SavedState implements Parcelable { class in StructuredNameEditorView
223 SavedState(Parcelable superState) { in SavedState() method in StructuredNameEditorView.SavedState
227 private SavedState(Parcel in) { in SavedState() method in StructuredNameEditorView.SavedState
244 public static final Parcelable.Creator<SavedState> CREATOR
245 = new Parcelable.Creator<SavedState>() {
247 public SavedState createFromParcel(Parcel in) {
248 return new SavedState(in);
252 public SavedState[] newArray(int size) {
[all …]
DTextFieldsEditorView.java312 SavedState ss = new SavedState(superState); in onSaveInstanceState()
330 SavedState ss = (SavedState) state; in onRestoreInstanceState()
341 private static class SavedState extends BaseSavedState { class in TextFieldsEditorView
345 SavedState(Parcelable superState) { in SavedState() method in TextFieldsEditorView.SavedState
349 private SavedState(Parcel in) { in SavedState() method in TextFieldsEditorView.SavedState
363 public static final Parcelable.Creator<SavedState> CREATOR
364 = new Parcelable.Creator<SavedState>() {
366 public SavedState createFromParcel(Parcel in) {
367 return new SavedState(in);
371 public SavedState[] newArray(int size) {
[all …]
/packages/apps/Email/src/com/android/email/activity/
DThreePaneLayout.java158 SavedState ss = new SavedState(super.onSaveInstanceState()); in onSaveInstanceState()
166 SavedState ss = (SavedState) state; in onRestoreInstanceState()
571 private static class SavedState extends BaseSavedState { class in ThreePaneLayout
577 SavedState(Parcelable superState) { in SavedState() method in ThreePaneLayout.SavedState
584 private SavedState(Parcel in) { in SavedState() method in ThreePaneLayout.SavedState
595 public static final Parcelable.Creator<SavedState> CREATOR
596 = new Parcelable.Creator<SavedState>() {
597 public SavedState createFromParcel(Parcel in) {
598 return new SavedState(in);
601 public SavedState[] newArray(int size) {
[all …]
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePicker.java295 private static class SavedState extends BaseSavedState { class in DatePicker
306 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState() method in DatePicker.SavedState
319 private SavedState(Parcel in) { in SavedState() method in DatePicker.SavedState
359 public static final Parcelable.Creator<SavedState> CREATOR =
360 new Creator<SavedState>() {
363 public SavedState createFromParcel(Parcel in) {
364 return new SavedState(in);
368 public SavedState[] newArray(int size) {
369 return new SavedState[size];
387 return new SavedState(superState, mYear, mMonth, mDay, mHasYear, mYearOptional); in onSaveInstanceState()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAdditionalSubtypeSettings.java308 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
317 if (!(state instanceof SavedState)) { in onRestoreInstanceState()
322 final SavedState myState = (SavedState) state; in onRestoreInstanceState()
329 static class SavedState extends Preference.BaseSavedState { class in AdditionalSubtypeSettings.SubtypePreference
334 public SavedState(Parcelable superState) { in SavedState() method in AdditionalSubtypeSettings.SubtypePreference.SavedState
346 public SavedState(Parcel source) { in SavedState() method in AdditionalSubtypeSettings.SubtypePreference.SavedState
354 public static final Parcelable.Creator<SavedState> CREATOR =
355 new Parcelable.Creator<SavedState>() {
357 public SavedState createFromParcel(Parcel source) {
358 return new SavedState(source);
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DProgressBar.java1040 static class SavedState extends BaseSavedState { class in ProgressBar
1047 SavedState(Parcelable superState) { in SavedState() method in ProgressBar.SavedState
1054 private SavedState(Parcel in) { in SavedState() method in ProgressBar.SavedState
1067 public static final Parcelable.Creator<SavedState> CREATOR
1068 = new Parcelable.Creator<SavedState>() {
1069 public SavedState createFromParcel(Parcel in) {
1070 return new SavedState(in);
1073 public SavedState[] newArray(int size) {
1074 return new SavedState[size];
1083 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java1580 public static class SavedState extends BaseSavedState { class in PagedView
1583 SavedState(Parcelable superState) { in SavedState() method in PagedView.SavedState
1587 private SavedState(Parcel in) { in SavedState() method in PagedView.SavedState
1598 public static final Parcelable.Creator<SavedState> CREATOR =
1599 new Parcelable.Creator<SavedState>() {
1600 public SavedState createFromParcel(Parcel in) {
1601 return new SavedState(in);
1604 public SavedState[] newArray(int size) {
1605 return new SavedState[size];