/packages/apps/Dialer/java/com/android/dialer/i18n/ |
D | DialerBidiFormatter.java | 71 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/ |
D | HeaderTextSelectorTest.java | 64 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/ |
D | SpannableStringUtils.java | 164 sequences.add(charSequence.subSequence(nextStart, matcher.start())); in split() 172 sequences.add(charSequence.subSequence(nextStart, charSequence.length())); in split()
|
D | TextRange.java | 120 mWord = mTextAtCursor.subSequence(mWordAtCursorStartIndex, mWordAtCursorEndIndex); in TextRange()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | LevenshteinDistance.kt | 111 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/ |
D | RichInputConnection.java | 177 : 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/ |
D | ButtonDropTarget.java | 413 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()
|
D | BubbleTextView.java | 897 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/ |
D | SpannableStringUtilsTests.java | 62 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/ |
D | LocaleUtils.java | 45 return formatted.subSequence(0, TextUtils.indexOf(formatted, lastItem) + lastItem.length()); in getConcatenatedString()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | UnicodeDialerKeyListener.java | 51 return converted.subSequence(start, end); in filter()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | TextInfoCompatUtils.java | 48 return new TextInfo(charSequence.subSequence(start, end).toString(), cookie, in newInstance()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | Utf8ByteLengthFilter.java | 77 return source.subSequence(start, i); in filter()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | Utf8ByteLengthFilter.java | 78 return source.subSequence(start, i); in filter()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapSimVcardManager.java | 524 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/ |
D | EchoingTextWatcher.java | 75 final String last = s.subSequence(len - 1, len).toString(); in onTextChanged()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/ |
D | TextInfoCompatUtilsTests.java | 66 final Spanned expectedSpanned = (Spanned) text.subSequence(TEST_CHAR_SEQUENCE_START, in testGetCharSequence()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | GpsCoordinatesTextClassifier.java | 68 CharSequence sequence = text.subSequence(start, end); in classifyText()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | FontScalePreviewFragment.java | 93 sampleText.getText().subSequence(0, lineEndIndex - ELLIPSIS.length()) in onLayoutChange()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | AccessibilityContextMenuMaker.java | 101 menu.add(spanned.subSequence(s, t)).setOnMenuItemClickListener(menuItem -> { in populateMenuContent()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | PhoneNumberUtilsCompat.java | 128 s.setSpan(createTtsSpan(s.subSequence(start, endExclusive).toString()), in addTtsSpanInternal()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | SpannableUtil.java | 63 return s.subSequence(0, precision); in handlePrecision()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | RichInputConnectionAndTextRangeTests.java | 85 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/ |
D | MobileNetworkIntentConverterTest.java | 60 "Test Title".subSequence(0, 10);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestRttActivity.java | 202 s.subSequence(s.length() - numCharsInserted, s.length()).toString(); in onCreate()
|