Home
last modified time | relevance | path

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

12

/packages/apps/Dialer/java/com/android/dialer/i18n/
DDialerBidiFormatter.java71 spannableStringBuilder.append(text.subSequence(currIndex, start)); in format()
79 String.valueOf(LRE), text.subSequence(start, end), String.valueOf(PDF)))); in format()
86 spannableStringBuilder.append(text.subSequence(currIndex, text.length())); in format()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DHeaderTextSelectorTest.java64 testSequence.subSequence(mTestSelector.mStart, mTestSelector.mStop); in testSimpleFileName()
80 testSequence.subSequence(mTestSelector.mStart, mTestSelector.mStop); in testLotsOfPeriodsInFileName()
93 testSequence.subSequence(mTestSelector.mStart, mTestSelector.mStop); in testNoPeriodsInFileName()
/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/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/tests/src/com/android/inputmethod/latin/utils/
DSpannableStringUtilsTests.java62 final CharSequence a = s.subSequence(0, 15); in testConcatWithSuggestionSpansOnly()
63 final CharSequence b = s.subSequence(15, s.length()); in testConcatWithSuggestionSpansOnly()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DUnicodeDialerKeyListener.java51 return converted.subSequence(start, end); in filter()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DUtf8ByteLengthFilter.java77 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/Settings/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilter.java78 return source.subSequence(start, i); in filter()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DUtf8ByteLengthFilter.java78 return source.subSequence(start, i); in filter()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DScaleSpan.java69 canvas.drawText(text.subSequence(start, end).toString(), x, y + yShift, paint); in draw()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DEchoingTextWatcher.java75 final String last = s.subSequence(len - 1, len).toString(); in onTextChanged()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DTextInfoCompatUtilsTests.java66 final Spanned expectedSpanned = (Spanned) text.subSequence(TEST_CHAR_SEQUENCE_START, in testGetCharSequence()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DRichInputConnectionAndTextRangeTests.java85 TextUtils.writeToParcel(text.subSequence(0, cursorPosition), p, 0 /* flags */); in MockConnection()
86 TextUtils.writeToParcel(text.subSequence(cursorPosition, text.length()), p, in MockConnection()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DGpsCoordinatesTextClassifier.java68 CharSequence sequence = text.subSequence(start, end); in classifyText()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DAccessibilityContextMenuMaker.java101 menu.add(spanned.subSequence(s, t)).setOnMenuItemClickListener(menuItem -> { in populateMenuContent()
/packages/apps/Contacts/src/com/android/contacts/compat/
DPhoneNumberUtilsCompat.java128 s.setSpan(createTtsSpan(s.subSequence(start, endExclusive).toString()), in addTtsSpanInternal()
/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/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestRttActivity.java202 s.subSequence(s.length() - numCharsInserted, s.length()).toString(); in onCreate()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DLevenshteinFormatterTest.java351 String spannedText = spanned.subSequence(mStart, mEnd).toString(); in verify()
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3Subscriber.java356 String text = doc.subSequence(doc.getSpanStart(span), doc.getSpanEnd(span)).toString(); in findSubscribeLink()

12