Home
last modified time | relevance | path

Searched refs:onSaveInstanceState (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/base/docs/html/training/basics/activity-lifecycle/
Drecreating.jd63 previous lessons. The method is {@link android.app.Activity#onSaveInstanceState
64 onSaveInstanceState()} and the system calls it when the user is leaving your activity. When the
74 calls {@link android.app.Activity#onSaveInstanceState onSaveInstanceState()} (1) so you can specify
86 <p>As your activity begins to stop, the system calls {@link android.app.Activity#onSaveInstanceState
87 onSaveInstanceState()} so your activity can save state information with a collection of key-value
93 implement {@link android.app.Activity#onSaveInstanceState onSaveInstanceState()} and add
102 public void onSaveInstanceState(Bundle savedInstanceState) {
108 super.onSaveInstanceState(savedInstanceState);
113 android.app.Activity#onSaveInstanceState onSaveInstanceState()} so the default implementation
/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedActivity.java48 protected void onSaveInstanceState(Bundle outState) in onSaveInstanceState() method in TestedActivity
50 super.onSaveInstanceState(outState); in onSaveInstanceState()
DSubActivityScreen.java152 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() method in SubActivityScreen
153 super.onSaveInstanceState(outState); in onSaveInstanceState()
DTestedScreen.java80 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() method in TestedScreen
81 super.onSaveInstanceState(outState); in onSaveInstanceState()
/frameworks/base/core/java/android/app/
DActivityGroup.java65 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() method in ActivityGroup
66 super.onSaveInstanceState(outState); in onSaveInstanceState()
DTabActivity.java111 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() method in TabActivity
112 super.onSaveInstanceState(outState); in onSaveInstanceState()
DTimePickerDialog.java142 public Bundle onSaveInstanceState() { in onSaveInstanceState() method in TimePickerDialog
143 Bundle state = super.onSaveInstanceState(); in onSaveInstanceState()
DDialogFragment.java495 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() method in DialogFragment
496 super.onSaveInstanceState(outState); in onSaveInstanceState()
498 Bundle dialogState = mDialog.onSaveInstanceState(); in onSaveInstanceState()
DDatePickerDialog.java182 public Bundle onSaveInstanceState() { in onSaveInstanceState() method in DatePickerDialog
183 Bundle state = super.onSaveInstanceState(); in onSaveInstanceState()
/frameworks/base/core/java/android/preference/
DPreferenceScreen.java217 protected Parcelable onSaveInstanceState() { in onSaveInstanceState() method in PreferenceScreen
218 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
226 myState.dialogBundle = dialog.onSaveInstanceState(); in onSaveInstanceState()
DVolumePreference.java150 protected Parcelable onSaveInstanceState() { in onSaveInstanceState() method in VolumePreference
151 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
159 mSeekBarVolumizer.onSaveInstanceState(myState.getVolumeStore()); in onSaveInstanceState()
371 public void onSaveInstanceState(VolumeStore volumeStore) { in onSaveInstanceState() method in VolumePreference.SeekBarVolumizer
DDialogPreference.java418 protected Parcelable onSaveInstanceState() { in onSaveInstanceState() method in DialogPreference
419 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
426 myState.dialogBundle = mDialog.onSaveInstanceState(); in onSaveInstanceState()
DEditTextPreference.java179 protected Parcelable onSaveInstanceState() { in onSaveInstanceState() method in EditTextPreference
180 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
DSeekBarPreference.java168 protected Parcelable onSaveInstanceState() { in onSaveInstanceState() method in SeekBarPreference
175 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
DTwoStatePreference.java240 protected Parcelable onSaveInstanceState() { in onSaveInstanceState() method in TwoStatePreference
241 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
DPreferenceFragment.java208 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() method in PreferenceFragment
209 super.onSaveInstanceState(outState); in onSaveInstanceState()
DListPreference.java282 protected Parcelable onSaveInstanceState() { in onSaveInstanceState() method in ListPreference
283 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
DMultiSelectListPreference.java228 protected Parcelable onSaveInstanceState() { in onSaveInstanceState() method in MultiSelectListPreference
229 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
/frameworks/base/core/java/com/android/internal/preference/
DYesNoPreference.java96 protected Parcelable onSaveInstanceState() { in onSaveInstanceState() method in YesNoPreference
97 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
/frameworks/support/v4/java/android/support/v4/app/
DDialogFragment.java390 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() method in DialogFragment
391 super.onSaveInstanceState(outState); in onSaveInstanceState()
393 Bundle dialogState = mDialog.onSaveInstanceState(); in onSaveInstanceState()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DTestsListActivity.java165 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() method in TestsListActivity
169 super.onSaveInstanceState(outState); in onSaveInstanceState()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPresenter.java142 public Parcelable onSaveInstanceState(); in onSaveInstanceState() method
/frameworks/base/docs/html/guide/components/
Dactivities.jd626 android.app.Activity#onSaveInstanceState onSaveInstanceState()}.</p>
628 <p>The system calls {@link android.app.Activity#onSaveInstanceState onSaveInstanceState()}
649 android.app.Activity#onSaveInstanceState onSaveInstanceState()} will be called before your
653 closing the activity). If the system calls {@link android.app.Activity#onSaveInstanceState
654 onSaveInstanceState()}, it does so before {@link
659 android.app.Activity#onSaveInstanceState onSaveInstanceState()}, some of the activity state is
661 android.app.Activity#onSaveInstanceState onSaveInstanceState()}. Specifically, the default
663 android.view.View#onSaveInstanceState onSaveInstanceState()} method for every {@link
684 android.app.Activity#onSaveInstanceState onSaveInstanceState()} saves useful information about
691 android.app.Activity#onSaveInstanceState onSaveInstanceState()} helps save the state of the UI, if
[all …]
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex3.jd217 <code>onSaveInstanceState()</code>, <code>onPause()</code> and
221 <p><code>onSaveInstanceState()</code> is called by Android if the
228 <code>onSaveInstanceState()</code> method.</p>
243 onSaveInstanceState()</code>:
246 protected void onSaveInstanceState(Bundle outState) {
247 super.onSaveInstanceState(outState);
272 <p>Note that <code>saveState()</code> must be called in both <code>onSaveInstanceState()</code>
274 guarantee that <code>onSaveInstanceState()</code> will be called and because when it <em>is</em>
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/
DMapView.java112 public void onSaveInstanceState(Bundle state) { in onSaveInstanceState() method in MapView

1234