Lines Matching defs:style
17 package android.text.style;
29 * Sets the text color, size, style, and typeface to match a TextAppearance
42 * <code>android.R.style.TextAppearance_Small</code>.
52 * for example, <code>android.R.style.TextAppearance_Small</code>,
99 a = context.obtainStyledAttributes(com.android.internal.R.style.Theme,
110 * Makes text be drawn with the specified typeface, size, style,
113 public TextAppearanceSpan(String family, int style, int size,
116 mStyle = style;
207 * Returns the text style specified by this span, or <code>0</code>
231 int style = 0;
234 style = tf.getStyle();
237 style |= mStyle;
240 tf = Typeface.create(mTypeface, style);
242 tf = Typeface.defaultFromStyle(style);
244 tf = Typeface.create(tf, style);
247 int fake = style & ~tf.getStyle();