Home
last modified time | relevance | path

Searched refs:underlineColor (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/text/
DTextPaint.java42 public int underlineColor = 0; field in TextPaint
73 underlineColor = tp.underlineColor; in set()
85 underlineColor = color; in setUnderlineText()
94 if (underlineColor != 0) { // Return custom thickness only if underline color is set. in getUnderlineThickness()
DTextLine.java925 if (info.underlineColor != 0) { in handleText()
926 drawStroke(wp, c, info.underlineColor, wp.getUnderlinePosition(), in handleText()
1028 public int underlineColor; field in TextLine.DecorationInfo
1034 return isStrikeThruText || isUnderlineText || underlineColor != 0; in hasDecoration()
1042 copy.underlineColor = underlineColor; in copyInfo()
1057 info.underlineColor = paint.underlineColor; in extractDecorationInfo()
1333 && lp.underlineColor == rp.underlineColor in equalAttributes()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java368 } else if (tp.underlineColor == 0) { in updateDrawState()
/frameworks/base/core/java/android/widget/
DEditor.java3863 final int underlineColor; in updateSuggestions() local
3865 underlineColor = in updateSuggestions()
3868 underlineColor = mMisspelledSpanInfo.mSuggestionSpan.getUnderlineColor(); in updateSuggestions()
3871 if (underlineColor == 0) { in updateSuggestions()
3876 final int newAlpha = (int) (Color.alpha(underlineColor) * BACKGROUND_TRANSPARENCY); in updateSuggestions()
3878 (underlineColor & 0x00FFFFFF) + (newAlpha << 24)); in updateSuggestions()