Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/
DPointerSpeedPreference.java124 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
135 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
141 SavedState myState = (SavedState) state; in onRestoreInstanceState()
147 private static class SavedState extends BaseSavedState { class in PointerSpeedPreference
151 public SavedState(Parcel source) { in SavedState() method in PointerSpeedPreference.SavedState
164 public SavedState(Parcelable superState) { in SavedState() method in PointerSpeedPreference.SavedState
168 public static final Parcelable.Creator<SavedState> CREATOR =
169 new Parcelable.Creator<SavedState>() {
171 public SavedState createFromParcel(Parcel in) {
172 return new SavedState(in);
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentGridView.java103 final SavedState savedState = new SavedState(superState); in onSaveInstanceState()
111 if (!(state instanceof SavedState)) { in onRestoreInstanceState()
116 final SavedState savedState = (SavedState) state; in onRestoreInstanceState()
130 public static class SavedState extends BaseSavedState { class in AttachmentGridView
133 SavedState(final Parcelable superState) { in SavedState() method in AttachmentGridView.SavedState
137 private SavedState(final Parcel in) { in SavedState() method in AttachmentGridView.SavedState
160 public static final Parcelable.Creator<SavedState> CREATOR =
161 new Parcelable.Creator<SavedState>() {
163 public SavedState createFromParcel(final Parcel in) {
164 return new SavedState(in);
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DPointerSpeedPreference.java124 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
135 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
141 SavedState myState = (SavedState) state; in onRestoreInstanceState()
147 private static class SavedState extends BaseSavedState { class in PointerSpeedPreference
151 public SavedState(Parcel source) { in SavedState() method in PointerSpeedPreference.SavedState
164 public SavedState(Parcelable superState) { in SavedState() method in PointerSpeedPreference.SavedState
168 public static final Parcelable.Creator<SavedState> CREATOR =
169 new Parcelable.Creator<SavedState>() {
171 public SavedState createFromParcel(Parcel in) {
172 return new SavedState(in);
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreference.java138 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
147 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
153 SavedState myState = (SavedState) state; in onRestoreInstanceState()
166 private static class SavedState extends BaseSavedState { class in ListWithEntrySummaryPreference
171 public SavedState(Parcel source) { in SavedState() method in ListWithEntrySummaryPreference.SavedState
186 public SavedState(Parcelable superState) { in SavedState() method in ListWithEntrySummaryPreference.SavedState
190 public static final Parcelable.Creator<SavedState> CREATOR =
191 new Parcelable.Creator<SavedState>() {
193 public SavedState createFromParcel(Parcel in) {
194 return new SavedState(in);
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DListWithEntrySummaryPreference.java138 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
147 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
153 SavedState myState = (SavedState) state; in onRestoreInstanceState()
166 private static class SavedState extends BaseSavedState { class in ListWithEntrySummaryPreference
171 public SavedState(Parcel source) { in SavedState() method in ListWithEntrySummaryPreference.SavedState
186 public SavedState(Parcelable superState) { in SavedState() method in ListWithEntrySummaryPreference.SavedState
190 public static final Parcelable.Creator<SavedState> CREATOR =
191 new Parcelable.Creator<SavedState>() {
193 public SavedState createFromParcel(Parcel in) {
194 return new SavedState(in);
[all …]
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/voice/
DRecognizerView.java159 SavedState ss = new SavedState(super.onSaveInstanceState()); in onSaveInstanceState()
166 if (!(state instanceof SavedState)) { in onRestoreInstanceState()
171 SavedState ss = (SavedState) state; in onRestoreInstanceState()
238 public static class SavedState extends View.BaseSavedState { class in RecognizerView
241 public SavedState(Parcelable superState) { in SavedState() method in RecognizerView.SavedState
252 public static final Parcelable.Creator<SavedState> CREATOR
253 = new Parcelable.Creator<SavedState>() {
256 public SavedState createFromParcel(Parcel in) {
257 return new SavedState(in);
261 public SavedState[] newArray(int size) {
[all …]
/packages/apps/Settings/src/com/android/settings/accessibility/
DListDialogPreference.java242 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
249 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
255 SavedState myState = (SavedState) state; in onRestoreInstanceState()
296 private static class SavedState extends BaseSavedState { class in ListDialogPreference
299 public SavedState(Parcel source) { in SavedState() method in ListDialogPreference.SavedState
310 public SavedState(Parcelable superState) { in SavedState() method in ListDialogPreference.SavedState
315 public static final Creator<SavedState> CREATOR = new Creator<SavedState>() {
317 public SavedState createFromParcel(Parcel in) {
318 return new SavedState(in);
322 public SavedState[] newArray(int size) {
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DListDialogPreference.java242 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
249 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
255 SavedState myState = (SavedState) state; in onRestoreInstanceState()
296 private static class SavedState extends BaseSavedState { class in ListDialogPreference
299 public SavedState(Parcel source) { in SavedState() method in ListDialogPreference.SavedState
310 public SavedState(Parcelable superState) { in SavedState() method in ListDialogPreference.SavedState
315 public static final Creator<SavedState> CREATOR = new Creator<SavedState>() {
317 public SavedState createFromParcel(Parcel in) {
318 return new SavedState(in);
322 public SavedState[] newArray(int size) {
[all …]
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DCollapsibleCheckboxPreferenceGroup.java159 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
168 if (state == null || !SavedState.class.equals(state.getClass())) { in onRestoreInstanceState()
173 SavedState myState = (SavedState) state; in onRestoreInstanceState()
196 private static class SavedState extends BaseSavedState { class in CollapsibleCheckboxPreferenceGroup
200 public SavedState(Parcel source) { in SavedState() method in CollapsibleCheckboxPreferenceGroup.SavedState
206 public SavedState(Parcelable superState) { in SavedState() method in CollapsibleCheckboxPreferenceGroup.SavedState
217 public static final Parcelable.Creator<SavedState> CREATOR =
218 new Parcelable.Creator<SavedState>() {
219 public SavedState createFromParcel(Parcel in) {
220 return new SavedState(in);
[all …]
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DCheckableImageButton.java173 SavedState savedState = (SavedState) state; in onRestoreInstanceState()
181 return new SavedState(isChecked(), super.onSaveInstanceState()); in onSaveInstanceState()
184 private static class SavedState extends BaseSavedState { class in CheckableImageButton
188 private SavedState(boolean isChecked, Parcelable superState) { in SavedState() method in CheckableImageButton.SavedState
193 protected SavedState(Parcel in) { in SavedState() method in CheckableImageButton.SavedState
198 public static final Creator<SavedState> CREATOR =
199 new Creator<SavedState>() {
201 public SavedState createFromParcel(Parcel in) {
202 return new SavedState(in);
206 public SavedState[] newArray(int size) {
[all …]
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttCheckableButton.java178 SavedState savedState = (SavedState) state; in onRestoreInstanceState()
186 return new SavedState(isChecked(), super.onSaveInstanceState()); in onSaveInstanceState()
189 private static class SavedState extends BaseSavedState { class in RttCheckableButton
193 private SavedState(boolean isChecked, Parcelable superState) { in SavedState() method in RttCheckableButton.SavedState
198 protected SavedState(Parcel in) { in SavedState() method in RttCheckableButton.SavedState
203 public static final Creator<SavedState> CREATOR =
204 new Creator<SavedState>() {
206 public SavedState createFromParcel(Parcel in) {
207 return new SavedState(in);
211 public SavedState[] newArray(int size) {
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DStructuredNameEditorView.java159 SavedState state = new SavedState(super.onSaveInstanceState()); in onSaveInstanceState()
167 SavedState ss = (SavedState) state; in onRestoreInstanceState()
174 private static class SavedState implements Parcelable { class in StructuredNameEditorView
179 SavedState(Parcelable superState) { in SavedState() method in StructuredNameEditorView.SavedState
183 private SavedState(Parcel in) { in SavedState() method in StructuredNameEditorView.SavedState
200 public static final Parcelable.Creator<SavedState> CREATOR
201 = new Parcelable.Creator<SavedState>() {
203 public SavedState createFromParcel(Parcel in) {
204 return new SavedState(in);
208 public SavedState[] newArray(int size) {
[all …]
DTextFieldsEditorView.java451 SavedState ss = new SavedState(superState); in onSaveInstanceState()
469 SavedState ss = (SavedState) state; in onRestoreInstanceState()
482 private static class SavedState extends BaseSavedState { class in TextFieldsEditorView
486 SavedState(Parcelable superState) { in SavedState() method in TextFieldsEditorView.SavedState
490 private SavedState(Parcel in) { in SavedState() method in TextFieldsEditorView.SavedState
504 public static final Parcelable.Creator<SavedState> CREATOR
505 = new Parcelable.Creator<SavedState>() {
507 public SavedState createFromParcel(Parcel in) {
508 return new SavedState(in);
512 public SavedState[] newArray(int size) {
[all …]
DRawContactEditorView.java165 public static class SavedState extends BaseSavedState { class in RawContactEditorView
167 public static final Parcelable.Creator<SavedState> CREATOR =
168 new Parcelable.Creator<SavedState>() {
169 public SavedState createFromParcel(Parcel in) {
170 return new SavedState(in);
172 public SavedState[] newArray(int size) {
173 return new SavedState[size];
179 public SavedState(Parcelable superState) { in SavedState() method in RawContactEditorView.SavedState
183 private SavedState(Parcel in) { in SavedState() method in RawContactEditorView.SavedState
285 final SavedState savedState = new SavedState(superState); in onSaveInstanceState()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSeekBarPreference.java326 final SeekBarPreference.SavedState myState = new SeekBarPreference.SavedState(superState); in onSaveInstanceState()
335 if (!state.getClass().equals(SeekBarPreference.SavedState.class)) { in onRestoreInstanceState()
342 SeekBarPreference.SavedState myState = (SeekBarPreference.SavedState) state; in onRestoreInstanceState()
356 private static class SavedState extends BaseSavedState { class in SeekBarPreference
361 SavedState(Parcel source) { in SavedState() method in SeekBarPreference.SavedState
380 SavedState(Parcelable superState) { in SavedState() method in SeekBarPreference.SavedState
385 public static final Parcelable.Creator<SeekBarPreference.SavedState> CREATOR =
386 new Parcelable.Creator<SeekBarPreference.SavedState>() {
388 public SeekBarPreference.SavedState createFromParcel(Parcel in) {
389 return new SeekBarPreference.SavedState(in);
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridView.java239 final SavedState savedState = new SavedState(superState); in onSaveInstanceState()
248 if (!(state instanceof SavedState)) { in onRestoreInstanceState()
253 final SavedState savedState = (SavedState) state; in onRestoreInstanceState()
270 public static class SavedState extends BaseSavedState { class in GalleryGridView
274 SavedState(final Parcelable superState) { in SavedState() method in GalleryGridView.SavedState
278 private SavedState(final Parcel in) { in SavedState() method in GalleryGridView.SavedState
303 public static final Parcelable.Creator<SavedState> CREATOR =
304 new Parcelable.Creator<SavedState>() {
306 public SavedState createFromParcel(final Parcel in) {
307 return new SavedState(in);
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSeekBarPreference.java311 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
320 if (!state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
327 SavedState myState = (SavedState) state; in onRestoreInstanceState()
341 private static class SavedState extends BaseSavedState { class in SeekBarPreference
346 public SavedState(Parcel source) { in SavedState() method in SeekBarPreference.SavedState
365 public SavedState(Parcelable superState) { in SavedState() method in SeekBarPreference.SavedState
370 public static final Parcelable.Creator<SavedState> CREATOR =
371 new Parcelable.Creator<SavedState>() {
372 public SavedState createFromParcel(Parcel in) {
373 return new SavedState(in);
[all …]
DSwitchBar.java321 static class SavedState extends BaseSavedState { class in SwitchBar
325 SavedState(Parcelable superState) { in SavedState() method in SwitchBar.SavedState
332 private SavedState(Parcel in) { in SavedState() method in SwitchBar.SavedState
353 public static final Parcelable.Creator<SavedState> CREATOR
354 = new Parcelable.Creator<SavedState>() {
355 public SavedState createFromParcel(Parcel in) {
356 return new SavedState(in);
359 public SavedState[] newArray(int size) {
360 return new SavedState[size];
369 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DContactPreference.java266 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
274 if (state == null || !state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
279 SavedState myState = (SavedState) state; in onRestoreInstanceState()
286 private static class SavedState extends BaseSavedState { class in ContactPreference
290 public SavedState(Parcel source) { in SavedState() method in ContactPreference.SavedState
303 public SavedState(Parcelable superState) { in SavedState() method in ContactPreference.SavedState
307 public static final Parcelable.Creator<SavedState> CREATOR =
308 new Parcelable.Creator<SavedState>() {
309 public SavedState createFromParcel(Parcel in) {
310 return new SavedState(in);
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DSeekBarPreference.java322 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
331 if (!state.getClass().equals(SavedState.class)) { in onRestoreInstanceState()
338 SavedState myState = (SavedState) state; in onRestoreInstanceState()
352 private static class SavedState extends BaseSavedState { class in SeekBarPreference
357 public SavedState(Parcel source) { in SavedState() method in SeekBarPreference.SavedState
376 public SavedState(Parcelable superState) { in SavedState() method in SeekBarPreference.SavedState
381 public static final Parcelable.Creator<SavedState> CREATOR =
382 new Parcelable.Creator<SavedState>() {
383 public SavedState createFromParcel(Parcel in) {
384 return new SavedState(in);
[all …]
DSwitchBar.java319 static class SavedState extends BaseSavedState { class in SwitchBar
323 SavedState(Parcelable superState) { in SavedState() method in SwitchBar.SavedState
330 private SavedState(Parcel in) { in SavedState() method in SwitchBar.SavedState
351 public static final Parcelable.Creator<SavedState> CREATOR
352 = new Parcelable.Creator<SavedState>() {
353 public SavedState createFromParcel(Parcel in) {
354 return new SavedState(in);
357 public SavedState[] newArray(int size) {
358 return new SavedState[size];
367 SavedState ss = new SavedState(superState); in onSaveInstanceState()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStylePreference.java207 final SavedState myState = new SavedState(superState); in onSaveInstanceState()
214 if (!(state instanceof SavedState)) { in onRestoreInstanceState()
219 final SavedState myState = (SavedState) state; in onRestoreInstanceState()
224 static final class SavedState extends Preference.BaseSavedState { class in CustomInputStylePreference
227 public SavedState(final Parcelable superState) { in SavedState() method in CustomInputStylePreference.SavedState
237 public SavedState(final Parcel source) { in SavedState() method in CustomInputStylePreference.SavedState
243 public static final Parcelable.Creator<SavedState> CREATOR =
244 new Parcelable.Creator<SavedState>() {
246 public SavedState createFromParcel(final Parcel source) {
247 return new SavedState(source);
[all …]
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java220 SavedState savedState = (SavedState) state; in onRestoreInstanceState()
228 return new SavedState(isChecked(), super.onSaveInstanceState()); in onSaveInstanceState()
273 private static class SavedState extends BaseSavedState { class in CheckableLabeledButton
275 public static final Creator<SavedState> CREATOR =
276 new Creator<SavedState>() {
278 public SavedState createFromParcel(Parcel in) {
279 return new SavedState(in);
283 public SavedState[] newArray(int size) {
284 return new SavedState[size];
289 private SavedState(boolean isChecked, Parcelable superState) { in SavedState() method in CheckableLabeledButton.SavedState
[all …]
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePicker.java244 private static class SavedState extends BaseSavedState { class in DatePicker
255 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState() method in DatePicker.SavedState
268 private SavedState(Parcel in) { in SavedState() method in DatePicker.SavedState
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); in onSaveInstanceState()
[all …]
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedRecyclerView.java642 SavedState ss = new SavedState(superState, getContext()); in onSaveInstanceState()
651 if (!(state instanceof SavedState)) { in onRestoreInstanceState()
655 SavedState ss = (SavedState) state; in onRestoreInstanceState()
663 static class SavedState extends BaseSavedState { class in PagedRecyclerView
667 SavedState(Parcelable superState, Context c) { in SavedState() method in PagedRecyclerView.SavedState
673 private SavedState(Parcel source, ClassLoader loader) { in SavedState() method in PagedRecyclerView.SavedState
684 public static final Parcelable.Creator<SavedState> CREATOR =
685 new Parcelable.Creator<SavedState>() {
686 public SavedState createFromParcel(Parcel in) {
687 return new SavedState(in, getClass().getClassLoader());
[all …]

12