Lines Matching refs:color
1531 * Helper action to set a color filter on a compound drawable on a TextView. Supports relative
1536 int color, PorterDuff.Mode mode) {
1540 this.color = color;
1548 color = parcel.readInt();
1566 dest.writeInt(color);
1583 d.setColorFilter(color, mode);
1593 final int color;
2032 * Equivalent to applying a color filter on one of the drawables in
2037 * {@link android.widget.TextView#getCompoundDrawablesRelative()} to set the color
2039 * @param color The color of the color filter. See
2041 * @param mode The mode of the color filter. See
2046 int index, int color, PorterDuff.Mode mode) {
2050 addAction(new TextViewDrawableColorFilterAction(viewId, true, index, color, mode));
2209 * @param colorFilter Specify a color for a
2262 * @param viewId The id of the view whose text color should change
2263 * @param color Sets the text color for all the states (normal, selected,
2264 * focused) to be this color.
2266 public void setTextColor(int viewId, int color) {
2267 setInt(viewId, "setTextColor", color);