Home
last modified time | relevance | path

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

123

/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.java211 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasure_Tab_LTR() local
226 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasure_Tab_RTL() local
241 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasure_Tab_BiDi() local
256 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasure_Tab_BiDi2() local
491 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasureAllBounds_Tab_LTR() local
508 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasureAllBounds_Tab_RTL() local
525 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasureAllBounds_Tab_BiDi() local
542 final Object[] spans = { new TabStopSpan.Standard(100) }; in testMeasureAllBounds_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
/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.java80 final AbsoluteSizeSpan[] spans = summary in setUsageSummary_integerNumber_findAbsoluteSizeSpan() local
95 final AbsoluteSizeSpan[] spans = summary in setUsageSummary_floatingPointNumber_findAbsoluteSizeSpan() local
110 final AbsoluteSizeSpan[] spans = summary in setUsageSummary_commaFloatingPointNumber_findAbsoluteSizeSpan() local
/frameworks/base/core/java/android/speech/
DAlternativeSpans.java67 public AlternativeSpans( in AlternativeSpans()
142 List<AlternativeSpan> spans = new ArrayList<>(); in AlternativeSpans() 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.java473 MetricAffectingSpan[] spans = mt.mSpanned.getSpans(spanStart, spanEnd, in buildForMeasurement() local
627 MetricAffectingSpan[] spans = mt.mSpanned.getSpans(spanStart, spanEnd, in buildForStaticLayoutInternal() local
670 ReplacementSpan[] spans = mSpanned.getSpans(start, end, ReplacementSpan.class); in resetAndAnalyzeBidi() local
855 @Nullable MetricAffectingSpan[] spans, in applyMetricsAffectingSpan()
DSpanSet.java39 E[] spans; field in SpanSet
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DContrastColorUtilTest.java112 Object[] spans = result.getSpans(0, result.length(), Object.class); in testBuilder_ensureColorSpanContrast_removesAllFullLengthColorSpans() local
140 Object[] spans = ((Spannable) result).getSpans(0, result.length(), Object.class); in testBuilder_ensureColorSpanContrast_partialLength_adjusted() local
165 Object[] spans = result.getSpans(0, result.length(), Object.class); in testBuilder_ensureColorSpanContrast_worksWithComplexInput() 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/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/FooterPreference/src/com/android/settingslib/widget/
DLinkTextView.java46 final ClickableSpan[] spans = in setText() local
/frameworks/base/libs/androidfw/include/androidfw/
DStringPool.h46 std::vector<Span> spans; member
151 std::vector<Span> spans; variable
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DResourceHelperTest.java95 Object[] spans = spanned.getSpans(0, spanned.length(), Object.class); in testParseHtml() local
/frameworks/base/tools/aapt2/
DResourceUtils.h238 std::vector<android::Span> spans; member
/frameworks/base/core/java/android/text/style/
DSpanUtils.java227 final List<UnderlineSpan> spans = in toggleUnderline() local
292 private static <T> boolean isCovered(@NonNull Spannable spannable, @NonNull List<T> spans, in isCovered()
/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/tools/aapt/
DStringPool.h78 Vector<entry_style_span> spans; member

123