/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 | 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 testCreateFromStyle_letterSpacing() local 369 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testWriteReadParcel_FontResource() local 386 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testWriteReadParcel_FontResource_WithStyle() local 403 final TextAppearanceSpan span = new TextAppearanceSpan(mContext, in testWriteReadParcel_WithAllAttributes() local 446 final TextAppearanceSpan span = new TextAppearanceSpan(ctx, in testRestrictContext() 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 | 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 | LineBreakConfigSpanTest.kt | 123 val span = LineBreakConfigSpan(config) in testLineBreakConfigSpan_getSpanTypeId() constant 479 var span = spans[0] in testLineBreakConfigSpan_parcelable() variable 506 var span = spans[0] in testLineBreakConfigSpan_resource() variable
|
D | LocaleSpanTest.java | 38 final LocaleSpan span = new LocaleSpan(locales); in verifyGetLocales() local
|
D | IconMarginSpanTest.java | 56 IconMarginSpan span = new IconMarginSpan(BITMAP_80X120, 32); in testConstructAndGet() local
|
D | DrawableMarginSpanTest.java | 65 DrawableMarginSpan span = new DrawableMarginSpan(mDrawable, 32); in testConstructAndGet() 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 | LayoutDrawOrderTest.java | 171 LineBackgroundSpan span = mock(LineBackgroundSpan.class); in testStaticLayout_testDrawOrder_Highlight_on_top_of_Background() local 201 LineBackgroundSpan span = mock(LineBackgroundSpan.class); in testDynamicLayout_testDrawOrder_Highlight_on_top_of_Background() local
|
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 | 533 final TypefaceSpan span = mock(TypefaceSpan.class); in testReflow_afterSpanChangedShouldNotThrowException() local
|
D | SpannableStringBuilderTest.java | 393 final QuoteSpan span = new QuoteSpan(); in testAppend_textWithSpan() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DialerFilterTest.java | 287 Spannable span = (Spannable) mDialerFilter.getLetters(); in testSetLettersWatcher() local 322 Spannable span = (Spannable) mDialerFilter.getDigits(); in testSetDigitsWatcher() local 341 Spannable span = (Spannable) mDialerFilter.getLetters(); in testSetFilterWatcher() local 367 Spannable span = (Spannable) mDialerFilter.getLetters(); in testRemoveFilterWatcher() local
|
D | TextViewStyleShortcutTest.java | 131 final StyleSpan span = spans[i]; in assertBoldRegion() local 149 final StyleSpan span = spans[i]; in assertItalicRegion() local 167 final UnderlineSpan span = spans[i]; in assertUnderlineRegion() 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 | 87 final AlignmentSpan.Standard span = new AlignmentSpan.Standard( in testSubsequence_doesNotThrowExceptionWithParagraphSpans() local
|
D | LinkMovementMethodTest.java | 139 Object span = spannable.getSpans(0, spannable.length(), Object.class)[0]; in testOnTakeFocus() local
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ExtractedTextTest.java | 65 final Annotation span = new Annotation("testHintKey", "testHintValue"); in getExpectedHint() local
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 770 Object span) { in replaceSpan()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | SimpleSaveActivityTest.java | 1870 final URLSpan span = mUiBot.findFirstUrlSpanWithText("Here is URLSpan"); in saveUiRestoredAfterTappingSpanTest() local
|