/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CharSequencesTest.java | 41 String l = toString(forAsciiBytes(bytes, 0, 3).subSequence(2, 3)); in testCharSequences() 44 String empty = toString(forAsciiBytes(bytes, 0, 3).subSequence(3, 3)); in testCharSequences()
|
/frameworks/base/telephony/java/android/telephony/ |
D | JapanesePhoneNumberFormatter.java | 166 && text.subSequence(0, 3).toString().equals("+81")) { in format() 172 CharSequence saved = text.subSequence(0, length); in format()
|
/frameworks/base/core/java/android/text/method/ |
D | ReplacementTransformationMethod.java | 136 public CharSequence subSequence(int start, int end) { in subSequence() method in ReplacementTransformationMethod.ReplacementCharSequence 179 public CharSequence subSequence(int start, int end) { in subSequence() method in ReplacementTransformationMethod.SpannedReplacementCharSequence 180 return new SpannedString(this).subSequence(start, end); in subSequence()
|
D | InsertModeTransformationMethod.java | 275 public CharSequence subSequence(int start, int end) { in subSequence() method in InsertModeTransformationMethod.TransformedText 295 mOriginal.subSequence(seg1Start, seg1End), in subSequence() 296 mPlaceholder.subSequence(seg2Start, seg2End), in subSequence() 297 mOriginal.subSequence(seg3Start, seg3End)); in subSequence() 302 return String.valueOf(mOriginal.subSequence(0, mEnd)) in toString() 304 + mOriginal.subSequence(mEnd, mOriginal.length()); in toString()
|
D | PasswordTransformationMethod.java | 179 public CharSequence subSequence(int start, int end) { in subSequence() method in PasswordTransformationMethod.PasswordCharSequence 187 return subSequence(0, length()).toString(); in toString()
|
/frameworks/base/core/java/android/text/ |
D | InputFilter.java | 129 public CharSequence subSequence(int start, int end) { in subSequence() method in InputFilter.AllCaps.CharSequenceWrapper 137 return mSource.subSequence(mStart, mEnd).toString(); in toString() 190 return source.subSequence(start, keep); in filter()
|
D | AlteredCharSequence.java | 102 public CharSequence subSequence(int start, int end) { in subSequence() method in AlteredCharSequence 103 return AlteredCharSequence.make(mSource.subSequence(start, end), in subSequence()
|
D | SpannedString.java | 52 public CharSequence subSequence(int start, int end) { in subSequence() method in SpannedString
|
D | SpannableString.java | 67 public final CharSequence subSequence(int start, int end) { in subSequence() method in SpannableString
|
D | PrecomputedText.java | 814 public CharSequence subSequence(int start, int end) { in subSequence() method in PrecomputedText 815 return PrecomputedText.create(mText.subSequence(start, end), mParams); in subSequence()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CharSequences.java | 42 public CharSequence subSequence(int start, int end) { in forAsciiBytes() method in CharSequences 75 public CharSequence subSequence(int newStart, int newEnd) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ui/ |
D | MobileContextProvider.kt | 124 demoMcc = mccmnc.subSequence(0, 3).toString().toInt() in <lambda>() 125 demoMnc = mccmnc.subSequence(3, mccmnc.length).toString().toInt() in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannedStringNoCopyTest.java | 145 public CharSequence subSequence(int start, int end) { in subSequence() method in SpannedStringNoCopyTest.CustomSpanned 146 return mText.subSequence(start, end); in subSequence()
|
D | SpannableStringNoCopyTest.java | 155 public CharSequence subSequence(int start, int end) { in subSequence() method in SpannableStringNoCopyTest.CustomSpannable 156 return mText.subSequence(start, end); in subSequence()
|
/frameworks/base/core/java/android/widget/ |
D | MultiAutoCompleteTextView.java | 153 CharSequence sub = e.subSequence(start, end); in performValidation() 173 getFilter().filter(text.subSequence(start, end), this); in performFiltering()
|
D | SpellChecker.java | 460 + editable.subSequence(start, end) + ", reason: " + reason); in removeErrorSuggestionSpan() 612 mSentenceIterator.setText(sequence.subSequence(mStartOffset, mEndOffset).toString()); in setCharSequence() 756 + editable.subSequence(spellCheckStart, spellCheckEnd)); in parse() 895 + ">, " + editable + ", " + editable.subSequence(spanStart, spanEnd) + ", " 904 + ">, " + editable + ", " + editable.subSequence(spanStart, spanEnd) + ", "
|
D | NumberPicker.java | 2242 filtered = source.subSequence(start, end); in filter() 2245 String result = String.valueOf(dest.subSequence(0, dstart)) + filtered in filter() 2246 + dest.subSequence(dend, dest.length()); in filter() 2266 CharSequence filtered = String.valueOf(source.subSequence(start, end)); in filter() 2270 String result = String.valueOf(dest.subSequence(0, dstart)) + filtered in filter() 2271 + dest.subSequence(dend, dest.length()); in filter() 2277 return val.subSequence(dstart, val.length()); in filter()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | EditorInfo.java | 896 final CharSequence beforeCursor = subText.subSequence(newBeforeCursorHead, in trimLongSurroundingText() 898 final CharSequence afterCursor = subText.subSequence(selEnd, in trimLongSurroundingText() 904 .subSequence(newBeforeCursorHead, newBeforeCursorHead + newTextLength); in trimLongSurroundingText() 941 ? mInitialSurroundingText.getText().subSequence(selStart - n, selStart) in getInitialTextBeforeCursor() 982 ? mInitialSurroundingText.getText().subSequence(selStart, selEnd) in getInitialSelectedText() 1010 ? mInitialSurroundingText.getText().subSequence(selEnd, selEnd + n) in getInitialTextAfterCursor() 1069 ? mInitialSurroundingText.getText().subSequence(offset, after) in getInitialSurroundingText()
|
D | BaseInputConnection.java | 569 return content.subSequence(a - length, a); in getTextBeforeCursor() 595 return content.subSequence(a, b); in getSelectedText() 627 return content.subSequence(b, end); in getTextAfterCursor() 671 surroundingText = content.subSequence(startPos, endPos); in getSurroundingText()
|
/frameworks/base/core/tests/benchmarks/src/android/text/ |
D | SpannableStringInternalCopyBenchmark.java | 57 spanned.subSequence(1, spanned.length()-1); in timeSubsequence()
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | EditorInfoTest.java | 245 final CharSequence beforeCursor = testText.subSequence( in setOverSizeInitialText_cursorAtMiddle_dividesProportionately() 247 final CharSequence afterCursor = testText.subSequence(editorInfo.initialSelEnd, in setOverSizeInitialText_cursorAtMiddle_dividesProportionately() 249 final CharSequence selectedText = testText.subSequence(editorInfo.initialSelStart, in setOverSizeInitialText_cursorAtMiddle_dividesProportionately() 273 final CharSequence before = testText.subSequence( in setOverSizeInitialText_overSizeSelection_dropsSelection() 276 final CharSequence after = testText.subSequence(editorInfo.initialSelEnd, in setOverSizeInitialText_overSizeSelection_dropsSelection()
|
D | BaseInputConnectionTest.java | 608 text.subSequence(0, 3), text.subSequence(3, 6), text.subSequence(6, 9)); in testGetText_withStyle()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 174 .subSequence(selectionStart, selectionEnd)
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 710 : beforeText.subSequence(0, beforeText.length()); in setBeforeText() 732 : contentDescription.subSequence(0, contentDescription.length()); in setContentDescription()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | InsertModeTransformationMethodTest.java | 147 assertCharSequence(transformedText.subSequence(start, end), in transformedText_subSequence() 148 expected.subSequence(start, end)); in transformedText_subSequence() 166 assertCharSequence(transformedText.subSequence(start, end), in transformedText_subSequence_singleLine() 167 expected.subSequence(start, end)); in transformedText_subSequence_singleLine()
|