/cts/tests/tests/text/src/android/text/style/cts/ |
D | SuggestionSpanTest.java | 55 final SuggestionSpan span = new SuggestionSpan(context, suggestions, in testConstructorWithContext() local 58 assertEquals(locale, span.getLocaleObject()); in testConstructorWithContext() 59 assertArrayEquals(suggestions, span.getSuggestions()); in testConstructorWithContext() 60 assertEquals(SuggestionSpan.FLAG_AUTO_CORRECTION, span.getFlags()); in testConstructorWithContext() 66 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetSuggestionSpans() local 69 suggestions, span.getSuggestions()); in testGetSuggestionSpans() 71 final SuggestionSpan clonedSpan = cloneViaParcel(span); in testGetSuggestionSpans() 79 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetSuggestionSpans_emptySuggestions() local 82 suggestions, span.getSuggestions()); in testGetSuggestionSpans_emptySuggestions() 85 final SuggestionSpan clonedSpan = cloneViaParcel(span); in testGetSuggestionSpans_emptySuggestions() [all …]
|
D | LocaleSpanTest.java | 37 final LocaleSpan span = new LocaleSpan(locales); in verifyGetLocales() local 38 assertEquals(locales.get(0), span.getLocale()); in verifyGetLocales() 39 assertEquals(locales, span.getLocales()); in verifyGetLocales() 41 final LocaleSpan cloned = cloneViaParcel(span); in verifyGetLocales()
|
D | TtsSpanTest.java | 64 TtsSpan span = new TtsSpan("test.type.three", mBundle); in testDescribeContents() local 65 span.describeContents(); in testDescribeContents() 70 TtsSpan span = new TtsSpan("test.type.four", mBundle); in testGetSpanTypeId() local 71 span.getSpanTypeId(); in testGetSpanTypeId() 78 TtsSpan span = new TtsSpan("test.type.five", mBundle); in testWriteAndReadParcel() local 79 span.writeToParcel(p, 0); in testWriteAndReadParcel()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderSpanTest.java | 146 Object span = mSpanSet.mSpans[count]; in verifySpanPositions() local 149 int start = spannable.getSpanStart(span); in verifySpanPositions() 150 int end = spannable.getSpanEnd(span); in verifySpanPositions() 170 mSpanSet.mRecorder.verifyRemoved(span, originalStart, originalEnd); in verifySpanPositions() 243 mSpanSet.mRecorder.verifyChanged(span, originalStart, originalEnd, start, end); in verifySpanPositions() 245 mSpanSet.mRecorder.verifyUnmodified(span); in verifySpanPositions() 260 Object span = mReplacementSpanSet.mSpans[count]; in verifyReplacementSpanPositions() local 263 int start = originalSpannable.getSpanStart(span); in verifyReplacementSpanPositions() 264 int end = originalSpannable.getSpanEnd(span); in verifyReplacementSpanPositions() 273 mReplacementSpanSet.mRecorder.verifyUnmodified(span); in verifyReplacementSpanPositions() [all …]
|
D | SpannableStringTest.java | 222 final AlignmentSpan.Standard span = new AlignmentSpan.Standard( in testCopyConstructorDoesNotEnforceParagraphStyleConstraint() local 224 original.setSpan(span, 1, original.length() - 1, Spanned.SPAN_PARAGRAPH); in testCopyConstructorDoesNotEnforceParagraphStyleConstraint()
|
D | SpannableStringBuilderTest.java | 392 final QuoteSpan span = new QuoteSpan(); in testAppend_textWithSpan() local 395 builder.append("planet", span, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testAppend_textWithSpan() 405 assertSame("Should be the same span instance", span, spans[0]); in testAppend_textWithSpan()
|
D | TextUtilsTest.java | 307 final Object span = new Object(); in testConcat_NullParameters() local 308 piece.setSpan(span, 0, piece.length(), Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in testConcat_NullParameters() 313 assertSame(span, spans[0]); in testConcat_NullParameters()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DialerFilterTest.java | 279 Spannable span = (Spannable) mDialerFilter.getLetters(); in testSetLettersWatcher() local 280 assertEquals(-1, span.getSpanStart(mockTextWatcher)); in testSetLettersWatcher() 281 assertEquals(-1, span.getSpanEnd(mockTextWatcher)); in testSetLettersWatcher() 289 span = (Spannable) mDialerFilter.getLetters(); in testSetLettersWatcher() 290 assertEquals(0, span.getSpanStart(mockTextWatcher)); in testSetLettersWatcher() 291 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(mockTextWatcher)); in testSetLettersWatcher() 292 assertEquals("ANDROID", span.toString()); in testSetLettersWatcher() 314 Spannable span = (Spannable) mDialerFilter.getDigits(); in testSetDigitsWatcher() local 315 assertEquals(-1, span.getSpanStart(mockTextWatcher)); in testSetDigitsWatcher() 316 assertEquals(-1, span.getSpanEnd(mockTextWatcher)); in testSetDigitsWatcher() [all …]
|
D | TableRow_LayoutParamsTest.java | 70 assertEquals(1, layoutParams.span); in testConstructor() 78 assertEquals(1, layoutParams.span); in testConstructor() 83 assertEquals(1, layoutParams.span); in testConstructor() 87 assertEquals(1, layoutParams.span); in testConstructor() 93 assertEquals(0, layoutParams.span); in testConstructor() 99 assertEquals(0, layoutParams.span); in testConstructor() 109 assertEquals(2, layoutParams.span); in testConstructor()
|
D | TextViewTest.java | 1638 ImageSpan span = new ImageSpan(drawable); in testSetTextUpdatesHeightAfterRemovingImageSpan() local 1639 text.setSpan(span, 0, 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testSetTextUpdatesHeightAfterRemovingImageSpan() 1649 text.removeSpan(span); in testSetTextUpdatesHeightAfterRemovingImageSpan() 5668 final Object span = sourceSpans[i]; in testAllCaps_SpansArePreserved() local 5669 assertEquals(indexMap[source.getSpanStart(span)], result.getSpanStart(span)); in testAllCaps_SpansArePreserved() 5670 assertEquals(indexMap[source.getSpanEnd(span)], result.getSpanEnd(span)); in testAllCaps_SpansArePreserved() 5671 assertEquals(source.getSpanFlags(span), result.getSpanFlags(span)); in testAllCaps_SpansArePreserved()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | DialerKeyListenerTest.java | 51 SpannableString span = new SpannableString(""); // no meta spans in testLookup() local 56 assertEquals(keyChar, mockDialerKeyListener.lookup(keyEvent, span)); in testLookup() 66 SpannableString span = new SpannableString(""); // no meta spans in testLookupNull() local 67 mockDialerKeyListener.lookup(null, span); in testLookupNull()
|
D | SingleLineTransformationMethodTest.java | 83 final AlignmentSpan.Standard span = new AlignmentSpan.Standard( in testSubsequence_doesNotThrowExceptionWithParagraphSpans() local 85 original.setSpan(span, 1, original.length() - 1, Spanned.SPAN_PARAGRAPH); in testSubsequence_doesNotThrowExceptionWithParagraphSpans()
|
D | LinkMovementMethodTest.java | 127 Object span = spannable.getSpans(0, spannable.length(), Object.class)[0]; in testOnTakeFocus() local 128 assertEquals(0, spannable.getSpanStart(span)); in testOnTakeFocus() 129 assertEquals(0, spannable.getSpanEnd(span)); in testOnTakeFocus() 130 assertEquals(Spanned.SPAN_POINT_POINT, spannable.getSpanFlags(span)); in testOnTakeFocus()
|
/cts/tests/libcore/javautilcollections/libs/ |
D | guava-20.0.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 107928 public int span
|