Lines Matching refs:parent

48  * state's hierarchy, starting at its eldest parent. For example given the simple
63 * <p>Each state in the state machine may have a zero or one parent states and if
65 * by its parent by returning false or NOT_HANDLED. If a message is never processed
76 * will exit the current state and its parent and then exit from the controlling thread
84 * the list of states to be entered/exited the common parent closest to
86 * parent's up to but not including the common parent state and then enter all
87 * of the new states below the common parent down to the destination state.
88 * If there is no common parent all states are exited and then the new states
120 * processMessage the state machine runtime will find the common parent,
156 * with two independent parent states.</p>
179 state mS1 parent mP1 {
191 state mS2 parent mP1 {
296 // Let parent process all other messages
426 * processed by parent states
433 * processed by parent states
665 /** The parent of this state, null if there is no parent */
677 + ",parent=" + ((parentStateInfo == null) ?
873 * it, call the states parent and so on. If it is never handled then
992 * current state or null if there is no common parent.
996 * Search up the parent list of the destination state for an active
1056 * @param parent the parent of state
1059 private final StateInfo addState(State state, State parent) {
1062 + ",parent=" + ((parent == null) ? "" : parent.getName()));
1065 if (parent != null) {
1066 parentStateInfo = mStateInfo.get(parent);
1068 // Recursively add our parent as it's not been added yet.
1069 parentStateInfo = addState(parent, null);
1209 * @param parent the parent of state
1211 protected final void addState(State state, State parent) {
1212 mSmHandler.addState(state, parent);
1230 * Add a new state to the state machine, parent will be null