Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DSpannedStringTest.java52 CharSequence subSequence = spanned.subSequence(0, 2); in testSubSequence() local
53 assertTrue(subSequence instanceof SpannedString); in testSubSequence()
54 assertEquals("he", subSequence.toString()); in testSubSequence()
56 subSequence = spanned.subSequence(0, text.length()); in testSubSequence()
57 assertTrue(subSequence instanceof SpannedString); in testSubSequence()
58 assertEquals(text, subSequence.toString()); in testSubSequence()
61 spanned.subSequence(-1, text.length() + 1); in testSubSequence()
67 spanned.subSequence(2, 0); in testSubSequence()
DSpannableStringTest.java108 CharSequence subSequence = spannable.subSequence(0, 2); in testSubSequence() local
109 assertEquals("he", subSequence.toString()); in testSubSequence()
111 subSequence = spannable.subSequence(0, text.length()); in testSubSequence()
112 assertEquals(text, subSequence.toString()); in testSubSequence()
115 spannable.subSequence(-1, text.length() + 1); in testSubSequence()
121 spannable.subSequence(2, 0); in testSubSequence()
DAlteredCharSequenceTest.java122 assertEquals("Th", mAlteredCharSequence.subSequence(0, 2).toString()); in testSubSequence()
125 mAlteredCharSequence.subSequence(0, 100); in testSubSequence()
165 public CharSequence subSequence(int start, int end) { in subSequence() method in AlteredCharSequenceTest.MockSpanned
DSpannableStringBuilderTest.java271 CharSequence text = builder.subSequence(0, 2); in testSubSequence()
276 builder.subSequence(2, 0); in testSubSequence()
DStaticLayoutLineBreakingTest.java125 lineEnd + "]\t" + source.subSequence(lineStart, lineEnd)); in debugLayout()
DStaticLayoutTest.java593 public CharSequence subSequence(int start, int end) { in subSequence() method in StaticLayoutTest.FakeCharSequence
594 return mStr.subSequence(start, end); in subSequence()
DTextUtilsTest.java882 public CharSequence subSequence(int arg0, int arg1) { in subSequence() method in TextUtilsTest.MockGetChars
912 public CharSequence subSequence(int arg0, int arg1) { in subSequence() method in TextUtilsTest.MockCharSequence
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java140 CharSequence expected = str.subSequence(strLength - offLength, strLength); in testOpTextMethods()
144 expected = str.subSequence(0, offLength); in testOpTextMethods()
/cts/tests/tests/text/src/android/text/method/cts/
DArrowKeyMovementMethodTest.java1170 return text.subSequence(Math.max(0, index - 5), index) + "|" in getCursorSnippet()
1171 + text.subSequence(index, Math.min(text.length() - 1, index + 5)); in getCursorSnippet()
DMetaKeyKeyListenerTest.java405 public CharSequence subSequence(int start, int end) { in subSequence() method in MetaKeyKeyListenerTest.MockSpannable
/cts/tools/dex-tools/dex/
Dclasses0.out.dex14237 public java.lang.CharSequence subSequence(
14545 public abstract java.lang.CharSequence subSequence(
18448 public java.lang.CharSequence subSequence(
18680 public java.lang.CharSequence subSequence(
18896 public volatile java.lang.CharSequence subSequence(
26918 public abstract java.lang.CharSequence subSequence(
26961 public final java.lang.CharSequence subSequence(
27030 public java.lang.CharSequence subSequence(
27118 public java.lang.CharSequence subSequence(