Home
last modified time | relevance | path

Searched refs:subSequence (Results 1 – 13 of 13) 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.java114 CharSequence subSequence = spannable.subSequence(0, 2); in testSubSequence() local
115 assertEquals("he", subSequence.toString()); in testSubSequence()
117 subSequence = spannable.subSequence(0, text.length()); in testSubSequence()
118 assertEquals(text, subSequence.toString()); in testSubSequence()
121 spannable.subSequence(-1, text.length() + 1); in testSubSequence()
127 spannable.subSequence(2, 0); in testSubSequence()
144 Spanned second = (Spanned) first.subSequence(2,4); in testSubsequence_copiesSpans()
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.java277 CharSequence text = builder.subSequence(0, 2); in testSubSequence()
282 builder.subSequence(2, 0); in testSubSequence()
DStaticLayoutLineBreakingTest.java125 lineEnd + "]\t" + source.subSequence(lineStart, lineEnd)); in debugLayout()
DStaticLayoutTest.java601 public CharSequence subSequence(int start, int end) { in subSequence() method in StaticLayoutTest.FakeCharSequence
602 return mStr.subSequence(start, end); in subSequence()
DTextUtilsTest.java879 public CharSequence subSequence(int arg0, int arg1) { in subSequence() method in TextUtilsTest.MockGetChars
909 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()
300 assertEquals(expectedString.subSequence(0, expectedSelectionStart).toString(),
306 assertEquals(expectedString.subSequence(expectedSelectionStart,
312 assertEquals(expectedString.subSequence(expectedSelectionEnd,
379 assertEquals(expectedString.subSequence(0, expectedSelectionStart).toString(),
385 assertEquals(expectedString.subSequence(expectedSelectionStart,
391 assertEquals(expectedString.subSequence(expectedSelectionEnd,
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSupportMessageTest.java89 assertStartsWith(ShortMessage.TOO_LONG.subSequence(0, MAX_SHORT_MSG_LENGTH), in testMaximumLengthPrefixIsSaved()
/cts/tests/tests/text/src/android/text/method/cts/
DMetaKeyKeyListenerTest.java405 public CharSequence subSequence(int start, int end) { in subSequence() method in MetaKeyKeyListenerTest.MockSpannable
DArrowKeyMovementMethodTest.java1453 return text.subSequence(Math.max(0, index - 5), index) + "|" in getCursorSnippet()
1454 + text.subSequence(index, Math.min(text.length() - 1, index + 5)); in getCursorSnippet()
/cts/tools/dex-tools/dex/
Dclasses.out.dex75158 public java.lang.CharSequence subSequence(
76822 public java.lang.CharSequence subSequence(
76861 public java.lang.CharSequence subSequence(
77330 public final java.lang.CharSequence subSequence(
77612 public java.lang.CharSequence subSequence(
77656 public java.lang.CharSequence subSequence(
78011 public java.lang.CharSequence subSequence(
79067 public java.lang.CharSequence subSequence(
79264 public java.lang.CharSequence subSequence(
79305 public java.lang.CharSequence subSequence(
[all …]
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(