Lines Matching refs:color

1454         // Will change text color
2488 * Sets the text color, size, style, hint color, and highlight color
2496 int color;
2500 color = appearance.getColor(
2502 if (color != 0) {
2503 setHighlightColor(color);
2824 * Sets the text color for all the states (normal, selected,
2825 * focused) to be this color.
2833 public void setTextColor(int color) {
2834 mTextColor = ColorStateList.valueOf(color);
2839 * Sets the text color.
2870 * <p>Return the current color selected for normal text.</p>
2872 * @return Returns the current text color.
2879 * Sets the color used to display the selection highlight.
2884 public void setHighlightColor(int color) {
2885 if (mHighlightColor != color) {
2886 mHighlightColor = color;
2892 * @return the color used to display the selection highlight
2922 * Gives the text a shadow of the specified blur radius and color, the specified
2937 public void setShadowLayer(float radius, float dx, float dy, int color) {
2938 mTextPaint.setShadowLayer(radius, dx, dy, color);
2943 mShadowColor = color;
2986 * @return the color of the shadow layer
3057 * Sets the color of the hint text for all the states (disabled, focussed, selected...) of this
3067 public final void setHintTextColor(int color) {
3068 mHintTextColor = ColorStateList.valueOf(color);
3073 * Sets the color of the hint text.
3088 * @return the color of the hint text, for the different states of this TextView.
3102 * <p>Return the current color selected to paint the hint text.</p>
3104 * @return Returns the current hint text color.
3111 * Sets the color of links in the text.
3119 public final void setLinkTextColor(int color) {
3120 mLinkTextColor = ColorStateList.valueOf(color);
3125 * Sets the color of links in the text.
3629 int color = mTextColor.getColorForState(getDrawableState(), 0);
3630 if (color != mCurTextColor) {
3631 mCurTextColor = color;
3635 color = mLinkTextColor.getColorForState(getDrawableState(), 0);
3636 if (color != mTextPaint.linkColor) {
3637 mTextPaint.linkColor = color;
3642 color = mHintTextColor.getColorForState(getDrawableState(), 0);
3643 if (color != mCurHintTextColor) {
3644 mCurHintTextColor = color;
3651 // Text needs to be redrawn with the new color
5215 // Prevents text color change.
5357 int color = mCurTextColor;
5367 color = mCurHintTextColor;
5373 mTextPaint.setColor(color);
8227 * Returns the default color from the TextView_textColor attribute from the
8228 * AttributeSet, if set, or the default color from the