Searched refs:SpannableStringUtils (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtilsTests.java | 65 (Spanned)SpannableStringUtils.concatWithNonParagraphSuggestionSpansOnly(a, b); in testConcatWithSuggestionSpansOnly() 122 final CharSequence[] charSequencesFromSpanned = SpannableStringUtils.split( in testSplitCharSequenceWithSpan() 124 final CharSequence[] charSequencesFromString = SpannableStringUtils.split( in testSplitCharSequenceWithSpan() 204 assertEquals(1, SpannableStringUtils.split("", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 206 assertEquals(1, SpannableStringUtils.split(new SpannedString(""), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 209 assertEquals(1, SpannableStringUtils.split("", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 211 assertEquals(1, SpannableStringUtils.split(new SpannedString(""), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 214 assertEquals(0, SpannableStringUtils.split(" ", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 216 assertEquals(0, SpannableStringUtils.split(new SpannedString(" "), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 219 assertEquals(2, SpannableStringUtils.split(" ", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 45 import com.android.inputmethod.latin.utils.SpannableStringUtils; 748 SpannableStringUtils.hasUrlSpans(before, startIndexInBefore, before.length()) in getWordRangeAtCursor() 749 || SpannableStringUtils.hasUrlSpans(after, 0, endIndexInAfter); in getWordRangeAtCursor() 754 SpannableStringUtils.concatWithNonParagraphSuggestionSpansOnly(before, after), in getWordRangeAtCursor()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerSession.java | 31 import com.android.inputmethod.latin.utils.SpannableStringUtils; 75 final CharSequence[] splitTexts = SpannableStringUtils.split(subText, in fixWronglyInvalidatedWordWithSingleQuote()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtils.java | 33 public final class SpannableStringUtils { class
|