Lines Matching defs:state

472  * If you are doing work on other threads and want to update the state of a view
528 * The touch mode state is maintained across {@link android.app.Activity}s. Call
558 * be used to set persistent state associated with these rendering-related properties on the view.
992 * <p>Indicates that the view hierarchy should stop saving state when
993 * it reaches this view. If state saving is initiated immediately at
1057 * {@link #getMeasuredWidthAndState()} that provide the additional state bits.
1077 * Base View state sets
1083 * view depending on its state.
1092 * view depending on its state.
1101 * view depending on its state.
1110 * view depending on its state.
1119 * view depending on its state.
1129 * view depending on its state.
1686 * Indicates a prepressed state;
1871 * Indicates that the view is tracking some sort of transient state
2122 * Flag indicating whether a view state for accessibility has changed.
2233 * <p>This is an even less obtrusive state than that called for by
2266 * it is a transient state -- that is, the application does this at certain
2268 * on content, but not as a continuous state. For situations where the application
2272 * is usually a better approach. The state set here will be removed by the system
2291 * as a continuous state. In the stock Android UI this is the space for
2307 * then a hidden status bar will be considered a "stable" state for purposes
2520 * Indicates that the screen has changed state and is now off.
2527 * Indicates that the screen has changed state and is now on.
2591 * Reference count for transient state.
3948 scrollabilityCache.state = ScrollabilityCache.ON;
4092 * Add a listener for attach state changes.
4111 * Remove a listener for attach state changes. The listener will receive no further
4545 * Called by the view system when the focus state of this view changes.
4796 * an accessibility event is the view whose state change triggered firing
5276 * focus within its window. This method can be used to clear any state tied to the
5653 * Check for state of {@link #setFitsSystemWindows(boolean). If this method
5707 * Set the enabled state of this view.
5720 * enabled state varies by subclass.
5730 * Set the enabled state of this view. The interpretation of the enabled
5731 * state varies by subclass.
5743 * the drawable state.
5941 * Indicates whether the view is currently tracking transient state that the
5945 * <p>A view with transient state cannot be trivially rebound from an external
5950 * @return true if the view has transient state
5958 * Set whether this view is currently tracking transient state that the
5963 * <p>A view with transient state cannot be trivially rebound from an external
5968 * @param hasTransientState true if this view has transient state
6056 * is clickable it will change its state to "pressed" on every click.
6096 * Sets the pressed state for this view.
6101 * @param pressed Pass true to set the View's internal state to "pressed", or false to reverts
6102 * the View's internal state from a previously set "pressed" state.
6124 * @param pressed The new pressed state
6130 * Indicates whether the view is currently in pressed state. Unless
6132 * the pressed state.
6145 * Indicates whether this view will save its state (that is,
6148 * @return Returns true if the view state saving is enabled, else false.
6158 * Controls whether the saving of this view's state is
6162 * for its state to be saved. This flag can only disable the
6163 * saving of this view; any child views may still have their state saved.
6165 * @param enabled Set to false to <em>disable</em> state saving, or true
6209 * state when a state saving traversal occurs from its parent. The default
6213 * @return Returns true if the view state saving from parent is enabled, else false.
6223 * state when a state saving traversal occurs from its parent. The default
6227 * @param enabled Set to false to <em>disable</em> state saving, or true
6848 * accessibility state has changed. Note that such notifications
6857 * TODO: Makse sure this method is called for any view state change
6873 * Reset the state indicating the this view has requested clients
6874 * interested in its accessibility state to be notified.
8008 * handling the hover event, such as by changing its drawable state.
8010 * The default implementation calls {@link #setHovered} to update the hovered state
8076 * by calling {@link #setHovered} to change its hovered state.
8106 * Calling this method also changes the drawable state of the view. This
8110 * The {@link #onHoverChanged} method is called when the hovered state changes.
8135 * Implement this method to handle hover state changes.
8137 * This method is called whenever the hover state changes as a result of a
8141 * @param hovered The current hover state, as returned by {@link #isHovered}.
8190 // state now (before scheduling the click) to ensure
8199 // Only perform take click actions if we were in the pressed state
8202 // performClick directly. This lets other visual state
8344 * The prepressed state handled by the tap callback is a display
8571 * Called when the focus state of a view has changed.
8573 * @param v The view whose state has changed.
8748 * Return only the state bits of {@link #getMeasuredWidthAndState()}
9471 * @return The dirty state of this view.
10209 if (scrollCache.state == ScrollabilityCache.OFF) {
10221 scrollCache.state = ScrollabilityCache.ON;
11042 scrollabilityCache.state = ScrollabilityCache.OFF;
11044 scrollabilityCache.state = ScrollabilityCache.ON;
11350 int state = cache.state;
11352 if (state == ScrollabilityCache.OFF) {
11358 if (state == ScrollabilityCache.FADING) {
11369 cache.state = ScrollabilityCache.OFF;
11616 * This method is called whenever the state of the screen this view is
11617 * attached to changes. A state change will usually occurs when the screen
11621 * @param screenState The new state of the screen. Can be either
11921 // We will need to evaluate the drawable state at least once.
11952 // If nobody has evaluated the drawable state yet, then do it now.
11991 * Store this view hierarchy's frozen state into the given container.
11993 * @param container The SparseArray in which to save the view's state.
12004 * Called by {@link #saveHierarchyState(android.util.SparseArray)} to store the state for
12006 * view's children; for example, some views may want to not store state for their children.
12008 * @param container The SparseArray in which to save the view's state.
12017 Parcelable state = onSaveInstanceState();
12022 if (state != null) {
12024 // + ": " + state);
12025 container.put(mID, state);
12031 * Hook allowing a view to generate a representation of its internal state
12032 * that can later be used to create a new instance with that same state.
12033 * This state should only contain information that is not persistent or can
12044 * state, or null if there is nothing interesting to save. The
12057 * Restore this view hierarchy's frozen state from the given container.
12071 * state for this view and its children. May be overridden to modify how restoring
12072 * happens to a view's children; for example, some views may want to not store state
12075 * @param container The SparseArray which holds previously saved state.
12083 Parcelable state = container.get(mID);
12084 if (state != null) {
12086 // + ": " + state);
12088 onRestoreInstanceState(state);
12098 * Hook allowing a view to re-apply a representation of its internal state that had previously
12100 * null state.
12102 * @param state The frozen state that had previously been returned by
12109 protected void onRestoreInstanceState(Parcelable state) {
12111 if (state != BaseSavedState.EMPTY_STATE && state != null) {
12112 throw new IllegalArgumentException("Wrong state class, expecting View State but "
12113 + "received " + state.getClass().toString() + " instead. This usually happens "
12130 * <p>Enables or disables the duplication of the parent's state into this view. When
12131 * duplication is enabled, this view gets its drawable state from its parent rather
12144 * @param enabled True to enable duplication of the parent's drawable state, false
12155 * <p>Indicates whether this duplicates its drawable state from its parent.</p>
12157 * @return True if this view's drawable state is duplicated from the parent,
12383 // this.setBackground(Drawable) can leave the view in a bad state
12500 * Debugging utility which recursively outputs the dirty state of a view and its
12562 * along the way, depending on the invalidation state of the view).
14270 * This function is called whenever the state of the view changes in such
14271 * a way that it impacts the state of drawables being shown.
14286 * Call this to force a view to update its drawable state. This will cause
14288 * in the new state should call getDrawableState.
14305 * current state of the view.
14307 * @return The current drawable state
14324 * Generate the new {@link android.graphics.drawable.Drawable} state for
14326 * system when the cached Drawable state is determined to be invalid. To
14327 * retrieve the current state, you should use {@link #getDrawableState}.
14333 * @return Returns an array holding the current {@link Drawable} state of
14398 * Merge your own state values in <var>additionalState</var> into the base
14399 * state values <var>baseState</var> that were returned by
14402 * @param baseState The base state values returned by
14404 * own additional state values.
14406 * @param additionalState The additional state values you would like
14853 * Changes the selection state of this view. A view can be selected or not.
14878 * @param selected The new selected state
14884 * Indicates the selection state of this view.
14894 * Changes the activated state of this view. A view can be activated or not.
14897 * currently interacting with. Activation is a longer-term state that the
14901 * here.) The activated state is propagated down to children of the view it
14920 * @param activated The new activated state
14926 * Indicates the activation state of this view.
15602 * @param curState The current state as returned from a view or the result
15604 * @param newState The new view state to combine.
15621 * Utility to reconcile a desired size and state, with constraints imposed
15999 * to use as much of the display as possible for the video. When in this state
16296 // Cache the local state object for delivery with DragEvents
17482 * Interface definition for a callback to be invoked when the focus state of
17487 * Called when the focus state of a view has changed.
17489 * @param v The view whose state has changed.
17490 * @param hasFocus The new focus state of v.
17528 * state, not what the application is requesting.
17539 * This tells you the <strong>global</strong> state of these UI visibility
17570 * state in {@link android.view.View#onSaveInstanceState()}.
17574 * Constructor used when reading from a parcel. Reads the state of the superclass.
17585 * @param superState The state of the superclass of this view
18003 * The current state of the scrollbars: ON, OFF, or FADING
18005 public int state = OFF;
18063 state = FADING;