HomeSort by relevance Sort by last modified time
    Searched refs:SavedState (Results 1 - 25 of 109) sorted by null

1 2 3 4 5

  /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 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...]
  /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...]
PreferenceScreen.java 231 final SavedState myState = new SavedState(superState);
239 if (state == null || !state.getClass().equals(SavedState.class)) {
245 SavedState myState = (SavedState) state;
252 private static class SavedState extends BaseSavedState {
256 public SavedState(Parcel source) {
269 public SavedState(Parcelable superState) {
273 public static final Parcelable.Creator<SavedState> CREATOR =
274 new Parcelable.Creator<SavedState>() {
    [all...]
DialogPreference.java 424 final SavedState myState = new SavedState(superState);
432 if (state == null || !state.getClass().equals(SavedState.class)) {
438 SavedState myState = (SavedState) state;
445 private static class SavedState extends BaseSavedState {
449 public SavedState(Parcel source) {
462 public SavedState(Parcelable superState) {
466 public static final Parcelable.Creator<SavedState> CREATOR =
467 new Parcelable.Creator<SavedState>() {
    [all...]
ListPreference.java 297 final SavedState myState = new SavedState(superState);
304 if (state == null || !state.getClass().equals(SavedState.class)) {
310 SavedState myState = (SavedState) state;
315 private static class SavedState extends BaseSavedState {
318 public SavedState(Parcel source) {
329 public SavedState(Parcelable superState) {
333 public static final Parcelable.Creator<SavedState> CREATOR =
334 new Parcelable.Creator<SavedState>() {
    [all...]
MultiCheckPreference.java 279 final SavedState myState = new SavedState(superState);
286 if (state == null || !state.getClass().equals(SavedState.class)) {
292 SavedState myState = (SavedState) state;
297 private static class SavedState extends BaseSavedState {
300 public SavedState(Parcel source) {
311 public SavedState(Parcelable superState) {
315 public static final Parcelable.Creator<SavedState> CREATOR =
316 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 254 final SavedState myState = new SavedState(superState);
261 if (state == null || !state.getClass().equals(SavedState.class)) {
267 SavedState myState = (SavedState) state;
272 static class SavedState extends BaseSavedState {
275 public SavedState(Parcel source) {
286 public SavedState(Parcelable superState) {
290 public static final Parcelable.Creator<SavedState> CREATOR =
291 new Parcelable.Creator<SavedState>() {
    [all...]
MultiSelectListPreference.java 235 final SavedState myState = new SavedState(superState);
240 private static class SavedState extends BaseSavedState {
243 public SavedState(Parcel source) {
254 public SavedState(Parcelable superState) {
264 public static final Parcelable.Creator<SavedState> CREATOR =
265 new Parcelable.Creator<SavedState>() {
266 public SavedState createFromParcel(Parcel in) {
267 return new SavedState(in);
270 public SavedState[] newArray(int size)
    [all...]
VolumePreference.java 160 final SavedState myState = new SavedState(superState);
169 if (state == null || !state.getClass().equals(SavedState.class)) {
175 SavedState myState = (SavedState) state;
187 private static class SavedState extends BaseSavedState {
190 public SavedState(Parcel source) {
207 public SavedState(Parcelable superState) {
211 public static final Parcelable.Creator<SavedState> CREATOR =
212 new Parcelable.Creator<SavedState>() {
    [all...]
  /packages/apps/Settings/src/com/android/settings/
PointerSpeedPreference.java 126 final SavedState myState = new SavedState(superState);
137 if (state == null || !state.getClass().equals(SavedState.class)) {
143 SavedState myState = (SavedState) state;
150 private static class SavedState extends BaseSavedState {
154 public SavedState(Parcel source) {
167 public SavedState(Parcelable superState) {
171 public static final Parcelable.Creator<SavedState> CREATOR =
172 new Parcelable.Creator<SavedState>() {
    [all...]
RingerVolumePreference.java 311 final SavedState myState = new SavedState(superState);
324 if (state == null || !state.getClass().equals(SavedState.class)) {
330 SavedState myState = (SavedState) state;
341 private static class SavedState extends BaseSavedState {
344 public SavedState(Parcel source) {
373 public SavedState(Parcelable superState) {
377 public static final Parcelable.Creator<SavedState> CREATOR =
378 new Parcelable.Creator<SavedState>() {
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
TextView_SaveStateTest.java 27 * Test {@link TextView.SavedState}.
32 TextView.SavedState state = TextView.SavedState.CREATOR.createFromParcel(source);
37 state = TextView.SavedState.CREATOR.createFromParcel(source);
44 TextView.SavedState state = TextView.SavedState.CREATOR.createFromParcel(source);
  /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/accessibility/
ListDialogPreference.java 233 final SavedState myState = new SavedState(superState);
240 if (state == null || !state.getClass().equals(SavedState.class)) {
246 SavedState myState = (SavedState) state;
287 private static class SavedState extends BaseSavedState {
290 public SavedState(Parcel source) {
301 public SavedState(Parcelable superState) {
306 public static final Creator<SavedState> CREATOR = new Creator<SavedState>() {
    [all...]
  /frameworks/base/core/java/android/widget/
CompoundButton.java 321 static class SavedState extends BaseSavedState {
327 SavedState(Parcelable superState) {
334 private SavedState(Parcel in) {
347 return "CompoundButton.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);
358 public SavedState[] newArray(int size) {
359 return new SavedState[size]
    [all...]
AbsSpinner.java 362 static class SavedState extends BaseSavedState {
369 SavedState(Parcelable superState) {
376 SavedState(Parcel in) {
391 return "AbsSpinner.SavedState{"
397 public static final Parcelable.Creator<SavedState> CREATOR
398 = new Parcelable.Creator<SavedState>() {
399 public SavedState createFromParcel(Parcel in) {
400 return new SavedState(in);
403 public SavedState[] newArray(int size) {
404 return new SavedState[size]
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
StructuredNameEditorView.java 217 SavedState state = new SavedState(super.onSaveInstanceState());
225 SavedState ss = (SavedState) state;
232 private static class SavedState implements Parcelable {
237 SavedState(Parcelable superState) {
241 private SavedState(Parcel in) {
258 public static final Parcelable.Creator<SavedState> CREATOR
259 = new Parcelable.Creator<SavedState>() {
261 public SavedState createFromParcel(Parcel in)
    [all...]
TextFieldsEditorView.java 321 SavedState ss = new SavedState(superState);
339 SavedState ss = (SavedState) state;
350 private static class SavedState extends BaseSavedState {
354 SavedState(Parcelable superState) {
358 private SavedState(Parcel in) {
372 public static final Parcelable.Creator<SavedState> CREATOR
373 = new Parcelable.Creator<SavedState>() {
375 public SavedState createFromParcel(Parcel in)
    [all...]
  /frameworks/support/v13/java/android/support/v13/app/
FragmentTabHost.java 82 static class SavedState extends BaseSavedState {
85 SavedState(Parcelable superState) {
89 private SavedState(Parcel in) {
102 return "FragmentTabHost.SavedState{"
107 public static final Parcelable.Creator<SavedState> CREATOR
108 = new Parcelable.Creator<SavedState>() {
109 public SavedState createFromParcel(Parcel in) {
110 return new SavedState(in);
113 public SavedState[] newArray(int size) {
114 return new SavedState[size]
    [all...]
  /frameworks/support/v4/java/android/support/v4/app/
FragmentTabHost.java 90 static class SavedState extends BaseSavedState {
93 SavedState(Parcelable superState) {
97 private SavedState(Parcel in) {
110 return "FragmentTabHost.SavedState{"
115 public static final Parcelable.Creator<SavedState> CREATOR
116 = new Parcelable.Creator<SavedState>() {
117 public SavedState createFromParcel(Parcel in) {
118 return new SavedState(in);
121 public SavedState[] newArray(int size) {
122 return new SavedState[size]
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AbsSpinnerICS.java 346 static class SavedState extends BaseSavedState {
353 SavedState(Parcelable superState) {
360 private SavedState(Parcel in) {
375 return "AbsSpinner.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);
387 public SavedState[] newArray(int size) {
388 return new SavedState[size]
    [all...]
  /external/chromium_org/ash/shell/
toplevel_window.cc 22 struct SavedState {
29 SavedState* saved_state = NULL;
73 saved_state = new SavedState;
  /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...]

Completed in 675 milliseconds

1 2 3 4 5