Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/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.java164 && text.subSequence(0, 3).toString().equals("+81")) { in format()
170 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.java178 public CharSequence subSequence(int start, int end) { in subSequence() method in PasswordTransformationMethod.PasswordCharSequence
186 return subSequence(0, length()).toString(); in toString()
DWordIterator.java65 mString = charSequence.subSequence(mOffsetShift, windowEnd).toString(); in setCharSequence()
/frameworks/base/core/java/com/android/internal/util/
DCharSequences.java40 public CharSequence subSequence(int start, int end) { in forAsciiBytes() method in CharSequences
73 public CharSequence subSequence(int newStart, int newEnd) {
/frameworks/base/core/java/android/text/
DAlteredCharSequence.java100 public CharSequence subSequence(int start, int end) { in subSequence() method in AlteredCharSequence
101 return AlteredCharSequence.make(mSource.subSequence(start, end), in subSequence()
DSpannedString.java37 public CharSequence subSequence(int start, int end) { in subSequence() method in SpannedString
DSpannableString.java53 public final CharSequence subSequence(int start, int end) { in subSequence() method in SpannableString
DInputFilter.java98 return source.subSequence(start, keep); in filter()
DTextUtils.java514 public CharSequence subSequence(int start, int end) { in subSequence() method in TextUtils.Reverser
523 return subSequence(0, length()).toString(); in toString()
793 printer.println(prefix + cs.subSequence(sp.getSpanStart(o), in dumpSpans()
DLayout.java1805 public CharSequence subSequence(int start, int end) { in subSequence() method in Layout.Ellipsizer
1850 public CharSequence subSequence(int start, int end) { in subSequence() method in Layout.SpannedEllipsizer
/frameworks/base/core/java/android/widget/
DMultiAutoCompleteTextView.java150 CharSequence sub = e.subSequence(start, end); in performValidation()
170 getFilter().filter(text.subSequence(start, end), this); in performFiltering()
DSpellChecker.java295 editable.subSequence(start, end).toString(); in spellCheck()
368 + editable.subSequence(start, end)); in onGetSuggestionsInternal()
492 + editable.subSequence(start, end)); in createMisspelledSuggestionSpan()
647 + editable.subSequence(spellCheckStart, spellCheckEnd)); in parse()
DNumberPicker.java1927 filtered = source.subSequence(start, end); in filter()
1930 String result = String.valueOf(dest.subSequence(0, dstart)) + filtered in filter()
1931 + dest.subSequence(dend, dest.length()); in filter()
1949 CharSequence filtered = String.valueOf(source.subSequence(start, end)); in filter()
1953 String result = String.valueOf(dest.subSequence(0, dstart)) + filtered in filter()
1954 + dest.subSequence(dend, dest.length()); in filter()
1960 return val.subSequence(dstart, val.length()); in filter()
DEditor.java1141 outText.text = content.subSequence(partialStartOffset, in extractTextInternal()
1764 text = text.subSequence(0, DRAG_SHADOW_MAX_TEXT_LENGTH); in getTextThumbnailBuilder()
2646 final String suggestion = suggestionInfo.text.subSequence( in onItemClick()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java47 assertEquals(" Wo", newText.subSequence(1, 4)); in testArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTicker.java85 return substr.subSequence(start, end); in rtrim()
95 CharSequence substr = this.text.subSequence(this.current, this.text.length()); in getText()
121 CharSequence substr = this.text.subSequence(index, this.text.length()); in advance()
/frameworks/base/core/java/android/webkit/
DJWebCoreJavaBridge.java177 buffer.append(value.subSequence(i, newi)); in setCookies()
179 buffer.append(value.subSequence(i, size)); in setCookies()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardPINView.java87 mPasswordEntry.setText(str.subSequence(0, str.length()-1)); in onFinishInflate()
DKeyguardSimPinView.java89 mPasswordEntry.setText(str.subSequence(0, str.length()-1)); in onFinishInflate()
DKeyguardSimPukView.java140 mPasswordEntry.setText(str.subSequence(0, str.length()-1)); in onFinishInflate()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java417 public CharSequence subSequence(int start, int end) { in subSequence() method in TextUtilsTest.Wrapper
418 return new Wrapper(mString.subSequence(start, end)); in subSequence()
492 public CharSequence subSequence(int arg0, int arg1) { in subSequence() method in TextUtilsTest.MockSpanned
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java333 return content.subSequence(a - length, a); in getTextBeforeCursor()
358 return content.subSequence(a, b); in getSelectedText()
391 return content.subSequence(b, b + length); in getTextAfterCursor()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java387 final String query = originalText.subSequence(wordStart, wordEnd).toString(); in getSplitWords()

12