Home
last modified time | relevance | path

Searched refs:addLinks (Results 1 – 8 of 8) 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/api/
Dcurrent.txt47342 method public static final boolean addLinks(@NonNull android.text.Spannable, int);
47343 …method public static final boolean addLinks(@NonNull android.text.Spannable, int, @Nullable java.u…
47344 method public static final boolean addLinks(@NonNull android.widget.TextView, int);
47345 …method public static final void addLinks(@NonNull android.widget.TextView, @NonNull java.util.rege…
47346 …method public static final void addLinks(@NonNull android.widget.TextView, @NonNull java.util.rege…
47347 …method public static final void addLinks(@NonNull android.widget.TextView, @NonNull java.util.rege…
47348 …method public static final boolean addLinks(@NonNull android.text.Spannable, @NonNull java.util.re…
47349 …method public static final boolean addLinks(@NonNull android.text.Spannable, @NonNull java.util.re…
47350 …method public static final boolean addLinks(@NonNull android.text.Spannable, @NonNull java.util.re…
47351 …method public static final boolean addLinks(@NonNull android.text.Spannable, @NonNull java.util.re…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31011 method public static final boolean addLinks(android.text.Spannable, int);
31012 method public static final boolean addLinks(android.widget.TextView, int);
31013 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
31014 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
31015 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
31016 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt76121 Landroid/text/util/Linkify;->addLinks(Landroid/text/Spannable;ILandroid/content/Context;)Z
82508 Landroid/view/textclassifier/TextClassifier$Utils;->addLinks(Landroid/view/textclassifier/TextLinks…