Home
last modified time | relevance | path

Searched refs:subSequence (Results 1 – 25 of 33) 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()
DPhoneNumberUtils.java1260 CharSequence saved = text.subSequence(0, length); in formatNanpNumber()
2382 s.setSpan(createTtsSpan(s.subSequence(start, endExclusive).toString()), in addTtsSpan()
/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.java177 public CharSequence subSequence(int start, int end) { in subSequence() method in PasswordTransformationMethod.PasswordCharSequence
185 return subSequence(0, length()).toString(); in toString()
DWordIterator.java65 mString = charSequence.subSequence(mOffsetShift, windowEnd).toString(); in setCharSequence()
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessBindable.java154 name.subSequence(3, name.length()); in stripPrefixFromField()
158 return "" + Character.toLowerCase(secondChar) + name.subSequence(2, name.length()); in stripPrefixFromField()
168 propertyName = name.subSequence(3, name.length()); in stripPrefixFromMethod()
170 propertyName = name.subSequence(2, name.length()); in stripPrefixFromMethod()
177 propertyName.subSequence(1, propertyName.length()); in stripPrefixFromMethod()
/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) {
DFastPrintWriter.java657 String output = csq.subSequence(start, end).toString();
/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.java99 return source.subSequence(start, keep); in filter()
DTextUtils.java537 public CharSequence subSequence(int start, int end) { in subSequence() method in TextUtils.Reverser
546 return subSequence(0, length()).toString(); in toString()
832 printer.println(prefix + cs.subSequence(sp.getSpanStart(o), in dumpSpans()
DLayout.java1938 public CharSequence subSequence(int start, int end) {
1983 public CharSequence subSequence(int start, int end) {
/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.java367 + editable.subSequence(start, end)); in onGetSuggestionsInternal()
491 + editable.subSequence(start, end)); in createMisspelledSuggestionSpan()
646 + editable.subSequence(spellCheckStart, spellCheckEnd)); in parse()
767 + ">, " + editable + ", " + editable.subSequence(spanStart, spanEnd) + ", " in haveWordBoundariesChanged()
776 + ">, " + editable + ", " + editable.subSequence(spanStart, spanEnd) + ", " in haveWordBoundariesChanged()
DNumberPicker.java2096 filtered = source.subSequence(start, end); in filter()
2099 String result = String.valueOf(dest.subSequence(0, dstart)) + filtered in filter()
2100 + dest.subSequence(dend, dest.length()); in filter()
2120 CharSequence filtered = String.valueOf(source.subSequence(start, end)); in filter()
2124 String result = String.valueOf(dest.subSequence(0, dstart)) + filtered in filter()
2125 + dest.subSequence(dend, dest.length()); in filter()
2131 return val.subSequence(dstart, val.length()); in filter()
DEditor.java1390 outText.text = content.subSequence(partialStartOffset, in extractTextInternal()
2121 text = text.subSequence(0, DRAG_SHADOW_MAX_TEXT_LENGTH); in getTextThumbnailBuilder()
3066 final String suggestion = suggestionInfo.text.subSequence( in onItemClick()
3388 final CharSequence composingText = text.subSequence(composingTextStart, in updatePosition()
DTextView.java6366 if (TextUtils.equals(content.subSequence(start, end), text.text)) { in setExtractedText()
7615 start > end ? mText.subSequence(end, start) : mText.subSequence(start, end)); in getSelectedText()
8849 text = text.subSequence(expandedTopChar, expandedBottomChar); in onProvideStructure()
9221 return removeSuggestionSpans(mTransformed.subSequence(start, end)); in getTransformedText()
9929 public CharSequence subSequence(int start, int end) { in subSequence() method in TextView.CharWrapper
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java418 public CharSequence subSequence(int start, int end) { in subSequence() method in TextUtilsTest.Wrapper
419 return new Wrapper(mString.subSequence(start, end)); in subSequence()
493 public CharSequence subSequence(int arg0, int arg1) { in subSequence() method in TextUtilsTest.MockSpanned
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java336 return content.subSequence(a - length, a); in getTextBeforeCursor()
361 return content.subSequence(a, b); in getSelectedText()
394 return content.subSequence(b, b + length); in getTextAfterCursor()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java51 assertEquals(" Wo", newText.subSequence(1, 4)); in testArray()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java386 final CharSequence query = originalText.subSequence(wordStart, wordEnd); in getSplitWords()
/frameworks/data-binding/library/src/main/java/android/databinding/
DViewDataBinding.java678 final CharSequence layoutName = tag.subSequence(slashIndex + 1, tag.length() - 2); in findIncludeIndex()

12