Lines Matching defs:state

493      * @param st The panel state to prepare.
529 // Init the panel state's menu--return false if init failed
570 // Restore action view state before we prepare. This gives apps
571 // an opportunity to override frozen/restored state in onPrepare.
595 // Set other state
605 // Action bars handle their own menu state
610 // Freeze state
611 final Bundle state = new Bundle();
613 st.iconMenuPresenter.saveHierarchyState(state);
616 st.listMenuPresenter.saveHierarchyState(state);
626 // Restore state
628 st.iconMenuPresenter.restoreHierarchyState(state);
631 st.listMenuPresenter.restoreHierarchyState(state);
692 // Callback doesn't want the menu to open, reset any state
1183 // Save the future expanded mode state since closePanel will reset it
1189 // Set the expanded mode state
1196 * Initializes the menu associated with the given panel feature state. You
1198 * associated with the given panel state. The default implementation creates
1199 * a new menu for the panel state.
1300 * Initializes the panel associated with the panel feature state. You must
1304 * @param st The panel state being initialized.
1441 * Update the state of a drawable feature. This should be called, for every
1746 * the state of the current application, other than that the current
2045 * Invoked when the panels should freeze their state.
2047 * @param icicles Save state into this. This is usually indexed by the
2065 * Invoked when the panels should thaw their state from a previously frozen state.
2067 * @param icicles The state saved by {@link #savePanelState} that needs to be thawed.
2091 * Opens the panels that have had their state restored. This should be
2925 private void updateColorViewInt(final ColorViewState state, int sysUiVis, int color,
2927 boolean show = height > 0 && (sysUiVis & state.systemUiHideFlag) == 0
2928 && (getAttributes().flags & state.hideWindowFlag) == 0
2929 && (getAttributes().flags & state.translucentFlag) == 0
2934 View view = state.view;
2938 state.view = view = new View(mContext);
2940 view.setTransitionName(state.transitionName);
2941 view.setId(state.id);
2944 state.targetVisibility = VISIBLE;
2947 Gravity.START | state.verticalGravity));
2952 visibilityChanged = state.targetVisibility != vis;
2953 state.targetVisibility = vis;
2979 state.view.setAlpha(1.0f);
2980 state.view.setVisibility(INVISIBLE);
3719 // would run normally in order to satisfy instance state restoration.
3856 * Gets a panel's state based on its feature ID.
3861 * @return The panel state.
3868 * Gets a panel's state based on its feature ID.
3873 * @param convertPanelState Optional: If the panel state does not exist, use
3874 * this as the panel state.
3875 * @return The panel state.
4080 * callback. This method will grab whatever extra state is needed for the
4340 /** Dynamic state of the panel. */
4393 * Contains the state of the menu when told to freeze.
4398 * Contains the state of associated action views when told to freeze.
4519 void onRestoreInstanceState(Parcelable state) {
4520 SavedState savedState = (SavedState) state;