/cts/tests/tests/text/src/android/text/cts/ |
D | SpannedStringTest.java | 65 CharSequence subSequence = spanned.subSequence(0, 2); in testSubSequence() local 66 assertTrue(subSequence instanceof SpannedString); in testSubSequence() 67 assertEquals("he", subSequence.toString()); in testSubSequence() 69 subSequence = spanned.subSequence(0, text.length()); in testSubSequence() 70 assertTrue(subSequence instanceof SpannedString); in testSubSequence() 71 assertEquals(text, subSequence.toString()); in testSubSequence() 74 spanned.subSequence(-1, text.length() + 1); in testSubSequence() 80 spanned.subSequence(2, 0); in testSubSequence()
|
D | SpannableStringTest.java | 136 CharSequence subSequence = spannable.subSequence(0, 2); in testSubSequence() local 137 assertEquals("he", subSequence.toString()); in testSubSequence() 139 subSequence = spannable.subSequence(0, text.length()); in testSubSequence() 140 assertEquals(text, subSequence.toString()); in testSubSequence() 143 spannable.subSequence(-1, text.length() + 1); in testSubSequence() 149 spannable.subSequence(2, 0); in testSubSequence() 166 Spanned second = (Spanned) first.subSequence(2,4); in testSubsequence_copiesSpans() 215 SpannableString second = new SpannableString(first.subSequence(0, first.length() - 1)); in testCopyGrowable()
|
D | AlteredCharSequenceTest.java | 133 assertEquals("Th", mAlteredCharSequence.subSequence(0, 2).toString()); in testSubSequence() 136 mAlteredCharSequence.subSequence(0, 100); in testSubSequence() 183 public CharSequence subSequence(int start, int end) { in subSequence() method in AlteredCharSequenceTest.MockSpanned
|
D | StaticLayoutLineBreakingTest.java | 112 + lineEnd + "]\t" + source.subSequence(lineStart, lineEnd)); in debugLayout()
|
D | SpannableStringBuilderTest.java | 284 CharSequence text = builder.subSequence(0, 2); in testSubSequence() 289 builder.subSequence(2, 0); in testSubSequence()
|
D | StaticLayoutTest.java | 643 public CharSequence subSequence(int start, int end) { in subSequence() method in StaticLayoutTest.FakeCharSequence 644 return mStr.subSequence(start, end); in subSequence()
|
D | PrecomputedTextTest.java | 257 final CharSequence s3 = s.subSequence(0, 3); in testCharSequenceInteface()
|
D | TextUtilsTest.java | 1113 public CharSequence subSequence(int arg0, int arg1) { in subSequence() method in TextUtilsTest.MockGetChars 1139 public CharSequence subSequence(int arg0, int arg1) { in subSequence() method in TextUtilsTest.MockCharSequence
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | BaseInputConnectionTest.java | 143 CharSequence expected = str.subSequence(strLength - offLength, strLength); in testOpTextMethods() 147 expected = str.subSequence(0, offLength); in testOpTextMethods() 685 expectedString.subSequence(0, expectedSelectionStart).toString(), in verifyTextAndSelection() 693 .subSequence(expectedSelectionStart, expectedSelectionEnd) in verifyTextAndSelection() 702 .subSequence(expectedSelectionEnd, expectedString.length()) in verifyTextAndSelection()
|
D | EditTextImeSupportTest.java | 167 expectedText.subSequence(0, expectedSelectionStart); in assertInitialSurroundingText() 169 expectedText.subSequence(expectedSelectionStart, expectedSelectionEnd); in assertInitialSurroundingText() 171 expectedText.subSequence(expectedSelectionEnd, expectedText.length()); in assertInitialSurroundingText()
|
D | TextSnapshotTest.java | 102 text.subSequence(offset, text.length() - offset), in surroundingText()
|
D | ExtractedTextTest.java | 57 "01234567890abcdef".subSequence(EXPECTED_SELECTION_START, EXPECTED_SELECTION_END)); in getExpectedText()
|
D | EditorInfoTest.java | 346 final CharSequence beforeCursor = testText.subSequence(offset, in testInitialSurroundingText_overSizedSelection_keepsBeforeAfterTextValid() 348 final CharSequence afterCursor = testText.subSequence(info.initialSelEnd, in testInitialSurroundingText_overSizedSelection_keepsBeforeAfterTextValid()
|
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0600/ |
D | PocActivity.java | 69 seq.subSequence(start, end + 1)); in onCreate()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | SingleLineTransformationMethodTest.java | 93 transformed.subSequence(0, transformed.length()); in testSubsequence_doesNotThrowExceptionWithParagraphSpans()
|
D | MetaKeyKeyListenerTest.java | 464 public CharSequence subSequence(int start, int end) { in subSequence() method in MetaKeyKeyListenerTest.MockSpannable
|
D | ArrowKeyMovementMethodTest.java | 1496 return text.subSequence(Math.max(0, index - 5), index) + "|" in getCursorSnippet() 1497 + text.subSequence(index, Math.min(text.length() - 1, index + 5)); in getCursorSnippet()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 47437 method @Deprecated public CharSequence subSequence(int, int); 47897 method public CharSequence subSequence(int, int); 47993 method public final CharSequence subSequence(int, int); 48027 method public CharSequence subSequence(int, int); 48066 method public CharSequence subSequence(int, int);
|