Lines Matching defs:colors
37 * Lets you map {@link android.view.View} state sets to colors.
76 * states to colors.
78 public ColorStateList(int[][] states, int[] colors) {
80 mColors = colors;
83 mDefaultColor = colors[0];
87 mDefaultColor = colors[i];
156 * colors as this one but where each color has the specified alpha value
160 int[] colors = new int[mColors.length];
162 int len = colors.length;
164 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24);
167 return new ColorStateList(mStateSpecs, colors);
324 int[] colors = source.createIntArray();
325 return new ColorStateList(stateSpecs, colors);