Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DCharSequencesTest.java40 String a = toString(forAsciiBytes(bytes, 0, 3).subSequence(2, 3)); in testCharSequences()
43 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/
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()
DTextUtils.java642 public CharSequence subSequence(int start, int end) { in subSequence() method in TextUtils.Reverser
651 return subSequence(0, length()).toString(); in toString()
963 printer.println(prefix + cs.subSequence(sp.getSpanStart(o), in dumpSpans()
2153 return (T) text.subSequence(0, size); in trimToSize()
/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/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/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.java520 public CharSequence subSequence(int start, int end) { in subSequence() method in TextUtilsTest.Wrapper
521 return new Wrapper(mString.subSequence(start, end)); in subSequence()
598 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.java371 + editable.subSequence(start, end)); in onGetSuggestionsInternal()
495 + editable.subSequence(start, end)); in createMisspelledSuggestionSpan()
650 + editable.subSequence(spellCheckStart, spellCheckEnd)); in parse()
771 + ">, " + editable + ", " + editable.subSequence(spanStart, spanEnd) + ", " in haveWordBoundariesChanged()
780 + ">, " + editable + ", " + editable.subSequence(spanStart, spanEnd) + ", " in haveWordBoundariesChanged()
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.java649 : beforeText.subSequence(0, beforeText.length()); in setBeforeText()
671 : contentDescription.subSequence(0, contentDescription.length()); in setContentDescription()
DAccessibilityNodeInfo.java2100 ? null : paneTitle.subSequence(0, paneTitle.length()); in setPaneTitle()
2652 mText = (text == null) ? null : text.subSequence(0, text.length()); in setText()
2678 mHintText = (hintText == null) ? null : hintText.subSequence(0, hintText.length()); in setHintText()
2695 mError = (error == null) ? null : error.subSequence(0, error.length()); in setError()
2731 : contentDescription.subSequence(0, contentDescription.length()); in setContentDescription()
2759 : tooltipText.subSequence(0, tooltipText.length()); in setTooltipText()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java503 return content.subSequence(a - length, a); in getTextBeforeCursor()
528 return content.subSequence(a, b); in getSelectedText()
561 return content.subSequence(b, b + length); in getTextAfterCursor()
/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()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java410 final CharSequence query = originalText.subSequence(wordStart, wordEnd); in getSplitWords()

12