Lines Matching defs:colors
2489 ColorStateList colors;
2498 colors = appearance.getColorStateList(com.android.internal.R.styleable.
2500 if (colors != null) {
2501 setTextColor(colors);
2510 colors = appearance.getColorStateList(com.android.internal.R.styleable.
2512 if (colors != null) {
2513 setHintTextColor(colors);
2516 colors = appearance.getColorStateList(com.android.internal.R.styleable.
2518 if (colors != null) {
2519 setLinkTextColor(colors);
2840 public void setTextColor(ColorStateList colors) {
2841 if (colors == null) {
2845 mTextColor = colors;
2850 * Gets the text colors for the different states (normal, selected, focused) of the TextView.
3074 public final void setHintTextColor(ColorStateList colors) {
3075 mHintTextColor = colors;
3126 public final void setLinkTextColor(ColorStateList colors) {
3127 mLinkTextColor = colors;
3132 * @return the list of colors used to paint the links in the text, for the different states of
8195 ColorStateList colors = a.getColorStateList(R.styleable.TextView_textColor);
8196 if (colors == null) {
8201 colors = appearance.getColorStateList(R.styleable.TextAppearance_textColor);
8207 return colors;
8219 final ColorStateList colors = getTextColors(context, attrs);
8220 if (colors == null) {
8223 return colors.getDefaultColor();