/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 | 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 | 713 public CharSequence subSequence(int start, int end) { in subSequence() method in PrecomputedText 714 return PrecomputedText.create(mText.subSequence(start, end), mParams); in subSequence()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | EditorInfo.java | 693 final CharSequence beforeCursor = subText.subSequence(newBeforeCursorHead, in trimLongSurroundingText() 695 final CharSequence afterCursor = subText.subSequence(selEnd, in trimLongSurroundingText() 701 .subSequence(newBeforeCursorHead, newBeforeCursorHead + newTextLength); in trimLongSurroundingText() 738 ? mInitialSurroundingText.getText().subSequence(selStart - n, selStart) in getInitialTextBeforeCursor() 779 ? mInitialSurroundingText.getText().subSequence(selStart, selEnd) in getInitialSelectedText() 807 ? mInitialSurroundingText.getText().subSequence(selEnd, selEnd + n) in getInitialTextAfterCursor() 866 ? mInitialSurroundingText.getText().subSequence(offset, after) in getInitialSurroundingText()
|
D | BaseInputConnection.java | 546 return content.subSequence(a - length, a); in getTextBeforeCursor() 571 return content.subSequence(a, b); in getSelectedText() 607 return content.subSequence(b, b + length); in getTextAfterCursor() 654 surroundingText = content.subSequence(startPos, endPos); in getSurroundingText()
|
/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) {
|
D | FastPrintWriter.java | 700 String output = csq.subSequence(start, end).toString();
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | EditorInfoTest.java | 208 final CharSequence beforeCursor = testText.subSequence( in setOverSizeInitialText_cursorAtMiddle_dividesProportionately() 210 final CharSequence afterCursor = testText.subSequence(editorInfo.initialSelEnd, in setOverSizeInitialText_cursorAtMiddle_dividesProportionately() 212 final CharSequence selectedText = testText.subSequence(editorInfo.initialSelStart, in setOverSizeInitialText_cursorAtMiddle_dividesProportionately() 236 final CharSequence before = testText.subSequence( in setOverSizeInitialText_overSizeSelection_dropsSelection() 239 final CharSequence after = testText.subSequence(editorInfo.initialSelEnd, in setOverSizeInitialText_overSizeSelection_dropsSelection()
|
/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()
|
D | TextUtilsTest.java | 522 public CharSequence subSequence(int start, int end) { in subSequence() method in TextUtilsTest.Wrapper 523 return new Wrapper(mString.subSequence(start, end)); in subSequence() 600 public CharSequence subSequence(int arg0, int arg1) { in subSequence() method in TextUtilsTest.MockSpanned
|
/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 | 450 + editable.subSequence(start, end) + ", reason: " + reason); in removeErrorSuggestionSpan() 595 mSentenceIterator.setText(sequence.subSequence(mStartOffset, mEndOffset).toString()); in setCharSequence() 739 + editable.subSequence(spellCheckStart, spellCheckEnd)); in parse() 878 + ">, " + editable + ", " + editable.subSequence(spanStart, spanEnd) + ", " 887 + ">, " + 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/tests/benchmarks/src/android/text/ |
D | SpannableStringInternalCopyBenchmark.java | 57 spanned.subSequence(1, spanned.length()-1); in timeSubsequence()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 660 : beforeText.subSequence(0, beforeText.length()); in setBeforeText() 682 : contentDescription.subSequence(0, contentDescription.length()); in setContentDescription()
|
D | AccessibilityNodeInfo.java | 2331 ? null : paneTitle.subSequence(0, paneTitle.length()); in setPaneTitle() 2894 mText = (text == null) ? null : text.subSequence(0, text.length()); in setText() 2989 mHintText = (hintText == null) ? null : hintText.subSequence(0, hintText.length()); in setHintText() 3006 mError = (error == null) ? null : error.subSequence(0, error.length()); in setError() 3052 : stateDescription.subSequence(0, stateDescription.length()); in setStateDescription() 3070 : contentDescription.subSequence(0, contentDescription.length()); in setContentDescription() 3098 : tooltipText.subSequence(0, tooltipText.length()); in setTooltipText()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 174 .subSequence(selectionStart, selectionEnd)
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelper.java | 247 return spannedText.subSequence( in getTextForSpan()
|