Home
last modified time | relevance | path

Searched defs:spans (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
DSpannableBuilderTest.java88 final QuoteSpan[] spans = spannable.getSpans(0, 1, QuoteSpan.class); in testSubSequence() local
99 Object[] spans = spannable.getSpans(0, spannable.length(), mClass); in testSetAndGetSpan() local
137 EmojiSpan[] spans = spannable.getSpans(0, spannable.length(), EmojiSpan.class); in testBlocksSpanCallbacks_forEmojiSpans() local
169 QuoteSpan[] spans = spannable.getSpans(0, spannable.length(), QuoteSpan.class); in testDoesNotBlockSpanCallbacks_forNonEmojiSpans() local
201 EmojiSpan[] spans = spannable.getSpans(0, spannable.length(), EmojiSpan.class); in testDoesNotBlockSpanCallbacksForOtherWatchers() local
DEmojiEditableFactoryTest.java71 final EmojiSpan[] spans = editable.getSpans(0, 1, EmojiSpan.class); in testNewEditable_preservesCharSequenceData() local
/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java113 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenDefaultSchemeIsNull() local
124 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenSchemesArrayIsNull() local
137 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_prependsDefaultSchemeToBeginingOfLink() local
148 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_doesNotPrependSchemeIfSchemeExists() local
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DRichTextViewTest.java64 Object[] spans = ((Spanned) text).getSpans(0, text.length(), Annotation.class); in testLinkAnnotation() local
89 LinkSpan[] spans = ((Spanned) text).getSpans(0, text.length(), LinkSpan.class); in testOnLinkClickListener() local
107 LinkSpan[] spans = ((Spanned) text).getSpans(0, text.length(), LinkSpan.class); in testLegacyContextOnClickListener() local
125 Object[] spans = ((Spanned) text).getSpans(0, text.length(), Annotation.class); in testTextStyle() local
DSpanHelperTest.java45 final Object[] spans = ssb.getSpans(0, ssb.length(), Object.class); in testReplaceSpan() local
/frameworks/support/compat/tests/java/android/support/v4/text/util/
DLinkifyCompatTest.java100 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinksToSpannable() local
128 URLSpan[] spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinksToSpannableWithScheme() local
160 URLSpan[] spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinks3() local
222 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinksPhoneNumbers() local
246 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_spanOverlapPruning() local
254 private boolean containsUrl(URLSpan[] spans, String expectedValue) { in containsUrl()
268 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenDefaultSchemeIsNull() local
279 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenSchemesArrayIsNull() local
292 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_prependsDefaultSchemeToBeginingOfLink() local
303 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_doesNotPrependSchemeIfSchemeExists() local
[all …]
/frameworks/base/core/java/android/text/
DSpannableStringInternal.java56 Object[] spans = src.getSpans(start, end, Object.class); in copySpans() local
186 Object[] spans = mSpans; in setSpan() local
227 Object[] spans = mSpans; in removeSpan() local
251 Object[] spans = mSpans; in getSpanStart() local
265 Object[] spans = mSpans; in getSpanEnd() local
279 Object[] spans = mSpans; in getSpanFlags() local
295 Object[] spans = mSpans; in getSpans() local
374 Object[] spans = mSpans; in nextSpanTransition() local
DMeasuredText.java120 ReplacementSpan[] spans = spanned.getSpans(start, end, in setPara() local
215 float addStyleRun(TextPaint paint, MetricAffectingSpan[] spans, int len, in addStyleRun()
DSpanSet.java35 E[] spans; field in SpanSet
/frameworks/opt/setupwizard/library/platform/src/com/android/setupwizardlib/view/
DRichTextView.java66 final Annotation[] spans = spannable.getSpans(0, spannable.length(), Annotation.class); in getRichText() local
128 final ClickableSpan[] spans = in hasLinks() local
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
DRichTextView.java67 final Annotation[] spans = spannable.getSpans(0, spannable.length(), Annotation.class); in getRichText() local
137 final ClickableSpan[] spans = in hasLinks() local
/frameworks/base/core/tests/coretests/src/android/text/
DSpannableTest.java40 Object[] spans; in testGetSpans() local
DSpannableStringBuilderTest.java50 Object[] spans = builder.getSpans(0, text.length(), Object.class, false); in testGetSpans_sortsByPriorityEvenWhenSortParamIsFalse() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DLinkTextView.java44 final ClickableSpan[] spans = in setText() local
/frameworks/base/tools/aapt2/
DStringPool.h42 std::vector<Span> spans; member
145 std::vector<Span> spans; variable
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
DEmojiSpanInstrumentationTest.java81 final EmojiSpan[] spans = spanned.getSpans(0, charSequence.length(), EmojiSpan.class); in testGetSize_withRelativeSizeSpan() local
DAllEmojisTest.java131 final EmojiSpan[] spans = spanned.getSpans(0, spanned.length(), EmojiSpan.class); in assertSpanCanRenderEmoji() local
/frameworks/support/compat/tests/java/android/support/v4/text/
DBidiFormatterTest.java209 Object[] spans; in testCharSequenceApis() local
/frameworks/support/emoji/core/src/android/support/text/emoji/
DEmojiProcessor.java159 final EmojiSpan[] spans = spannable.getSpans(start, end, EmojiSpan.class); in process() local
303 final EmojiSpan[] spans = content.getSpans(start, end, EmojiSpan.class); in delete() local
375 final EmojiSpan[] spans = editable.getSpans(start, end, EmojiSpan.class); in handleDeleteSurroundingText() local
/frameworks/base/core/java/android/view/textservice/
DTextInfo.java76 final SpellCheckSpan[] spans = spannableString.getSpans(0, spannableString.length(), in TextInfo() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DTextViewTransformState.java71 Object[] spans = ownSpanned.getSpans(0, ownSpanned.length(), Object.class); in hasSameSpans() local
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierImpl.java471 final List<SpanSpec> spans = new ArrayList<>(); in create() local
536 private static List<SpanSpec> avoidOverlaps(List<SpanSpec> spans, String text) { in avoidOverlaps()
595 LinksInfoImpl(CharSequence originalText, List<SpanSpec> spans) { in LinksInfoImpl()
/frameworks/base/core/java/com/android/internal/widget/
DEditableInputConnection.java178 SuggestionSpan[] spans = spanned.getSpans(0, text.length(), SuggestionSpan.class); in commitText() local
/frameworks/base/tools/aapt/
DStringPool.h78 Vector<entry_style_span> spans; member
/frameworks/base/core/jni/
Dandroid_util_StringBlock.cpp107 const ResStringPool_span* spans = osb->styleAt(idx); in android_content_StringBlock_nativeGetStyle() local

123