Lines Matching refs:colors
48 * Lets you map {@link android.view.View} state sets to colors.
151 * states to colors.
153 public ColorStateList(int[][] states, @ColorInt int[] colors) {
155 mColors = colors;
280 * Creates a new ColorStateList that has the same states and colors as this
288 final int[] colors = new int[mColors.length];
289 final int len = colors.length;
291 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24);
294 return new ColorStateList(mStateSpecs, colors);
578 * Return the colors in this {@link ColorStateList}. The returned array
581 * @return the colors in this {@link ColorStateList}
633 final int[] colors = mColors;
636 defaultColor = colors[0];
640 defaultColor = colors[i];
646 if (Color.alpha(colors[i]) != 0xFF) {
723 final int[] colors = source.createIntArray();
724 return new ColorStateList(stateSpecs, colors);