/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
CollapsibleCheckboxPreferenceGroup.java | 159 final SavedState myState = new SavedState(superState); 168 if (state == null || !SavedState.class.equals(state.getClass())) { 173 SavedState myState = (SavedState) state; 196 private static class SavedState extends BaseSavedState { 200 public SavedState(Parcel source) { 206 public SavedState(Parcelable superState) { 217 public static final Parcelable.Creator<SavedState> CREATOR = 218 new Parcelable.Creator<SavedState>() { [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
BottomNavigationView.java | 421 SavedState savedState = new SavedState(superState); 422 savedState.menuPresenterState = new Bundle(); 423 mMenu.savePresenterStates(savedState.menuPresenterState); 424 return savedState; 429 if (!(state instanceof SavedState)) { 433 SavedState savedState = (SavedState) state [all...] |
NavigationView.java | 185 SavedState state = new SavedState(superState); 192 protected void onRestoreInstanceState(Parcelable savedState) { 193 if (!(savedState instanceof SavedState)) { 194 super.onRestoreInstanceState(savedState); 197 SavedState state = (SavedState) savedState; 458 public static class SavedState extends AbsSavedState [all...] |
BottomSheetBehavior.java | 200 return new SavedState(super.onSaveInstanceState(parent, child), mState); 205 SavedState ss = (SavedState) state; 763 protected static class SavedState extends AbsSavedState { 767 public SavedState(Parcel source) { 771 public SavedState(Parcel source, ClassLoader loader) { 777 public SavedState(Parcelable superState, @State int state) { 788 public static final Creator<SavedState> CREATOR = new ClassLoaderCreator<SavedState>() { 790 public SavedState createFromParcel(Parcel in, ClassLoader loader) [all...] |
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
CheckableLabeledButton.java | 196 SavedState savedState = (SavedState) state; 197 super.onRestoreInstanceState(savedState.getSuperState()); 198 performSetChecked(savedState.isChecked); 204 return new SavedState(isChecked(), super.onSaveInstanceState()); 249 private static class SavedState extends BaseSavedState { 251 public static final Creator<SavedState> CREATOR = 252 new Creator<SavedState>() { 254 public SavedState createFromParcel(Parcel in) [all...] |
/frameworks/base/core/java/android/preference/ |
MultiSelectListPreference.java | 246 final SavedState myState = new SavedState(superState); 251 private static class SavedState extends BaseSavedState { 254 public SavedState(Parcel source) { 265 public SavedState(Parcelable superState) { 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) [all...] |
DialogPreference.java | 436 final SavedState myState = new SavedState(superState); 444 if (state == null || !state.getClass().equals(SavedState.class)) { 450 SavedState myState = (SavedState) state; 457 private static class SavedState extends BaseSavedState { 461 public SavedState(Parcel source) { 474 public SavedState(Parcelable superState) { 478 public static final Parcelable.Creator<SavedState> CREATOR = 479 new Parcelable.Creator<SavedState>() { [all...] |
/frameworks/support/fragment/java/android/support/v4/app/ |
FragmentTabHost.java | 93 static class SavedState extends BaseSavedState { 96 SavedState(Parcelable superState) { 100 SavedState(Parcel in) { 113 return "FragmentTabHost.SavedState{" 118 public static final Parcelable.Creator<SavedState> CREATOR 119 = new Parcelable.Creator<SavedState>() { 121 public SavedState createFromParcel(Parcel in) { 122 return new SavedState(in); 126 public SavedState[] newArray(int size) { 127 return new SavedState[size] [all...] |
FragmentStatePagerAdapter.java | 71 private ArrayList<Fragment.SavedState> mSavedState = new ArrayList<Fragment.SavedState>(); 112 Fragment.SavedState fss = mSavedState.get(position); 182 Fragment.SavedState[] fss = new Fragment.SavedState[mSavedState.size()]; 209 mSavedState.add((Fragment.SavedState)fss[i]);
|
/frameworks/support/v13/java/android/support/v13/app/ |
FragmentTabHost.java | 81 static class SavedState extends BaseSavedState { 84 SavedState(Parcelable superState) { 88 SavedState(Parcel in) { 101 return "FragmentTabHost.SavedState{" 106 public static final Parcelable.Creator<SavedState> CREATOR 107 = new Parcelable.Creator<SavedState>() { 109 public SavedState createFromParcel(Parcel in) { 110 return new SavedState(in); 114 public SavedState[] newArray(int size) { 115 return new SavedState[size] [all...] |
FragmentStatePagerAdapter.java | 75 private ArrayList<Fragment.SavedState> mSavedState = new ArrayList<Fragment.SavedState>(); 116 Fragment.SavedState fss = mSavedState.get(position); 187 Fragment.SavedState[] fss = new Fragment.SavedState[mSavedState.size()]; 214 mSavedState.add((Fragment.SavedState)fss[i]);
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
GalleryGridView.java | 239 final SavedState savedState = new SavedState(superState); 240 savedState.isMultiSelectMode = mIsMultiSelectMode; 241 savedState.selectedImages = mSelectedImages.values() 243 return savedState; 248 if (!(state instanceof SavedState)) { 253 final SavedState savedState = (SavedState) state [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
CustomInputStylePreference.java | 207 final SavedState myState = new SavedState(superState); 214 if (!(state instanceof SavedState)) { 219 final SavedState myState = (SavedState) state; 224 static final class SavedState extends Preference.BaseSavedState { 227 public SavedState(final Parcelable superState) { 237 public SavedState(final Parcel source) { 243 public static final Parcelable.Creator<SavedState> CREATOR = 244 new Parcelable.Creator<SavedState>() { [all...] |
/frameworks/base/core/java/android/widget/ |
CheckedTextView.java | 455 static class SavedState extends BaseSavedState { 461 SavedState(Parcelable superState) { 468 private SavedState(Parcel in) { 481 return "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] [all...] |
TimePicker.java | 457 protected static class SavedState extends View.BaseSavedState { 463 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode) { 467 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode, 476 private SavedState(Parcel in) { 510 public static final Creator<SavedState> CREATOR = new Creator<SavedState>() { 511 public SavedState createFromParcel(Parcel in) { 512 return new SavedState(in); 515 public SavedState[] newArray(int size) { 516 return new SavedState[size] [all...] |
AbsSpinner.java | 381 static class SavedState extends BaseSavedState { 388 SavedState(Parcelable superState) { 395 SavedState(Parcel in) { 410 return "AbsSpinner.SavedState{" 416 public static final Parcelable.Creator<SavedState> CREATOR 417 = new Parcelable.Creator<SavedState>() { 418 public SavedState createFromParcel(Parcel in) { 419 return new SavedState(in); 422 public SavedState[] newArray(int size) { 423 return new SavedState[size] [all...] |
CompoundButton.java | 505 static class SavedState extends BaseSavedState { 511 SavedState(Parcelable superState) { 518 private SavedState(Parcel in) { 531 return "CompoundButton.SavedState{" 537 public static final Parcelable.Creator<SavedState> CREATOR = 538 new Parcelable.Creator<SavedState>() { 540 public SavedState createFromParcel(Parcel in) { 541 return new SavedState(in); 545 public SavedState[] newArray(int size) { 546 return new SavedState[size] [all...] |
DatePicker.java | 651 static class SavedState extends View.BaseSavedState { 661 public SavedState(Parcelable superState, int year, int month, int day, long minDate, 669 public SavedState(Parcelable superState, int year, int month, int day, long minDate, 685 private SavedState(Parcel in) { 744 public static final Parcelable.Creator<SavedState> CREATOR = new Creator<SavedState>() { 746 public SavedState createFromParcel(Parcel in) { 747 return new SavedState(in); 750 public SavedState[] newArray(int size) { 751 return new SavedState[size] [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
SwitchBar.java | 274 static class SavedState extends BaseSavedState { 278 SavedState(Parcelable superState) { 285 private SavedState(Parcel in) { 300 return "SwitchBar.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); 312 public SavedState[] newArray(int size) { 313 return new SavedState[size] [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 244 private static class SavedState extends BaseSavedState { 255 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, 268 private SavedState(Parcel in) { 308 public static final Parcelable.Creator<SavedState> CREATOR = 309 new Creator<SavedState>() { 312 public SavedState createFromParcel(Parcel in) { 313 return new SavedState(in); 317 public SavedState[] newArray(int size) { 318 return new SavedState[size]; 336 return new SavedState(superState, mYear, mMonth, mDay, mHasYear, mYearOptional) [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
SetupWizardLayout.java | 151 final SavedState ss = new SavedState(parcelable); 158 if (!(state instanceof SavedState)) { 164 final SavedState ss = (SavedState) state; 400 protected static class SavedState extends BaseSavedState { 404 public SavedState(Parcelable parcelable) { 408 public SavedState(Parcel source) { 419 public static final Parcelable.Creator<SavedState> CREATOR = 420 new Parcelable.Creator<SavedState>() { [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuView.java | 684 return new SavedState(superState, i); 688 return new SavedState(superState, -1); 693 SavedState ss = (SavedState) state; 706 private static class SavedState extends BaseSavedState { 712 public SavedState(Parcelable superState, int focusedPosition) { 720 private SavedState(Parcel in) { 731 public static final Parcelable.Creator<SavedState> CREATOR = new Parcelable.Creator<SavedState>() { 732 public SavedState createFromParcel(Parcel in) [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
TextFieldsEditorView.java | 382 SavedState ss = new SavedState(superState); 400 SavedState ss = (SavedState) state; 413 private static class SavedState extends BaseSavedState { 417 SavedState(Parcelable superState) { 421 private SavedState(Parcel in) { 435 public static final Parcelable.Creator<SavedState> CREATOR 436 = new Parcelable.Creator<SavedState>() { 438 public SavedState createFromParcel(Parcel in) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DatePicker.java | 286 private static class SavedState extends BaseSavedState { 297 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, 310 private SavedState(Parcel in) { 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) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
FragmentStatePagerAdapter2.java | 52 private ArrayList<Fragment.SavedState> mSavedState = new ArrayList<Fragment.SavedState>(); 94 Fragment.SavedState fss = mSavedState.get(position); 161 Fragment.SavedState[] fss = new Fragment.SavedState[mSavedState.size()]; 188 mSavedState.add((Fragment.SavedState)fss[i]);
|