Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DCharSequencesTest.java41 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/
DJapanesePhoneNumberFormatter.java166 && 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/
DReplacementTransformationMethod.java136 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()
DPasswordTransformationMethod.java179 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/
DInputFilter.java129 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()
DAlteredCharSequence.java102 public CharSequence subSequence(int start, int end) { in subSequence() method in AlteredCharSequence
103 return AlteredCharSequence.make(mSource.subSequence(start, end), in subSequence()
DSpannedString.java52 public CharSequence subSequence(int start, int end) { in subSequence() method in SpannedString
DSpannableString.java67 public final CharSequence subSequence(int start, int end) { in subSequence() method in SpannableString
DPrecomputedText.java713 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/
DEditorInfo.java693 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()
DBaseInputConnection.java546 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/
DCharSequences.java42 public CharSequence subSequence(int start, int end) { in forAsciiBytes() method in CharSequences
75 public CharSequence subSequence(int newStart, int newEnd) {
DFastPrintWriter.java700 String output = csq.subSequence(start, end).toString();
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DEditorInfoTest.java208 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/
DSpannedStringNoCopyTest.java145 public CharSequence subSequence(int start, int end) { in subSequence() method in SpannedStringNoCopyTest.CustomSpanned
146 return mText.subSequence(start, end); in subSequence()
DSpannableStringNoCopyTest.java155 public CharSequence subSequence(int start, int end) { in subSequence() method in SpannableStringNoCopyTest.CustomSpannable
156 return mText.subSequence(start, end); in subSequence()
DTextUtilsTest.java522 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/
DMultiAutoCompleteTextView.java153 CharSequence sub = e.subSequence(start, end); in performValidation()
173 getFilter().filter(text.subSequence(start, end), this); in performFiltering()
DSpellChecker.java450 + 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) + ", "
DNumberPicker.java2242 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/
DSpannableStringInternalCopyBenchmark.java57 spanned.subSequence(1, spanned.length()-1); in timeSubsequence()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java660 : beforeText.subSequence(0, beforeText.length()); in setBeforeText()
682 : contentDescription.subSequence(0, contentDescription.length()); in setContentDescription()
DAccessibilityNodeInfo.java2331 ? 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/
DTextViewAssertions.java174 .subSequence(selectionStart, selectionEnd)
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java247 return spannedText.subSequence( in getTextForSpan()

12