/frameworks/base/core/java/com/android/internal/preference/ |
YesNoPreference.java | 103 final SavedState myState = new SavedState(superState); 110 if (!state.getClass().equals(SavedState.class)) { 116 SavedState myState = (SavedState) state; 121 private static class SavedState extends BaseSavedState { 124 public SavedState(Parcel source) { 135 public SavedState(Parcelable superState) { 139 public static final Parcelable.Creator<SavedState> CREATOR = 140 new Parcelable.Creator<SavedState>() { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
MyPreference.java | 111 final SavedState myState = new SavedState(superState); 118 if (!state.getClass().equals(SavedState.class)) { 125 SavedState myState = (SavedState) state; 132 * SavedState, a subclass of {@link BaseSavedState}, will store the state 137 private static class SavedState extends BaseSavedState { 140 public SavedState(Parcel source) { 155 public SavedState(Parcelable superState) { 159 public static final Parcelable.Creator<SavedState> CREATOR [all...] |
/frameworks/base/core/java/android/preference/ |
EditTextPreference.java | 186 final SavedState myState = new SavedState(superState); 193 if (state == null || !state.getClass().equals(SavedState.class)) { 199 SavedState myState = (SavedState) state; 204 private static class SavedState extends BaseSavedState { 207 public SavedState(Parcel source) { 218 public SavedState(Parcelable superState) { 222 public static final Parcelable.Creator<SavedState> CREATOR = 223 new Parcelable.Creator<SavedState>() { [all...] |
ListPreference.java | 289 final SavedState myState = new SavedState(superState); 296 if (state == null || !state.getClass().equals(SavedState.class)) { 302 SavedState myState = (SavedState) state; 307 private static class SavedState extends BaseSavedState { 310 public SavedState(Parcel source) { 321 public SavedState(Parcelable superState) { 325 public static final Parcelable.Creator<SavedState> CREATOR = 326 new Parcelable.Creator<SavedState>() { [all...] |
MultiSelectListPreference.java | 234 final SavedState myState = new SavedState(superState); 239 private static class SavedState extends BaseSavedState { 242 public SavedState(Parcel source) { 253 public SavedState(Parcelable superState) { 263 public static final Parcelable.Creator<SavedState> CREATOR = 264 new Parcelable.Creator<SavedState>() { 265 public SavedState createFromParcel(Parcel in) { 266 return new SavedState(in); 269 public SavedState[] newArray(int size) [all...] |
PreferenceScreen.java | 218 final SavedState myState = new SavedState(superState); 226 if (state == null || !state.getClass().equals(SavedState.class)) { 232 SavedState myState = (SavedState) state; 239 private static class SavedState extends BaseSavedState { 243 public SavedState(Parcel source) { 256 public SavedState(Parcelable superState) { 260 public static final Parcelable.Creator<SavedState> CREATOR = 261 new Parcelable.Creator<SavedState>() { [all...] |
SeekBarPreference.java | 182 final SavedState myState = new SavedState(superState); 190 if (!state.getClass().equals(SavedState.class)) { 197 SavedState myState = (SavedState) state; 205 * SavedState, a subclass of {@link BaseSavedState}, will store the state 210 private static class SavedState extends BaseSavedState { 214 public SavedState(Parcel source) { 231 public SavedState(Parcelable superState) { 236 public static final Parcelable.Creator<SavedState> CREATOR [all...] |
TwoStatePreference.java | 247 final SavedState myState = new SavedState(superState); 254 if (state == null || !state.getClass().equals(SavedState.class)) { 260 SavedState myState = (SavedState) state; 265 static class SavedState extends BaseSavedState { 268 public SavedState(Parcel source) { 279 public SavedState(Parcelable superState) { 283 public static final Parcelable.Creator<SavedState> CREATOR = 284 new Parcelable.Creator<SavedState>() { [all...] |
DialogPreference.java | 422 final SavedState myState = new SavedState(superState); 430 if (state == null || !state.getClass().equals(SavedState.class)) { 436 SavedState myState = (SavedState) state; 443 private static class SavedState extends BaseSavedState { 447 public SavedState(Parcel source) { 460 public SavedState(Parcelable superState) { 464 public static final Parcelable.Creator<SavedState> CREATOR = 465 new Parcelable.Creator<SavedState>() { [all...] |
VolumePreference.java | 157 final SavedState myState = new SavedState(superState); 166 if (state == null || !state.getClass().equals(SavedState.class)) { 172 SavedState myState = (SavedState) state; 184 private static class SavedState extends BaseSavedState { 187 public SavedState(Parcel source) { 204 public SavedState(Parcelable superState) { 208 public static final Parcelable.Creator<SavedState> CREATOR = 209 new Parcelable.Creator<SavedState>() { [all...] |
/packages/apps/Email/src/com/android/email/view/ |
CertificateSelector.java | 122 SavedState savedState = (SavedState) parcel; 123 super.onRestoreInstanceState(savedState.getSuperState()); 124 setCertificate(savedState.mValue); 129 return new SavedState(super.onSaveInstanceState(), getCertificate()); 132 public static class SavedState extends BaseSavedState { 135 SavedState(Parcelable superState, String value) { 147 public static final Parcelable.Creator<SavedState> CREATOR 148 = new Parcelable.Creator<SavedState>() { [all...] |
/packages/apps/Settings/src/com/android/settings/ |
AccessibilityEnableScriptInjectionPreference.java | 118 SavedState myState = new SavedState(superState); 125 if (state == null || !state.getClass().equals(SavedState.class)) { 129 SavedState myState = (SavedState) state; 145 private static class SavedState extends BaseSavedState { 148 public SavedState(Parcel source) { 159 public SavedState(Parcelable superState) { 164 public static final Parcelable.Creator<SavedState> CREATOR = 165 new Parcelable.Creator<SavedState>() { [all...] |
BrightnessPreference.java | 224 final SavedState myState = new SavedState(superState); 237 if (state == null || !state.getClass().equals(SavedState.class)) { 243 SavedState myState = (SavedState) state; 251 private static class SavedState extends BaseSavedState { 258 public SavedState(Parcel source) { 275 public SavedState(Parcelable superState) { 279 public static final Parcelable.Creator<SavedState> CREATOR = 280 new Parcelable.Creator<SavedState>() { [all...] |
PointerSpeedPreference.java | 151 final SavedState myState = new SavedState(superState); 162 if (state == null || !state.getClass().equals(SavedState.class)) { 168 SavedState myState = (SavedState) state; 175 private static class SavedState extends BaseSavedState { 179 public SavedState(Parcel source) { 192 public SavedState(Parcelable superState) { 196 public static final Parcelable.Creator<SavedState> CREATOR = 197 new Parcelable.Creator<SavedState>() { [all...] |
RingerVolumePreference.java | 285 final SavedState myState = new SavedState(superState); 298 if (state == null || !state.getClass().equals(SavedState.class)) { 304 SavedState myState = (SavedState) state; 315 private static class SavedState extends BaseSavedState { 318 public SavedState(Parcel source) { 347 public SavedState(Parcelable superState) { 351 public static final Parcelable.Creator<SavedState> CREATOR = 352 new Parcelable.Creator<SavedState>() { [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
StructuredNameEditorView.java | 198 SavedState state = new SavedState(super.onSaveInstanceState()); 206 SavedState ss = (SavedState) state; 213 private static class SavedState implements Parcelable { 218 SavedState(Parcelable superState) { 222 private SavedState(Parcel in) { 239 public static final Parcelable.Creator<SavedState> CREATOR 240 = new Parcelable.Creator<SavedState>() { 242 public SavedState createFromParcel(Parcel in) [all...] |
TextFieldsEditorView.java | 300 SavedState ss = new SavedState(superState); 318 SavedState ss = (SavedState) state; 329 private static class SavedState extends BaseSavedState { 333 SavedState(Parcelable superState) { 337 private SavedState(Parcel in) { 351 public static final Parcelable.Creator<SavedState> CREATOR 352 = new Parcelable.Creator<SavedState>() { 354 public SavedState createFromParcel(Parcel in) [all...] |
/frameworks/base/core/java/android/widget/ |
CompoundButton.java | 283 static class SavedState extends BaseSavedState { 289 SavedState(Parcelable superState) { 296 private SavedState(Parcel in) { 309 return "CompoundButton.SavedState{" 314 public static final Parcelable.Creator<SavedState> CREATOR 315 = new Parcelable.Creator<SavedState>() { 316 public SavedState createFromParcel(Parcel in) { 317 return new SavedState(in); 320 public SavedState[] newArray(int size) { 321 return new SavedState[size] [all...] |
AbsSpinner.java | 359 static class SavedState extends BaseSavedState { 366 SavedState(Parcelable superState) { 373 private SavedState(Parcel in) { 388 return "AbsSpinner.SavedState{" 394 public static final Parcelable.Creator<SavedState> CREATOR 395 = new Parcelable.Creator<SavedState>() { 396 public SavedState createFromParcel(Parcel in) { 397 return new SavedState(in); 400 public SavedState[] newArray(int size) { 401 return new SavedState[size] [all...] |
TimePicker.java | 299 private static class SavedState extends BaseSavedState { 305 private SavedState(Parcelable superState, int hour, int minute) { 311 private SavedState(Parcel in) { 333 public static final Parcelable.Creator<SavedState> CREATOR = new Creator<SavedState>() { 334 public SavedState createFromParcel(Parcel in) { 335 return new SavedState(in); 338 public SavedState[] newArray(int size) { 339 return new SavedState[size]; 347 return new SavedState(superState, getCurrentHour(), getCurrentMinute()) [all...] |
DatePicker.java | 543 return new SavedState(superState, getYear(), getMonth(), getDayOfMonth()); 548 SavedState ss = (SavedState) state; 747 private static class SavedState extends BaseSavedState { 758 private SavedState(Parcelable superState, int year, int month, int day) { 768 private SavedState(Parcel in) { 785 public static final Parcelable.Creator<SavedState> CREATOR = new Creator<SavedState>() { 787 public SavedState createFromParcel(Parcel in) { 788 return new SavedState(in) [all...] |
ExpandableListView.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 289 private static class SavedState extends BaseSavedState { 300 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, 313 private SavedState(Parcel in) { 353 public static final Parcelable.Creator<SavedState> CREATOR = 354 new Creator<SavedState>() { 356 public SavedState createFromParcel(Parcel in) { 357 return new SavedState(in); 360 public SavedState[] newArray(int size) { 361 return new SavedState[size]; 379 return new SavedState(superState, mYear, mMonth, mDay, mHasYear, mYearOptional) [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
ThreePaneLayout.java | 242 SavedState ss = new SavedState(super.onSaveInstanceState()); 250 SavedState ss = (SavedState) state; 594 private static class SavedState extends BaseSavedState { 600 SavedState(Parcelable superState) { 607 private SavedState(Parcel in) { 618 public static final Parcelable.Creator<SavedState> CREATOR 619 = new Parcelable.Creator<SavedState>() { 620 public SavedState createFromParcel(Parcel in) [all...] |
/frameworks/base/core/java/android/app/ |
Fragment.java | 474 public static class SavedState implements Parcelable { 477 SavedState(Bundle state) { 481 SavedState(Parcel in, ClassLoader loader) { 498 public static final Parcelable.ClassLoaderCreator<SavedState> CREATOR 499 = new Parcelable.ClassLoaderCreator<SavedState>() { 500 public SavedState createFromParcel(Parcel in) { 501 return new SavedState(in, null); 504 public SavedState createFromParcel(Parcel in, ClassLoader loader) { 505 return new SavedState(in, loader); 508 public SavedState[] newArray(int size) [all...] |