Home | History | Annotate | Download | only in res

Lines Matching refs:states

53  * states that a view must either be in or not be in and the color specifies the color associated
55 * An item with no state spec is considered to match any set of states and is generally useful as
76 * states to colors.
78 public ColorStateList(int[][] states, int[] colors) {
79 mStateSpecs = states;
82 if (states.length > 0) {
85 for (int i = 0; i < states.length; i++) {
86 if (states[i].length == 0) {
155 * Creates a new ColorStateList that has the same states and
264 * Return the color associated with the given set of {@link android.view.View} states.
266 * @param stateSet an array of {@link android.view.View} states
270 * @return the color associated with that set of states in this {@link ColorStateList}.