Lines Matching refs:color

1446         // Will change text color
2480 * Sets the text color, size, style, hint color, and highlight color
2488 int color;
2492 color = appearance.getColor(
2494 if (color != 0) {
2495 setHighlightColor(color);
2816 * Sets the text color for all the states (normal, selected,
2817 * focused) to be this color.
2825 public void setTextColor(int color) {
2826 mTextColor = ColorStateList.valueOf(color);
2831 * Sets the text color.
2862 * <p>Return the current color selected for normal text.</p>
2864 * @return Returns the current text color.
2871 * Sets the color used to display the selection highlight.
2876 public void setHighlightColor(int color) {
2877 if (mHighlightColor != color) {
2878 mHighlightColor = color;
2884 * @return the color used to display the selection highlight
2914 * Gives the text a shadow of the specified blur radius and color, the specified
2929 public void setShadowLayer(float radius, float dx, float dy, int color) {
2930 mTextPaint.setShadowLayer(radius, dx, dy, color);
2935 mShadowColor = color;
2978 * @return the color of the shadow layer
3049 * Sets the color of the hint text for all the states (disabled, focussed, selected...) of this
3059 public final void setHintTextColor(int color) {
3060 mHintTextColor = ColorStateList.valueOf(color);
3065 * Sets the color of the hint text.
3080 * @return the color of the hint text, for the different states of this TextView.
3094 * <p>Return the current color selected to paint the hint text.</p>
3096 * @return Returns the current hint text color.
3103 * Sets the color of links in the text.
3111 public final void setLinkTextColor(int color) {
3112 mLinkTextColor = ColorStateList.valueOf(color);
3117 * Sets the color of links in the text.
3621 int color = mTextColor.getColorForState(getDrawableState(), 0);
3622 if (color != mCurTextColor) {
3623 mCurTextColor = color;
3627 color = mLinkTextColor.getColorForState(getDrawableState(), 0);
3628 if (color != mTextPaint.linkColor) {
3629 mTextPaint.linkColor = color;
3634 color = mHintTextColor.getColorForState(getDrawableState(), 0);
3635 if (color != mCurHintTextColor && mText.length() == 0) {
3636 mCurHintTextColor = color;
3641 // Text needs to be redrawn with the new color
5199 // Prevents text color change.
5341 int color = mCurTextColor;
5351 color = mCurHintTextColor;
5357 mTextPaint.setColor(color);
8211 * Returns the default color from the TextView_textColor attribute from the
8212 * AttributeSet, if set, or the default color from the