/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/com/android/internal/preference/ |
YesNoPreference.java | 107 final SavedState myState = new SavedState(superState); 114 if (!state.getClass().equals(SavedState.class)) { 120 SavedState myState = (SavedState) state; 125 private static class SavedState extends BaseSavedState { 128 public SavedState(Parcel source) { 139 public SavedState(Parcelable superState) { 143 public static final Parcelable.Creator<SavedState> CREATOR = 144 new Parcelable.Creator<SavedState>() { [all...] |
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
EditTextPreference.java | 108 final SavedState myState = new SavedState(superState); 115 if (state == null || !state.getClass().equals(SavedState.class)) { 121 SavedState myState = (SavedState) state; 126 private static class SavedState extends BaseSavedState { 129 public SavedState(Parcel source) { 140 public SavedState(Parcelable superState) { 144 public static final Parcelable.Creator<SavedState> CREATOR = 145 new Parcelable.Creator<SavedState>() { [all...] |
TwoStatePreference.java | 245 final SavedState myState = new SavedState(superState); 252 if (state == null || !state.getClass().equals(SavedState.class)) { 258 SavedState myState = (SavedState) state; 263 static class SavedState extends BaseSavedState { 266 public SavedState(Parcel source) { 277 public SavedState(Parcelable superState) { 281 public static final Parcelable.Creator<SavedState> CREATOR = 282 new Parcelable.Creator<SavedState>() { [all...] |
ListPreference.java | 270 final SavedState myState = new SavedState(superState); 277 if (state == null || !state.getClass().equals(SavedState.class)) { 283 SavedState myState = (SavedState) state; 288 private static class SavedState extends BaseSavedState { 291 public SavedState(Parcel source) { 302 public SavedState(Parcelable superState) { 306 public static final Parcelable.Creator<SavedState> CREATOR = 307 new Parcelable.Creator<SavedState>() { [all...] |
SeekBarPreference.java | 304 final SavedState myState = new SavedState(superState); 313 if (!state.getClass().equals(SavedState.class)) { 320 SavedState myState = (SavedState) state; 329 * SavedState, a subclass of {@link BaseSavedState}, will store the state 334 private static class SavedState extends BaseSavedState { 339 public SavedState(Parcel source) { 358 public SavedState(Parcelable superState) { 363 public static final Parcelable.Creator<SavedState> CREATOR [all...] |
/frameworks/support/design/src/android/support/design/internal/ |
BottomNavigationPresenter.java | 105 SavedState savedState = new SavedState(); 106 savedState.selectedItemId = mMenuView.getSelectedItemId(); 107 return savedState; 112 if (state instanceof SavedState) { 113 mMenuView.tryRestoreSelectedItemId(((SavedState) state).selectedItemId); 121 static class SavedState implements Parcelable { 124 SavedState() {} 126 SavedState(Parcel in) [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
PersistentFocusWrapper.java | 130 static class SavedState extends View.BaseSavedState { 134 SavedState(Parcel in) { 139 SavedState(Parcelable superState) { 149 public static final Parcelable.Creator<SavedState> CREATOR = 150 new Parcelable.Creator<SavedState>() { 152 public SavedState createFromParcel(Parcel in) { 153 return new SavedState(in); 157 public SavedState[] newArray(int size) { 158 return new SavedState[size]; 166 SavedState savedState = new SavedState(super.onSaveInstanceState()) [all...] |
/frameworks/base/core/java/android/preference/ |
EditTextPreference.java | 192 final SavedState myState = new SavedState(superState); 199 if (state == null || !state.getClass().equals(SavedState.class)) { 205 SavedState myState = (SavedState) state; 210 private static class SavedState extends BaseSavedState { 213 public SavedState(Parcel source) { 224 public SavedState(Parcelable superState) { 228 public static final Parcelable.Creator<SavedState> CREATOR = 229 new Parcelable.Creator<SavedState>() { [all...] |
TwoStatePreference.java | 236 final SavedState myState = new SavedState(superState); 243 if (state == null || !state.getClass().equals(SavedState.class)) { 249 SavedState myState = (SavedState) state; 254 static class SavedState extends BaseSavedState { 257 public SavedState(Parcel source) { 268 public SavedState(Parcelable superState) { 272 public static final Parcelable.Creator<SavedState> CREATOR = 273 new Parcelable.Creator<SavedState>() { [all...] |
ListPreference.java | 306 final SavedState myState = new SavedState(superState); 313 if (state == null || !state.getClass().equals(SavedState.class)) { 319 SavedState myState = (SavedState) state; 324 private static class SavedState extends BaseSavedState { 327 public SavedState(Parcel source) { 338 public SavedState(Parcelable superState) { 342 public static final Parcelable.Creator<SavedState> CREATOR = 343 new Parcelable.Creator<SavedState>() { [all...] |
MultiCheckPreference.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...] |
PreferenceScreen.java | 265 final SavedState myState = new SavedState(superState); 273 if (state == null || !state.getClass().equals(SavedState.class)) { 279 SavedState myState = (SavedState) state; 286 private static class SavedState extends BaseSavedState { 290 public SavedState(Parcel source) { 303 public SavedState(Parcelable superState) { 307 public static final Parcelable.Creator<SavedState> CREATOR = 308 new Parcelable.Creator<SavedState>() { [all...] |
SeekBarPreference.java | 187 final SavedState myState = new SavedState(superState); 195 if (!state.getClass().equals(SavedState.class)) { 202 SavedState myState = (SavedState) state; 210 * SavedState, a subclass of {@link BaseSavedState}, will store the state 215 private static class SavedState extends BaseSavedState { 219 public SavedState(Parcel source) { 236 public SavedState(Parcelable superState) { 241 public static final Parcelable.Creator<SavedState> CREATOR [all...] |
VolumePreference.java | 176 final SavedState myState = new SavedState(superState); 185 if (state == null || !state.getClass().equals(SavedState.class)) { 191 SavedState myState = (SavedState) state; 203 private static class SavedState extends BaseSavedState { 206 public SavedState(Parcel source) { 223 public SavedState(Parcelable superState) { 227 public static final Parcelable.Creator<SavedState> CREATOR = 228 new Parcelable.Creator<SavedState>() { [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
AttachmentGridView.java | 103 final SavedState savedState = new SavedState(superState); 104 savedState.unselectedParts = mUnselectedSet 106 return savedState; 111 if (!(state instanceof SavedState)) { 116 final SavedState savedState = (SavedState) state; 117 super.onRestoreInstanceState(savedState.getSuperState()) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
PointerSpeedPreference.java | 124 final SavedState myState = new SavedState(superState); 135 if (state == null || !state.getClass().equals(SavedState.class)) { 141 SavedState myState = (SavedState) state; 147 private static class SavedState extends BaseSavedState { 151 public SavedState(Parcel source) { 164 public SavedState(Parcelable superState) { 168 public static final Parcelable.Creator<SavedState> CREATOR = 169 new Parcelable.Creator<SavedState>() { [all...] |
SeekBarPreference.java | 229 final SavedState myState = new SavedState(superState); 237 if (!state.getClass().equals(SavedState.class)) { 244 SavedState myState = (SavedState) state; 252 * SavedState, a subclass of {@link BaseSavedState}, will store the state 257 private static class SavedState extends BaseSavedState { 261 public SavedState(Parcel source) { 278 public SavedState(Parcelable superState) { 283 public static final Parcelable.Creator<SavedState> CREATOR [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
StructuredNameEditorView.java | 106 SavedState state = new SavedState(super.onSaveInstanceState()); 114 SavedState ss = (SavedState) state; 121 private static class SavedState implements Parcelable { 126 SavedState(Parcelable superState) { 130 private SavedState(Parcel in) { 147 public static final Parcelable.Creator<SavedState> CREATOR 148 = new Parcelable.Creator<SavedState>() { 150 public SavedState createFromParcel(Parcel in) [all...] |
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
CheckableImageButton.java | 173 SavedState savedState = (SavedState) state; 174 super.onRestoreInstanceState(savedState.getSuperState()); 175 performSetChecked(savedState.isChecked); 181 return new SavedState(isChecked(), super.onSaveInstanceState()); 184 private static class SavedState extends BaseSavedState { 188 private SavedState(boolean isChecked, Parcelable superState) { 193 protected SavedState(Parcel in) { 198 public static final Creator<SavedState> CREATOR [all...] |
/packages/apps/Email/src/com/android/email/view/ |
CertificateSelector.java | 123 SavedState savedState = (SavedState) parcel; 124 super.onRestoreInstanceState(savedState.getSuperState()); 125 setCertificate(savedState.mValue); 130 return new SavedState(super.onSaveInstanceState(), getCertificate()); 133 public static class SavedState extends BaseSavedState { 136 SavedState(Parcelable superState, String value) { 148 public static final Parcelable.Creator<SavedState> CREATOR 149 = new Parcelable.Creator<SavedState>() { [all...] |
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
MultiSelectListPreference.java | 221 final SavedState myState = new SavedState(superState); 228 if (state == null || !state.getClass().equals(SavedState.class)) { 234 SavedState myState = (SavedState) state; 239 private static class SavedState extends BaseSavedState { 242 public SavedState(Parcel source) { 252 public SavedState(Parcelable superState) { 263 public static final Parcelable.Creator<SavedState> CREATOR = 264 new Parcelable.Creator<SavedState>() { [all...] |
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
AutoCompleteEditTextPreference.java | 209 final SavedState myState = new SavedState(superState); 216 if (state == null || !state.getClass().equals(SavedState.class)) { 222 SavedState myState = (SavedState) state; 227 private static class SavedState extends BaseSavedState { 230 public SavedState(Parcel source) { 241 public SavedState(Parcelable superState) { 245 public static final Parcelable.Creator<SavedState> CREATOR = 246 new Parcelable.Creator<SavedState>() { [all...] |
ContactPreference.java | 236 final SavedState myState = new SavedState(superState); 244 if (state == null || !state.getClass().equals(SavedState.class)) { 249 SavedState myState = (SavedState) state; 256 private static class SavedState extends BaseSavedState { 260 public SavedState(Parcel source) { 273 public SavedState(Parcelable superState) { 277 public static final Parcelable.Creator<SavedState> CREATOR = 278 new Parcelable.Creator<SavedState>() { [all...] |
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ListDialogPreference.java | 241 final SavedState myState = new SavedState(superState); 248 if (state == null || !state.getClass().equals(SavedState.class)) { 254 SavedState myState = (SavedState) state; 295 private static class SavedState extends BaseSavedState { 298 public SavedState(Parcel source) { 309 public SavedState(Parcelable superState) { 314 public static final Creator<SavedState> CREATOR = new Creator<SavedState>() { [all...] |