Lines Matching refs:style

102 import android.text.style.CharacterStyle;
103 import android.text.style.ClickableSpan;
104 import android.text.style.ParagraphStyle;
105 import android.text.style.SpellCheckSpan;
106 import android.text.style.SuggestionSpan;
107 import android.text.style.URLSpan;
108 import android.text.style.UpdateAppearance;
633 // they are defined by the TextView's style and are theme-dependent.
639 // default style is modified.
1628 * Sets the typeface and style in which the text should be displayed,
1631 * style that you specified.
1636 public void setTypeface(Typeface tf, int style) {
1637 if (style > 0) {
1639 tf = Typeface.defaultFromStyle(style);
1641 tf = Typeface.create(tf, style);
1647 int need = style & ~typefaceStyle;
2779 * Sets the text appearance from the specified style resource.
2781 * Use a framework-defined {@code TextAppearance} style like
2782 * {@link android.R.style#TextAppearance_Material_Body1 @android:style/TextAppearance.Material.Body1}
2784 * set of attributes that can be used in a custom style.
2786 * @param resId the resource identifier of the style to apply
2795 * Sets the text color, size, style, hint color, and highlight color
3043 * Sets the typeface and style in which the text should be displayed.
3068 * @return the current typeface and style in which the text is being
4302 * To style your strings, attach android.text.style.* objects to a
6521 * This is used to remove all style-impacting spans from text before new
9019 // Extract style information that applies to the TextView as a whole.
9020 int style = 0;
9023 style |= AssistStructure.ViewNode.TEXT_STYLE_BOLD;
9026 style |= AssistStructure.ViewNode.TEXT_STYLE_ITALIC;
9032 style |= AssistStructure.ViewNode.TEXT_STYLE_BOLD;
9035 style |= AssistStructure.ViewNode.TEXT_STYLE_UNDERLINE;
9038 style |= AssistStructure.ViewNode.TEXT_STYLE_STRIKE_THRU;
9044 AssistStructure.ViewNode.TEXT_COLOR_UNDEFINED /* bgColor */, style);