Lines Matching refs:text
21 import android.text.Annotation;
22 import android.text.SpannableStringBuilder;
23 import android.text.Spanned;
24 import android.text.style.TextAppearanceSpan;
42 final CharSequence text = textView.getText();
43 assertTrue("Text should be spanned", text instanceof Spanned);
45 Object[] spans = ((Spanned) text).getSpans(0, text.length(), Annotation.class);
48 spans = ((Spanned) text).getSpans(0, text.length(), LinkSpan.class);
64 final CharSequence text = textView.getText();
65 assertTrue("Text should be spanned", text instanceof Spanned);
67 Object[] spans = ((Spanned) text).getSpans(0, text.length(), Annotation.class);
70 spans = ((Spanned) text).getSpans(0, text.length(), TextAppearanceSpan.class);