Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DLocaleSpanCompatUtilsTests.java43 private static void assertLocaleSpan(final Spanned spanned, final int index, in assertLocaleSpan() argument
46 final Object span = spanned.getSpans(0, spanned.length(), Object.class)[index]; in assertLocaleSpan()
48 assertEquals(expectedStart, spanned.getSpanStart(span)); in assertLocaleSpan()
49 assertEquals(expectedEnd, spanned.getSpanEnd(span)); in assertLocaleSpan()
50 assertEquals(expectedSpanFlags, spanned.getSpanFlags(span)); in assertLocaleSpan()
53 private static void assertSpanEquals(final Object expectedSpan, final Spanned spanned, in assertSpanEquals() argument
55 final Object[] spans = spanned.getSpans(0, spanned.length(), Object.class); in assertSpanEquals()
59 private static void assertSpanCount(final int expectedCount, final Spanned spanned) { in assertSpanCount() argument
60 final Object[] spans = spanned.getSpans(0, spanned.length(), Object.class); in assertSpanCount()
DSuggestionSpanUtilsTest.java59 final Spanned spanned = (Spanned)actualText; in assertNotSuggestionSpan() local
60 final SuggestionSpan[] suggestionSpans = spanned.getSpans(0, spanned.length(), in assertNotSuggestionSpan()
71 final Spanned spanned = (Spanned)actualText; in assertSuggestionSpan() local
72 final SuggestionSpan[] suggestionSpans = spanned.getSpans(0, spanned.length(), in assertSuggestionSpan()
80 assertTrue((spanned.getSpanFlags(suggestionSpan) & requiredSpanFlags) != 0); in assertSuggestionSpan()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DSpannableStringUtilsTests.java63 final Spanned spanned = (Spanned) cs; in assertSpanCount() local
64 actualCount = spanned.getSpans(0, spanned.length(), Object.class).length; in assertSpanCount()
74 final Spanned spanned = (Spanned) cs; in assertSpan() local
75 final Object[] actualSpans = spanned.getSpans(0, spanned.length(), Object.class); in assertSpan()
78 final int actualStart = spanned.getSpanStart(actualSpan); in assertSpan()
79 final int actualEnd = spanned.getSpanEnd(actualSpan); in assertSpan()
80 final int actualFlags = spanned.getSpanFlags(actualSpan); in assertSpan()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSpannableStringUtils.java91 boolean spanned = false; in concatWithNonParagraphSuggestionSpansOnly()
94 spanned = true; in concatWithNonParagraphSuggestionSpansOnly()
104 if (!spanned) { in concatWithNonParagraphSuggestionSpansOnly()
128 final Spanned spanned = (Spanned)text; in hasUrlSpans() local
131 final URLSpan[] spans = spanned.getSpans(startIndex - 1, endIndex + 1, URLSpan.class); in hasUrlSpans()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlUtils.java55 final Spanned spanned = htmlTree.getSpanned(); in htmlToSpan() local
59 spanned.length()); in htmlToSpan()
60 return spanned; in htmlToSpan()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DLevenshteinFormatterTest.java350 public void verify(Spanned spanned) { in verify() argument
351 String spannedText = spanned.subSequence(mStart, mEnd).toString(); in verify()
353 MockStyleSpan[] spans = spanned.getSpans(mStart, mEnd, MockStyleSpan.class); in verify()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DBadgeSpan.java57 public BadgeSpan(Spanned spanned, BadgeSpanDimensions dims) { in BadgeSpan() argument
58 mSpanned = spanned; in BadgeSpan()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java783 SpannableString spanned = new SpannableString(msg); in wrapForTts() local
784 spanned.setSpan(new TtsSpan.TextBuilder(ttsMsg).build(), in wrapForTts()
785 0, spanned.length(), Spannable.SPAN_INCLUSIVE_INCLUSIVE); in wrapForTts()
786 return spanned; in wrapForTts()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java3998 protected void onPostExecute(Spanned spanned) {
4000 setBody(spanned, false);
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt562 spanned 194560
623 spanned 591359
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz