Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java114 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenDefaultSchemeIsNull() local
125 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenSchemesArrayIsNull() local
138 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_prependsDefaultSchemeToBeginingOfLink() local
149 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_doesNotPrependSchemeIfSchemeExists() local
/frameworks/base/core/tests/coretests/src/android/text/
DSpannedStringNoCopyTest.java45 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl() local
59 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl() local
77 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_copyNoCopySpans_OtherSpannedImpl() local
92 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannedImpl() local
DSpannableStringNoCopyTest.java45 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl() local
59 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl() local
77 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_copyNoCopySpans_OtherSpannableImpl() local
92 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannableImpl() local
DTextLineTest.java199 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasure_Tab_LTR() local
214 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasure_Tab_RTL() local
229 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasure_Tab_BiDi() local
244 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasure_Tab_BiDi2() local
DSpannableStringBuilderTest.java57 Object[] spans = builder.getSpans(0, text.length(), Object.class, false); in testGetSpans_sortsByPriorityEvenWhenSortParamIsFalse() local
DSpannableTest.java47 Object[] spans; in testGetSpans() local
DSpannedTest.java131 Object[] spans = s.getSpans(0, s.length(), Object.class); in checkPriority() local
DTextUtilsTest.java153 private void checkContains(Spanned text, String[] spans, String spanName, in checkContains()
169 String[] spans; in testTemplateSpan() local
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DRichTextViewTest.java63 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
108 LinkSpan[] spans = ((Spanned) text).getSpans(0, text.length(), LinkSpan.class); in testLegacyContextOnClickListener() local
162 Object[] spans = ((Spanned) text).getSpans(0, text.length(), Annotation.class); in testTextStyle() local
/frameworks/base/core/java/android/text/
DSpannableStringInternal.java69 Object[] spans = src.getSpans(start, end, Object.class); in copySpans() local
219 Object[] spans = mSpans; in setSpan() local
268 Object[] spans = mSpans; in removeSpan() local
295 Object[] spans = mSpans; in getSpanStart() local
310 Object[] spans = mSpans; in getSpanEnd() local
325 Object[] spans = mSpans; in getSpanFlags() local
342 Object[] spans = mSpans; in getSpans() local
422 Object[] spans = mSpans; in nextSpanTransition() local
DMeasuredParagraph.java359 MetricAffectingSpan[] spans = mt.mSpanned.getSpans(spanStart, spanEnd, in buildForMeasurement() local
423 MetricAffectingSpan[] spans = mt.mSpanned.getSpans(spanStart, spanEnd, in buildForStaticLayout() local
461 ReplacementSpan[] spans = mSpanned.getSpans(start, end, ReplacementSpan.class); in resetAndAnalyzeBidi() local
562 @Nullable MetricAffectingSpan[] spans, in applyMetricsAffectingSpan()
DSpanSet.java38 E[] spans; field in SpanSet
DLayout.java341 ParagraphStyle[] spans = NO_PARA_SPANS; in getJustifyWidth() local
421 ParagraphStyle[] spans = NO_PARA_SPANS; in drawText() local
605 ParagraphStyle[] spans = NO_PARA_SPANS; in drawBackground() local
1832 ReplacementSpan[] spans = ((Spanned) text).getSpans(offset, offset, in getOffsetAtStartOf() local
2065 AlignmentSpan[] spans = getParagraphSpans(sp, getLineStart(line), in getParagraphAlignment() local
2118 LeadingMarginSpan[] spans = getParagraphSpans(spanned, lineStart, spanEnd, in getParagraphLeadingMargin() local
DTextUtils.java1086 ReplacementSpan[] spans = ((Spanned) text).getSpans(offset, offset, in getOffsetBefore() local
1123 ReplacementSpan[] spans = ((Spanned) text).getSpans(offset, offset, in getOffsetAfter() local
1160 Object[] spans = source.getSpans(start, end, kind); in copySpansFrom() local
1206 final Object[] spans = spanned.getSpans(0, sourceLength, Object.class); in toUpperCase() local
1982 public static <T> T[] removeEmptySpans(T[] spans, Spanned spanned, Class<T> klass) { in removeEmptySpans()
/frameworks/opt/setupwizard/library/platform/src/com/android/setupwizardlib/view/
DRichTextView.java67 final Annotation[] spans = spannable.getSpans(0, spannable.length(), Annotation.class); in getRichText() local
135 final ClickableSpan[] spans = in hasLinks() local
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSpanHelperTest.java43 final Object[] spans = ssb.getSpans(0, ssb.length(), Object.class); in testReplaceSpan() 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
149 final ClickableSpan[] spans = in hasLinks() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DLinkTextView.java44 final ClickableSpan[] spans = in setText() local
/frameworks/base/tools/aapt2/
DResourceUtils.h241 std::vector<Span> spans; member
DStringPool.h43 std::vector<Span> spans; member
146 std::vector<Span> spans; variable
/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.java69 Object[] spans = ownSpanned.getSpans(0, ownSpanned.length(), Object.class); in hasSameSpans() local
/frameworks/base/core/jni/
Dandroid_util_StringBlock.cpp107 const ResStringPool_span* spans = osb->styleAt(idx); in android_content_StringBlock_nativeGetStyle() local
/frameworks/base/tools/aapt/
DStringPool.h78 Vector<entry_style_span> spans; member
DStringPool.cpp123 ssize_t StringPool::add(const String16& value, const Vector<entry_style_span>& spans, in add()
214 status_t StringPool::addStyleSpans(size_t idx, const Vector<entry_style_span>& spans) in addStyleSpans()

12