Lines Matching defs:states
67 * states that a view must either be in or not be in and the color specifies the color associated
78 * states may be set or unset:
91 * file. An item with no state spec is considered to match any set of states and is generally
151 * states to colors.
153 public ColorStateList(int[][] states, @ColorInt int[] colors) {
154 mStateSpecs = states;
280 * Creates a new ColorStateList that has the same states and colors as this
536 * {@link android.view.View} states.
538 * @param stateSet an array of {@link android.view.View} states
543 * @return the color associated with that set of states in this {@link ColorStateList}.
567 * Return the states in this {@link ColorStateList}. The returned array
570 * @return the states in this {@link ColorStateList}
604 final int[] states = stateSpecs[specIndex];
605 final int stateCount = states.length;
607 if (states[stateIndex] == state || states[stateIndex] == ~state) {
632 final int[][] states = mStateSpecs;
634 final int N = states.length;
639 if (states[i].length == 0) {