Home | History | Annotate | Download | only in calendar

Lines Matching refs:spanText

1772         Spannable spanText = SpannableString.valueOf(text);
1782 Linkify.addLinks(spanText, Linkify.ALL);
1785 URLSpan[] spans = spanText.getSpans(0, spanText.length(), URLSpan.class);
1787 int linkStart = spanText.getSpanStart(spans[0]);
1788 int linkEnd = spanText.getSpanEnd(spans[0]);
1789 if (linkStart <= indexFirstNonWhitespaceChar(spanText) &&
1790 linkEnd >= indexLastNonWhitespaceChar(spanText) + 1) {
1791 return spanText;
1796 spanText = SpannableString.valueOf(text);
1799 Linkify.addLinks(spanText, mWildcardPattern, "geo:0,0?q=");
1801 return spanText;
1824 boolean linkifyFoundLinks = Linkify.addLinks(spanText,
1830 URLSpan[] existingSpans = spanText.getSpans(0, spanText.length(), URLSpan.class);
1836 Matcher coordMatcher = COORD_PATTERN.matcher(spanText);
1841 if (spanWillOverlap(spanText, existingSpans, start, end)) {
1846 spanText.setSpan(span, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
1853 existingSpans = spanText.getSpans(0, spanText.length(), URLSpan.class);
1872 if (spanWillOverlap(spanText, existingSpans, start, end)) {
1887 char ch = spanText.charAt(i);
1894 spanText.setSpan(span, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
1906 Linkify.addLinks(spanText, mWildcardPattern, "geo:0,0?q=");
1909 return spanText;
2062 private static boolean spanWillOverlap(Spannable spanText, URLSpan[] spanList, int start,
2069 int existingStart = spanText.getSpanStart(span);
2070 int existingEnd = spanText.getSpanEnd(span);
2074 CharSequence seq = spanText.subSequence(start, end);