Lines Matching defs:state

143          * called before the state of the Preference is about to be updated and
144 * before the state is persisted.
148 * @return True to update the state of the Preference with the new value.
550 * Makes sure the view (and any children) get the enabled state changed.
723 // Enabled state can change dependent preferences' states, so notify
766 * clickable 2) should not have the view set to the disabled state.
799 * update the preference's state with the new value.
888 * internal state is set. This allows the client to ignore the user value.
900 * user (but before the internal state has been updated).
910 * user (but before the internal state has been updated).
1196 * according to the state of this Preference.
1212 * according to the state of this Preference.
1252 // Enabled state can change dependent preferences' states, so notify
1678 * Store this Preference hierarchy's frozen state into the given container.
1702 Parcelable state = onSaveInstanceState();
1707 if (state != null) {
1708 container.putParcelable(mKey, state);
1715 * state that can later be used to create a new instance with that same
1716 * state. This state should only contain information that is not persistent
1719 * @return A Parcelable object containing the current dynamic state of
1731 * Restore this Preference hierarchy's previously saved state from the given container.
1733 * @param container The Bundle that holds the previously saved state.
1743 * Called by {@link #restoreHierarchyState} to retrieve the saved state for this
1746 * not want to save state for their children.
1748 * @param container The Bundle that holds the previously saved state.
1754 Parcelable state = container.getParcelable(mKey);
1755 if (state != null) {
1757 onRestoreInstanceState(state);
1768 * state that had previously been generated by {@link #onSaveInstanceState}.
1769 * This function will never be called with a null state.
1771 * @param state The saved state that had previously been returned by
1776 protected void onRestoreInstanceState(Parcelable state) {
1778 if (state != BaseSavedState.EMPTY_STATE && state != null) {
1779 throw new IllegalArgumentException("Wrong state class -- expecting Preference State");
1784 * A base class for managing the instance state of a {@link Preference}.