Lines Matching refs:states
25 * one or more of those states.
128 * A state set that does not contain any valid states.
145 * prohibited (if negative) {@link android.view.View} states.
146 * @param stateSet an array of {@link android.view.View} states
164 // We use negative values to indicate must-NOT-match states.
172 // We've reached the end of states to match.
177 // Continue checking other must-not-match states.
184 // Continue checking other other must-match states.
193 // We've reached the end of states to match and we didn't
205 * prohibited (if negative) {@link android.view.View} states.
221 // We use negative values to indicate must-NOT-match states.
231 public static int[] trimStateSet(int[] states, int newSize) {
232 if (states.length == newSize) {
233 return states;
237 System.arraycopy(states, 0, trimmedStates, 0, newSize);
241 public static String dump(int[] states) {
244 int count = states.length;
247 switch (states[i]) {