Home
last modified time | relevance | path

Searched refs:addLinks (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/text/util/
DLinkify.java252 public static final boolean addLinks(@NonNull Spannable text, @LinkifyMask int mask) { in addLinks() method in Linkify
253 return addLinks(text, mask, null, null); in addLinks()
268 public static final boolean addLinks(@NonNull Spannable text, @LinkifyMask int mask, in addLinks() method in Linkify
270 return addLinks(text, mask, null, urlSpanFactory); in addLinks()
285 private static boolean addLinks(@NonNull Spannable text, @LinkifyMask int mask, in addLinks() method in Linkify
373 public static final boolean addLinks(@NonNull TextView text, @LinkifyMask int mask) { in addLinks() method in Linkify
381 if (addLinks((Spannable) t, mask, context, null)) { in addLinks()
390 if (addLinks(s, mask, context, null)) { in addLinks()
422 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() method in Linkify
424 addLinks(text, pattern, scheme, null, null, null); in addLinks()
[all …]
/frameworks/base/core/tests/benchmarks/src/android/text/util/
DLinkifyBenchmark.java68 Linkify.addLinks(mTestSpannable, Patterns.AUTOLINK_WEB_URL, "http://", in timeNewRegEx()
76 Linkify.addLinks(mTestSpannable, Patterns.WEB_URL, "http://", in timeOldRegEx()
84 Linkify.addLinks(mTestSpannable, BASIC_PATTERN, "http://", in timeBasicRegEx()
/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java112 Linkify.addLinks(spannable, Patterns.AUTOLINK_WEB_URL, null, null, null); in testAddLinks_addsLinksWhenDefaultSchemeIsNull()
123 Linkify.addLinks(spannable, Patterns.AUTOLINK_WEB_URL, "http://", null, null); in testAddLinks_addsLinksWhenSchemesArrayIsNull()
135 Linkify.addLinks(spannable, Patterns.AUTOLINK_WEB_URL, "http://", in testAddLinks_prependsDefaultSchemeToBeginingOfLink()
146 Linkify.addLinks(spannable, Patterns.AUTOLINK_WEB_URL, "http://", in testAddLinks_doesNotPrependSchemeIfSchemeExists()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java724 addLinks(links, string, TextClassifier.TYPE_URL); in generateLegacyLinks()
727 addLinks(links, string, TextClassifier.TYPE_PHONE); in generateLegacyLinks()
730 addLinks(links, string, TextClassifier.TYPE_EMAIL); in generateLegacyLinks()
736 private static void addLinks( in addLinks() method in TextClassifier.Utils
739 if (Linkify.addLinks(spannable, linkMask(entityType))) { in addLinks()
/frameworks/base/core/java/android/widget/
DTextView.java5761 boolean linksWereAdded = Linkify.addLinks(mSpannable, mAutoLinkMask); in append()
6201 if (Linkify.addLinks(s2, mAutoLinkMask)) { in setText()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...