/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderSpanTest.java | 133 Object span = mSpanSet.mSpans[count]; in checkSpanPositions() local 136 int start = spannable.getSpanStart(span); in checkSpanPositions() 137 int end = spannable.getSpanEnd(span); in checkSpanPositions() 157 mSpanSet.mRecorder.assertRemoved(span, originalStart, originalEnd); in checkSpanPositions() 230 mSpanSet.mRecorder.assertChanged(span, originalStart, originalEnd, start, end); in checkSpanPositions() 232 mSpanSet.mRecorder.assertUnmodified(span); in checkSpanPositions() 247 Object span = mReplacementSpanSet.mSpans[count]; in checkReplacementSpanPositions() local 250 int start = originalSpannable.getSpanStart(span); in checkReplacementSpanPositions() 251 int end = originalSpannable.getSpanEnd(span); in checkReplacementSpanPositions() 260 mReplacementSpanSet.mRecorder.assertUnmodified(span); in checkReplacementSpanPositions() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DialerFilterTest.java | 268 Spannable span = (Spannable) mDialerFilter.getLetters(); in testSetLettersWatcher() local 269 assertEquals(-1, span.getSpanStart(tw)); in testSetLettersWatcher() 270 assertEquals(-1, span.getSpanEnd(tw)); in testSetLettersWatcher() 277 span = (Spannable) mDialerFilter.getLetters(); in testSetLettersWatcher() 278 assertEquals(0, span.getSpanStart(tw)); in testSetLettersWatcher() 279 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(tw)); in testSetLettersWatcher() 280 assertEquals("ANDROID", span.toString()); in testSetLettersWatcher() 300 Spannable span = (Spannable) mDialerFilter.getDigits(); in testSetDigitsWatcher() local 301 assertEquals(-1, span.getSpanStart(tw)); in testSetDigitsWatcher() 302 assertEquals(-1, span.getSpanEnd(tw)); in testSetDigitsWatcher() [all …]
|
D | TableRow_LayoutParamsTest.java | 62 assertEquals(1, layoutParams.span); in testConstructor() 70 assertEquals(1, layoutParams.span); in testConstructor() 75 assertEquals(1, layoutParams.span); in testConstructor() 79 assertEquals(1, layoutParams.span); in testConstructor() 85 assertEquals(0, layoutParams.span); in testConstructor() 91 assertEquals(0, layoutParams.span); in testConstructor() 102 assertEquals(2, layoutParams.span); in testConstructor()
|
D | TextViewTest.java | 1344 ImageSpan span = new ImageSpan(drawable); in testSetText_updatesHeightAfterRemovingImageSpan() local 1345 text.setSpan(span, 0, 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testSetText_updatesHeightAfterRemovingImageSpan() 1360 text.removeSpan(span); in testSetText_updatesHeightAfterRemovingImageSpan()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | SuggestionSpanTest.java | 52 final SuggestionSpan span = new SuggestionSpan(locale, new String[0], in checkGetLocaleObject() local 56 assertEquals(toWellFormedLocale(locale), span.getLocaleObject()); in checkGetLocaleObject() 57 assertEquals(getNonNullLocaleString(locale), span.getLocale()); in checkGetLocaleObject() 59 final SuggestionSpan cloned = cloneViaParcel(span); in checkGetLocaleObject() 60 assertEquals(span, cloned); in checkGetLocaleObject()
|
D | LocaleSpanTest.java | 30 final LocaleSpan span = new LocaleSpan(locales); in checkGetLocales() local 31 assertEquals(locales.get(0), span.getLocale()); in checkGetLocales() 32 assertEquals(locales, span.getLocales()); in checkGetLocales() 34 final LocaleSpan cloned = cloneViaParcel(span); in checkGetLocales()
|
D | TtsSpanTest.java | 57 TtsSpan span = new TtsSpan("test.type.three", bundle); in testDescribeContents() local 58 span.describeContents(); in testDescribeContents() 63 TtsSpan span = new TtsSpan("test.type.four", bundle); in testGetSpanTypeId() local 64 span.getSpanTypeId(); in testGetSpanTypeId() 71 TtsSpan span = new TtsSpan("test.type.five", bundle); in testWriteAndReadParcel() local 72 span.writeToParcel(p, 0); in testWriteAndReadParcel()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | DialerKeyListenerTest.java | 36 SpannableString span = new SpannableString(""); // no meta spans in testLookup() local 41 assertEquals(keyChar, mockDialerKeyListener.lookup(keyEvent, span)); in testLookup() 48 mockDialerKeyListener.lookup(null, span); in testLookup()
|
D | LinkMovementMethodTest.java | 109 Object span = spannable.getSpans(0, spannable.length(), Object.class)[0]; in testOnTakeFocus() local 110 assertEquals(0, spannable.getSpanStart(span)); in testOnTakeFocus() 111 assertEquals(0, spannable.getSpanEnd(span)); in testOnTakeFocus() 112 assertEquals(Spanned.SPAN_POINT_POINT, spannable.getSpanFlags(span)); in testOnTakeFocus()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 107928 public int span
|