Home
last modified time | relevance | path

Searched defs:span (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/text/src/android/text/style/cts/
DSuggestionSpanTest.java61 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 …]
DTextAppearanceSpanTest.java314 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 …]
DLineHeightSpan_StandardTest.java53 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
DSuggestionRangeSpanTest.java39 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
DLineBackgroundSpan_StandardTest.java42 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
DQuoteSpanTest.java39 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
DLineBreakConfigSpanTest.kt123 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
DLocaleSpanTest.java38 final LocaleSpan span = new LocaleSpan(locales); in verifyGetLocales() local
DIconMarginSpanTest.java56 IconMarginSpan span = new IconMarginSpan(BITMAP_80X120, 32); in testConstructAndGet() local
DDrawableMarginSpanTest.java65 DrawableMarginSpan span = new DrawableMarginSpan(mDrawable, 32); in testConstructAndGet() local
DTtsSpanTest.java65 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/
DSpannableStringBuilderSpanTest.java147 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 …]
DLayoutDrawOrderTest.java171 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
DInputFilter_AllCapsTest.java118 final Object span = new Object(); in testFilter_greekWithSpans() local
DSpannableStringTest.java224 final AlignmentSpan.Standard span = new AlignmentSpan.Standard( in testCopyConstructorDoesNotEnforceParagraphStyleConstraint() local
DDynamicLayoutTest.java533 final TypefaceSpan span = mock(TypefaceSpan.class); in testReflow_afterSpanChangedShouldNotThrowException() local
DSpannableStringBuilderTest.java393 final QuoteSpan span = new QuoteSpan(); in testAppend_textWithSpan() local
/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java287 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
DTextViewStyleShortcutTest.java131 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/
DDialerKeyListenerTest.java52 SpannableString span = new SpannableString(""); // no meta spans in testLookup() local
67 SpannableString span = new SpannableString(""); // no meta spans in testLookupNull() local
DSingleLineTransformationMethodTest.java87 final AlignmentSpan.Standard span = new AlignmentSpan.Standard( in testSubsequence_doesNotThrowExceptionWithParagraphSpans() local
DLinkMovementMethodTest.java139 Object span = spannable.getSpans(0, spannable.length(), Object.class)[0]; in testOnTakeFocus() local
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DExtractedTextTest.java65 final Annotation span = new Annotation("testHintKey", "testHintValue"); in getExpectedHint() local
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfoTest.java770 Object span) { in replaceSpan()
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DSimpleSaveActivityTest.java1870 final URLSpan span = mUiBot.findFirstUrlSpanWithText("Here is URLSpan"); in saveUiRestoredAfterTappingSpanTest() local

12