Home
last modified time | relevance | path

Searched refs:subSequence (Results 1 – 25 of 35) 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/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()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.kt111 return subSequence(0, length) in toString()
133 override fun subSequence(startIndex: Int, endIndex: Int): String { in subSequence() method in 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/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java413 TextUtils.ellipsize(mText.subSequence(firstLine.length(), mText.length()), in isTextTruncated()
415 return !(TextUtils.equals(mText.subSequence(0, firstLine.length()), firstLine) in isTextTruncated()
416 && TextUtils.equals(mText.subSequence(firstLine.length(), secondLine.length()), in isTextTruncated()
DBubbleTextView.java897 currentWord = title.subSequence(stringPtr, breakPoints.get(i) + 1); in modifyTitleToSupportMultiLine()
900 currentWord = title.subSequence(stringPtr, title.length()); in modifyTitleToSupportMultiLine()
911 CharSequence lastCharacters = title.subSequence(stringPtr, title.length()); in modifyTitleToSupportMultiLine()
917 ? lastCharacters.subSequence(1, lastCharacters.length()) in modifyTitleToSupportMultiLine()
/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/Settings/src/com/android/settings/utils/
DLocaleUtils.java45 return formatted.subSequence(0, TextUtils.indexOf(formatted, lastItem) + lastItem.length()); in getConcatenatedString()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DUnicodeDialerKeyListener.java51 return converted.subSequence(start, end); 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/Car/Settings/src/com/android/car/settings/bluetooth/
DUtf8ByteLengthFilter.java77 return source.subSequence(start, i); in filter()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilter.java78 return source.subSequence(start, i); in filter()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapSimVcardManager.java524 return ((name.contains(PB.subSequence(0, PB.length())) in isSimPhoneBook()
525 && name.contains(SIM1.subSequence(0, SIM1.length()))) in isSimPhoneBook()
527 || (((name.contains(PB.subSequence(0, PB.length()))) in isSimPhoneBook()
/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/apps/DocumentsUI/src/com/android/documentsui/inspector/
DGpsCoordinatesTextClassifier.java68 CharSequence sequence = text.subSequence(start, end); in classifyText()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DFontScalePreviewFragment.java93 sampleText.getText().subSequence(0, lineEndIndex - ELLIPSIS.length()) in onLayoutChange()
/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/apps/Settings/src/com/android/settings/datetime/timezone/
DSpannableUtil.java63 return s.subSequence(0, precision); in handlePrecision()
/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/Settings/tests/unit/src/com/android/settings/network/
DMobileNetworkIntentConverterTest.java60 "Test Title".subSequence(0, 10);
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestRttActivity.java202 s.subSequence(s.length() - numCharsInserted, s.length()).toString(); in onCreate()

12