Home
last modified time | relevance | path

Searched refs:subSequence (Results 1 – 25 of 31) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSpannableStringUtils.java164 sequences.add(charSequence.subSequence(nextStart, matcher.start())); in split()
172 sequences.add(charSequence.subSequence(nextStart, charSequence.length())); in split()
DTextRange.java120 mWord = mTextAtCursor.subSequence(mWordAtCursorStartIndex, mWordAtCursorEndIndex); in TextRange()
DCursorAnchorInfoUtils.java163 final CharSequence composingText = text.subSequence(composingTextStart, in extractFromTextViewInternal()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java167 return subSequence(0, length()); in toString()
189 public String subSequence(int start, int end) { in subSequence() method in LevenshteinDistance.Token
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java177 : beforeCursor.subSequence(beforeCursor.length() - actualLength, in checkConsistencyForDebug()
575 mComposingText.append(textBeforeCursor.subSequence(indexOfStartOfComposingText, in setComposingRegion()
578 textBeforeCursor.subSequence(0, indexOfStartOfComposingText)); in setComposingRegion()
667 : prev.subSequence(prev.length() - checkLength, prev.length()).toString(); in getNgramContextFromNthPreviousWord()
847 final String text = " " + textBeforeCursor.subSequence(0, 1); in revertSwapPunctuation()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DSpannableStringUtilsTests.java46 final CharSequence a = s.subSequence(0, 15); in testConcatWithSuggestionSpansOnly()
47 final CharSequence b = s.subSequence(15, s.length()); in testConcatWithSuggestionSpansOnly()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharMatcher.java994 return sequence.subSequence(first, last + 1).toString();
1016 return sequence.subSequence(first, len).toString();
1038 return sequence.subSequence(0, last + 1).toString();
1069 .append(sequence.subSequence(0, first))
DCharEscaper.java91 out.append(escape(csq.subSequence(start, end).toString())); in escape()
DUnicodeEscaper.java296 out.append(escape(csq.subSequence(start, end).toString())); in escape()
DSplitter.java397 return toSplit.subSequence(start, end).toString();
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintEnrollIntroduction.java215 ret = TextUtils.concat(ret.subSequence(0, start), in linkify()
216 msg.subSequence(end, msg.length())); in linkify()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DUnicodeDialerKeyListener.java49 return converted.subSequence(start, end); in filter()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilter.java75 return source.subSequence(start, i); in filter()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DTextInfoCompatUtils.java48 return new TextInfo(charSequence.subSequence(start, end).toString(), cookie, in newInstance()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorExpressionBuilder.java45 mTokenizer.getNormalizedExpression(tb.subSequence(tbstart, tbend).toString()); in replace()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DTextInfoCompatUtilsTests.java58 final Spanned expectedSpanned = (Spanned) text.subSequence(TEST_CHAR_SEQUENCE_START, in testGetCharSequence()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DEllipsizedMultilineTextView.java83 final CharSequence remainder = TextUtils.ellipsize(text.subSequence(lastLineStart, in setText()
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/
DPhoneNumberUtilsCompat.java128 s.setSpan(createTtsSpan(s.subSequence(start, endExclusive).toString()), in addTtsSpanInternal()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DRichInputConnectionAndTextRangeTests.java76 TextUtils.writeToParcel(text.subSequence(0, cursorPosition), p, 0 /* flags */); in MockConnection()
77 TextUtils.writeToParcel(text.subSequence(cursorPosition, text.length()), p, in MockConnection()
/packages/apps/Settings/src/com/android/settings/widget/
DLinkAccessibilityHelper.java138 return spannedText.subSequence(spannedText.getSpanStart(span), in getTextForSpan()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSentenceLevelAdapter.java151 wordEnd, cookie, originalText.subSequence(wordStart, wordEnd).hashCode());
DAndroidSpellCheckerSession.java67 final CharSequence subText = typedText.subSequence(offset, offset + length); in fixWronglyInvalidatedWordWithSingleQuote()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DLevenshteinFormatterTest.java351 String spannedText = spanned.subSequence(mStart, mEnd).toString(); in verify()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorText.java250 announceForAccessibility(newText.subSequence(oldLen, newLen)); in changeTextTo()
/packages/apps/Calendar/tests/src/com/android/calendar/
DUtilsTests.java400 CharSequence seq = text.subSequence(results[i*2], results[i*2 + 1]); in findPhoneNumber()

12