| /cts/tests/tests/text/src/android/text/style/cts/ |
| D | SuggestionSpanTest.java | 61 final SuggestionSpan span = new SuggestionSpan(context, suggestions, in testConstructorWithContext() local 72 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetSuggestionSpans() local 85 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetSuggestionSpans_emptySuggestions() local 99 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetSuggestionSpans_suggestionsWithNullValue() local 113 SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), anySuggestions, flag); in testGetFlags() local 187 final SuggestionSpan span = new SuggestionSpan(locale, new String[0], in verifyGetLocaleObject() local 231 final SuggestionSpan span = new SuggestionSpan(Locale.US, suggestions, in testDoesntAffectWidth() local 257 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, 0); in testGetUnderlineColor_NoUnderline() local 264 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetUnderlineColor_EasyCorrectUnderline() local 272 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetUnderlineColor_MisspelledUnderline() local [all …]
|
| D | LineHeightSpan_StandardTest.java | 53 LineHeightSpan span = new LineHeightSpan.Standard(expectHeight); in testChooseLineHeight() local 72 LineHeightSpan span = new LineHeightSpan.Standard(50); in testChooseLineHeightWithNegativeOriginHeight() local 85 LineHeightSpan.Standard span = new LineHeightSpan.Standard(height); in testGetHeight() local 92 final LineHeightSpan.Standard span = new LineHeightSpan.Standard(20); in testWriteToParcel() local
|
| D | SuggestionRangeSpanTest.java | 39 final SuggestionRangeSpan span = new SuggestionRangeSpan(); in testConstructor() local 64 final SuggestionRangeSpan span = new SuggestionRangeSpan(); in testSetAndGetBackgroundColor() local 73 final SuggestionRangeSpan span = new SuggestionRangeSpan(); in testUpdateDrawState() local
|
| D | TextAppearanceSpanTest.java | 314 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testCreateFromStyle_FontResource() local 324 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testCreateFromStyle_ElegantTextHeight() local 333 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testCreateFromStyle_LetterSpacing() local 342 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testCreateFromStyle_FontFeatureSettings() local 351 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testCreateFromStyle_FontVariationSettings() local 360 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testWriteReadParcel_FontResource() local 377 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testWriteReadParcel_FontResource_WithStyle() local 394 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testWriteReadParcel_WithAllAttributes() local 436 final TextAppearanceSpan span = new TextAppearanceSpan(ctx, in testRestrictContext() local 448 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testSameAsTextView_TextColor() local [all …]
|
| D | LineBackgroundSpan_StandardTest.java | 42 final LineBackgroundSpan.Standard span = new LineBackgroundSpan.Standard(COLOR); in testGetColor() local 49 final LineBackgroundSpan.Standard span = new LineBackgroundSpan.Standard(COLOR); in testWriteToParcel() local 64 final LineBackgroundSpan span = new LineBackgroundSpan.Standard(COLOR); in testDrawBackground() local
|
| D | QuoteSpanTest.java | 39 QuoteSpan span = new QuoteSpan(); in testDefaultConstructor() local 49 QuoteSpan span = new QuoteSpan(Color.RED); in testConstructorFromColor() local 59 QuoteSpan span = new QuoteSpan(Color.RED, 10, 5); in testConstructorFromColorStripeWidthGapWidth() local 74 QuoteSpan span = new QuoteSpan(p); in testConstructorFromParcel() local
|
| D | LocaleSpanTest.java | 38 final LocaleSpan span = new LocaleSpan(locales); in verifyGetLocales() local
|
| D | TtsSpanTest.java | 65 TtsSpan span = new TtsSpan("test.type.three", mBundle); in testDescribeContents() local 71 TtsSpan span = new TtsSpan("test.type.four", mBundle); in testGetSpanTypeId() local 79 TtsSpan span = new TtsSpan("test.type.five", mBundle); in testWriteAndReadParcel() local
|
| /cts/tests/tests/text/src/android/text/cts/ |
| D | SpannableStringBuilderSpanTest.java | 147 Object span = mSpanSet.mSpans[count]; in verifySpanPositions() local 261 Object span = mReplacementSpanSet.mSpans[count]; in verifyReplacementSpanPositions() local 410 Object span; field in SpannableStringBuilderSpanTest.SpanWatcherRecorder.AddedRemoved 414 public AddedRemoved(Object span, int start, int end) { in AddedRemoved() 422 Object span; field in SpannableStringBuilderSpanTest.SpanWatcherRecorder.Changed 428 public Changed(Object span, int oldStart, int oldEnd, int newStart, int newEnd) { in Changed() 445 public void onSpanAdded(Spannable text, Object span, int start, int end) { in onSpanAdded() 450 public void onSpanRemoved(Spannable text, Object span, int start, int end) { in onSpanRemoved() 455 public void onSpanChanged(Spannable text, Object span, int ostart, int oend, int nstart, in onSpanChanged() 460 public void verifyUnmodified(Object span) { in verifyUnmodified() [all …]
|
| D | InputFilter_AllCapsTest.java | 118 final Object span = new Object(); in testFilter_greekWithSpans() local
|
| D | SpannableStringTest.java | 224 final AlignmentSpan.Standard span = new AlignmentSpan.Standard( in testCopyConstructorDoesNotEnforceParagraphStyleConstraint() local
|
| D | DynamicLayoutTest.java | 520 final TypefaceSpan span = mock(TypefaceSpan.class); in testReflow_afterSpanChangedShouldNotThrowException() local
|
| D | SpannableStringBuilderTest.java | 393 final QuoteSpan span = new QuoteSpan(); in testAppend_textWithSpan() local
|
| D | PrecomputedTextTest.java | 284 final BackgroundColorSpan span = new BackgroundColorSpan(Color.RED); in testSpannedInterface_Spannable() local
|
| D | TextUtilsTest.java | 308 final Object span = new Object(); in testConcat_NullParameters() local
|
| /cts/tests/tests/widget/src/android/widget/cts/ |
| D | DialerFilterTest.java | 277 Spannable span = (Spannable) mDialerFilter.getLetters(); in testSetLettersWatcher() local 312 Spannable span = (Spannable) mDialerFilter.getDigits(); in testSetDigitsWatcher() local 331 Spannable span = (Spannable) mDialerFilter.getLetters(); in testSetFilterWatcher() local 357 Spannable span = (Spannable) mDialerFilter.getLetters(); in testRemoveFilterWatcher() local
|
| D | TextViewTest.java | 1811 ImageSpan span = new ImageSpan(drawable); in testSetTextUpdatesHeightAfterRemovingImageSpan() local 6430 final Object span = sourceSpans[i]; in testAllCaps_SpansArePreserved() local
|
| /cts/tests/tests/text/src/android/text/method/cts/ |
| D | DialerKeyListenerTest.java | 52 SpannableString span = new SpannableString(""); // no meta spans in testLookup() local 67 SpannableString span = new SpannableString(""); // no meta spans in testLookupNull() local
|
| D | SingleLineTransformationMethodTest.java | 84 final AlignmentSpan.Standard span = new AlignmentSpan.Standard( in testSubsequence_doesNotThrowExceptionWithParagraphSpans() local
|
| D | LinkMovementMethodTest.java | 128 Object span = spannable.getSpans(0, spannable.length(), Object.class)[0]; in testOnTakeFocus() local
|
| /cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
| D | ExtractedTextTest.java | 63 final Annotation span = new Annotation("testHintKey", "testHintValue"); in getExpectedHint() local
|
| /cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
| D | SimpleSaveActivityTest.java | 1856 final URLSpan span = mUiBot.findFirstUrlSpanWithText("Here is URLSpan"); in saveUiRestoredAfterTappingSpanTest() local
|