Lines Matching defs:states
25 * one or more of those states.
55 * prohibited (if negative) {@link android.view.View} states.
56 * @param stateSet an array of {@link android.view.View} states
74 // We use negative values to indicate must-NOT-match states.
82 // We've reached the end of states to match.
87 // Continue checking other must-not-match states.
94 // Continue checking other other must-match states.
103 // We've reached the end of states to match and we didn't
115 * prohibited (if negative) {@link android.view.View} states.
131 // We use negative values to indicate must-NOT-match states.
141 public static int[] trimStateSet(int[] states, int newSize) {
142 if (states.length == newSize) {
143 return states;
147 System.arraycopy(states, 0, trimmedStates, 0, newSize);
151 public static String dump(int[] states) {
154 int count = states.length;
157 switch (states[i]) {