Home
last modified time | relevance | path

Searched defs:spans (Results 1 – 25 of 47) 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.java155 private void checkContains(Spanned text, String[] spans, String spanName, in checkContains()
171 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/packages/SettingsLib/tests/integ/src/com/android/settingslib/widget/
DUsageProgressBarPreferenceTest.java78 final AbsoluteSizeSpan[] spans = summary in setUsageSummary_integerNumber_findAbsoluteSizeSpan() local
93 final AbsoluteSizeSpan[] spans = summary in setUsageSummary_floatingPointNumber_findAbsoluteSizeSpan() local
108 final AbsoluteSizeSpan[] spans = summary in setUsageSummary_commaFloatingPointNumber_findAbsoluteSizeSpan() local
/frameworks/base/core/java/android/text/
DSpannableStringInternal.java72 Object[] spans = src.getSpans(start, end, Object.class); in copySpansFromSpanned() local
222 Object[] spans = mSpans; in setSpan() local
271 Object[] spans = mSpans; in removeSpan() local
298 Object[] spans = mSpans; in getSpanStart() local
313 Object[] spans = mSpans; in getSpanEnd() local
328 Object[] spans = mSpans; in getSpanFlags() local
345 Object[] spans = mSpans; in getSpans() local
425 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.java39 E[] spans; field in SpanSet
/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/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/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/FooterPreference/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.h47 std::vector<Span> spans; member
150 std::vector<Span> spans; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAnnotationLinkSpan.java55 final Annotation[] spans = in linkify() 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.java69 Object[] spans = ownSpanned.getSpans(0, ownSpanned.length(), Object.class); in hasSameSpans() local
/frameworks/base/core/jni/
Dandroid_util_StringBlock.cpp101 auto 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