Lines Matching refs:state

58         Bundle instanceState;           // Last retrieved freeze state.
59 int curState = RESTORED; // Current state the activity is in.
89 /** Current state the owner (ActivityGroup) is in */
152 // the launching of the activity gets its state a little ahead
155 // group's state catches up.
247 * include an explicit component, we can restore the state for a different
248 * activity class than was previously running when the state was saved (if
380 * all state are removed from the group.
438 * Restore a state that was previously returned by {@link #saveInstanceState}. This
441 * user later navigates to them the correct state will be restored.
444 * start whatever activity was previously running when the state was saved.
447 * @param state a previously saved state; does nothing if this is null
451 public void dispatchCreate(Bundle state) {
452 if (state != null) {
453 for (String id : state.keySet()) {
455 final Bundle astate = state.getBundle(id);
467 Log.e(TAG, "Exception thrown when restoring LocalActivityManager state", e);
476 * Retrieve the state of all activities known by the group. For
478 * last saved state is used. For the current running activity, its
479 * {@link Activity#onSaveInstanceState} is called to retrieve its current state.
481 * @return a Bundle holding the newly created state of all known activities
486 Bundle state = null;
493 if (state == null) {
494 state = new Bundle();
498 // We need to save the state now, if we don't currently
505 state.putBundle(r.id, r.instanceState);
509 return state;