Lines Matching defs:state

126      * to an activity saving its state.  If you try to commit a transaction
131 * in the state, and if changes are made after the state is saved then they
187 * Pop the top state off the back stack. Returns true if there was one
209 * @param name If non-null, this is the name of a previous back state
210 * to look for; if found, all states up to that state will be popped. The
212 * the named state itself is popped. If null, only the top state is popped.
236 * the named state itself is popped.
273 * persisted as saved state, and when later restoring
295 * Save the current instance state of the given Fragment. This can be
298 * current state returned here. Note that there are limits on how
303 * <li>A new Fragment created using this saved state must be the same class
305 * <li>The saved state can not contain dependencies on other fragments --
308 * this saved state is later used. Likewise the Fragment's target and
309 * result code are not included in this state.
312 * @param f The Fragment whose state is to be saved.
313 * @return The generated state. This will be null if there was no
314 * interesting state created by the fragment.
319 * Print the FragmentManager's state into the given stream.
413 // Temporary vars for state save and restore.
654 writer.print(prefix); writer.println("FragmentManager misc state:");
773 // Fragments that are not currently added will sit in the onCreate() state.
778 // While removing a fragment, we can't change it to a higher state.
788 // state we don't want to allow them to be created until they are
795 // want to move our state back up. Give up on waiting for the
796 // animation, move to whatever the final state should be once
958 // Need to save the current view state if not
1021 // animating away. Just make a note of the state
1447 void addBackStackState(BackStackRecord state) {
1451 mBackStack.add(state);
1510 if (DEBUG) Log.v(TAG, "Popping back stack state: " + states.get(i));
1584 // our state update-to-date.
1588 // As of Honeycomb, we save state after pausing. Prior to that
1591 // stopping that change the fragment state. For those older
1593 // the state, so we will allow them to continue doing fragment
1595 // though you do have the risk of losing the very most recent state
1621 String msg = "Failure saving state: " + f
1643 if (DEBUG) Log.v(TAG, "Saved state of " + f + ": "
1689 void restoreAllState(Parcelable state, ArrayList<Fragment> nonConfig) {
1690 // If there is no saved state at all, then there can not be
1692 if (state == null) return;
1693 FragmentManagerState fms = (FragmentManagerState)state;
1697 // to their saved state, so we don't try to instantiate them again.
1718 // their saved state.