Home
last modified time | relevance | path

Searched refs:getSpans (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DTextUtilitiesTests.java202 BackgroundColorSpan[] spans = ssb.getSpans(0, ssb.length(), BackgroundColorSpan.class); in testHighlightSingleTermText()
213 spans = ssb.getSpans(0, ssb.length(), BackgroundColorSpan.class); in testHighlightSingleTermText()
229 BackgroundColorSpan[] spans = ssb.getSpans(0, ssb.length(), BackgroundColorSpan.class); in testHighlightTwoTermText()
245 BackgroundColorSpan[] spans = ssb.getSpans(0, ssb.length(), BackgroundColorSpan.class); in testHighlightDuplicateTermText()
257 BackgroundColorSpan[] spans = ssb.getSpans(0, ssb.length(), BackgroundColorSpan.class); in testHighlightOverlapTermText()
270 BackgroundColorSpan[] spans = ssb.getSpans(0, ssb.length(), BackgroundColorSpan.class); in testHighlightOverlapTermText2()
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DHtmlUtilsTest.java104 ImageSpan[] imageSpans = ret.getSpans(0, ret.length(), ImageSpan.class); in checkPostProcess()
110 QuoteSpan[] quoteSpans = ret.getSpans(0, ret.length(), QuoteSpan.class); in checkPostProcess()
115 CustomSpan[] customSpans = ret.getSpans(0, ret.length(), CustomSpan.class); in checkPostProcess()
/packages/apps/Contacts/src/com/android/contacts/util/
DHtmlUtils.java87 final QuoteSpan[] quoteSpans = builder.getSpans(0, length, QuoteSpan.class); in postprocess()
97 final ImageSpan[] imageSpans = builder.getSpans(0, length, ImageSpan.class); in postprocess()
/packages/apps/Mms/src/com/android/mms/ui/
DRecipientsEditor.java101 mAffected = ((Spanned) s).getSpans(start, start + count, in RecipientsEditor()
358 Annotation[] a = sp.getSpans(start, end, Annotation.class); in getSpanLength()
367 Annotation[] a = sp.getSpans(start, end, Annotation.class); in getFieldAt()
DComposeMessageActivity.java891 URLSpan[] urls = ((Spanned) text).getSpans(min, max, in getSelectedUriFromMessageList()
923 MessageUtils.extractUris(msg.getSpans(0, msg.length(), URLSpan.class)); in addCallAndContactMenuItems()
/packages/apps/Mms/tests/src/com/android/mms/util/
DSmileyParserUnitTests.java55 ImageSpan[] spans = buf.getSpans(0, buf.length(), ImageSpan.class); in testSmileyParser()
/packages/apps/Contacts/src/com/android/contacts/widget/
DTextHighlightingAnimation.java88 public <T> T[] getSpans(int start, int end, Class<T> type) { in getSpans() method in TextHighlightingAnimation.TextWithHighlightingImpl
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DLevenshteinFormatterTest.java353 MockStyleSpan[] spans = spanned.getSpans(mStart, mEnd, MockStyleSpan.class); in verify()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java73 mInputText.getSpans(0, mInputText.length(), spanType); in SpanGetter()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionsView.java586 final StyleSpan[] styles = ss.getSpans(0, text.length(), StyleSpan.class); in getTextTypeface()
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java1500 URLSpan[] existingSpans = spanText.getSpans(0, spanText.length(), URLSpan.class); in linkifyTextView()