Lines Matching defs:state

161  * in particular during state restore, and needs to be able to find this
163 * a runtime exception will occur in some cases during state restore.
198 * up to resumed state (interacting with the user) are:
225 * <li> {@link #onDestroy} called to do final cleanup of the fragment's state.
336 * pressing back will pop it to return the user to whatever previous state
343 static final int INVALID_STATE = -1; // Invalid state used as a null value.
358 // If mAnimatingAway != null, this is the state we should move to once the
362 // When instantiated from saved state, this is the saved state.
390 // True if the fragment is in the resumed state.
399 // True if this fragment has been restored from previously saved state.
477 SavedState(Bundle state) {
478 mState = state;
527 * activity's state. It is strongly recommended that subclasses do not
684 * Set the initial saved state that this Fragment should restore itself
689 * @param state The state the fragment should be restored from.
691 public void setInitialSavedState(SavedState state) {
695 mSavedFragmentState = state != null && state.mState != null
696 ? state.mState : null;
819 * in the case where an old fragment is restored from a previous state and
820 * it does not appear in the layout of the current state.
827 * Return true if the fragment is in the resumed state. This is true
846 * are shown. You can find out about changes to this state with
847 * {@link #onHiddenChanged}. Note that the hidden state is orthogonal
856 * Called when the hidden state (as returned by {@link #isHidden()} of
858 * be called whenever the fragment changes state from that.
924 * state save and restore.
1030 * being inflated into a new instance with saved state. It typically makes
1061 * a previous saved state, this is the state.
1095 * a previous saved state, this is the state.
1103 * has returned, but before any saved state has been restored in to the view.
1109 * from a previous saved state as given here.
1129 * from a previous saved state as given here.
1152 * views or restoring state. It is also useful for fragments that use
1159 * a previous saved state, this is the state.
1196 * Called to ask the fragment to save its current dynamic state, so it
1209 * back stack with no UI showing), but its state will not be saved until
1210 * its owning activity actually needs to save its state.
1212 * @param outState Bundle in which to place your saved state.
1253 * non-null view. Internally it is called after the view's state has
1279 * so that we don't have any left-over state if the application decides
1280 * to re-use the instance. This only clears state that the framework
1457 * Print the Fragments's state into the given stream.
1461 * @param writer The PrintWriter to which you should dump your state. This will be