Home
last modified time | relevance | path

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

12

/frameworks/support/compat/src/main/java/androidx/core/text/util/
DLinkifyCompat.java101 public static boolean addLinks(@NonNull Spannable text, @LinkifyMask int mask) { in addLinks() method in LinkifyCompat
103 return Linkify.addLinks(text, mask); in addLinks()
116 Linkify.addLinks(text, Linkify.PHONE_NUMBERS); in addLinks()
163 public static boolean addLinks(@NonNull TextView text, @LinkifyMask int mask) { in addLinks() method in LinkifyCompat
165 return Linkify.addLinks(text, mask); in addLinks()
174 if (addLinks((Spannable) t, mask)) { in addLinks()
183 if (addLinks(s, mask)) { in addLinks()
205 public static void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() method in LinkifyCompat
208 Linkify.addLinks(text, pattern, scheme); in addLinks()
211 addLinks(text, pattern, scheme, null, null, null); in addLinks()
[all …]
/frameworks/support/compat/src/androidTest/java/androidx/core/text/util/
DLinkifyCompatTest.java100 assertTrue(LinkifyCompat.addLinks(spannable, Linkify.WEB_URLS)); in testAddLinksToSpannable()
108 assertTrue(LinkifyCompat.addLinks(spannable, Linkify.EMAIL_ADDRESSES)); in testAddLinksToSpannable()
114 LinkifyCompat.addLinks((Spannable) null, Linkify.WEB_URLS); in testAddLinksToSpannable()
120 assertFalse(LinkifyCompat.addLinks((Spannable) null, 0)); in testAddLinksToSpannable()
128 LinkifyCompat.addLinks(spannable, LINKIFY_TEST_PATTERN, "Test:"); in testAddLinksToSpannableWithScheme()
135 LinkifyCompat.addLinks((Spannable) null, LINKIFY_TEST_PATTERN, "Test:"); in testAddLinksToSpannableWithScheme()
141 LinkifyCompat.addLinks(spannable, null, "Test:"); in testAddLinksToSpannableWithScheme()
147 LinkifyCompat.addLinks(spannable, LINKIFY_TEST_PATTERN, null); in testAddLinksToSpannableWithScheme()
159 LinkifyCompat.addLinks(spannable, LINKIFY_TEST_PATTERN, "Test:", in testAddLinks3()
167 LinkifyCompat.addLinks((Spannable)null, LINKIFY_TEST_PATTERN, "Test:", in testAddLinks3()
[all …]
/frameworks/base/core/java/android/text/util/
DLinkify.java243 public static final boolean addLinks(@NonNull Spannable text, @LinkifyMask int mask) { in addLinks() method in Linkify
244 return addLinks(text, mask, null); in addLinks()
247 private static boolean addLinks(@NonNull Spannable text, @LinkifyMask int mask, in addLinks() method in Linkify
305 public static final boolean addLinks(@NonNull TextView text, @LinkifyMask int mask) { in addLinks() method in Linkify
313 if (addLinks((Spannable) t, mask, context)) { in addLinks()
322 if (addLinks(s, mask, context)) { in addLinks()
354 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() method in Linkify
356 addLinks(text, pattern, scheme, null, null, null); in addLinks()
373 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() method in Linkify
376 addLinks(text, pattern, scheme, null, matchFilter, transformFilter); 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.java120 Linkify.addLinks(spannable, Patterns.AUTOLINK_WEB_URL, null, null, null); in testAddLinks_addsLinksWhenDefaultSchemeIsNull()
131 Linkify.addLinks(spannable, Patterns.AUTOLINK_WEB_URL, "http://", null, null); in testAddLinks_addsLinksWhenSchemesArrayIsNull()
143 Linkify.addLinks(spannable, Patterns.AUTOLINK_WEB_URL, "http://", in testAddLinks_prependsDefaultSchemeToBeginingOfLink()
154 Linkify.addLinks(spannable, Patterns.AUTOLINK_WEB_URL, "http://", in testAddLinks_doesNotPrependSchemeIfSchemeExists()
190 Linkify.addLinks(expected, linkMask); // legacy. in testAddLinksAsync_useLegacyIfSmartDisabled()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java566 addLinks(links, string, TextClassifier.TYPE_URL); in generateLegacyLinks()
569 addLinks(links, string, TextClassifier.TYPE_PHONE); in generateLegacyLinks()
572 addLinks(links, string, TextClassifier.TYPE_EMAIL); in generateLegacyLinks()
578 private static void addLinks( in addLinks() method in TextClassifier.Utils
581 if (Linkify.addLinks(spannable, linkMask(entityType))) { in addLinks()
/frameworks/support/compat/api_legacy/
D28.0.0-alpha1.txt1273 method public static boolean addLinks(android.text.Spannable, int);
1274 method public static boolean addLinks(android.widget.TextView, int);
1275 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1276 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1277 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1278 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
1279 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
1280 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
D26.1.0.txt1053 method public static final boolean addLinks(android.text.Spannable, int);
1054 method public static final boolean addLinks(android.widget.TextView, int);
1055 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
1056 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
1057 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
1058 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
1059 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
1060 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
Dcurrent.txt1275 method public static boolean addLinks(android.text.Spannable, int);
1276 method public static boolean addLinks(android.widget.TextView, int);
1277 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1278 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1279 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1280 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
1281 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
1282 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
D27.1.0.txt1089 method public static boolean addLinks(android.text.Spannable, int);
1090 method public static boolean addLinks(android.widget.TextView, int);
1091 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1092 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1093 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1094 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
1095 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
1096 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
D27.0.0.txt1041 method public static final boolean addLinks(android.text.Spannable, int);
1042 method public static final boolean addLinks(android.widget.TextView, int);
1043 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
1044 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
1045 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
1046 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
1047 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
1048 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
D26.0.0.txt1053 method public static final boolean addLinks(android.text.Spannable, int);
1054 method public static final boolean addLinks(android.widget.TextView, int);
1055 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
1056 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
1057 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
1058 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
1059 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
1060 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
/frameworks/support/compat/api/
Dcurrent.txt1371 method public static boolean addLinks(android.text.Spannable, int);
1372 method public static boolean addLinks(android.widget.TextView, int);
1373 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1374 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1375 …method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, java.lang.Str…
1376 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
1377 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
1378 …method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.lang.S…
/frameworks/support/api/
D25.2.0.txt6124 method public static final boolean addLinks(android.text.Spannable, int);
6125 method public static final boolean addLinks(android.widget.TextView, int);
6126 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
6127 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
6128 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
6129 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
6130 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
6131 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
D25.0.0.txt5738 method public static final boolean addLinks(android.text.Spannable, int);
5739 method public static final boolean addLinks(android.widget.TextView, int);
5740 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
5741 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
5742 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
5743 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
5744 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
5745 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
D24.2.0.txt5673 method public static final boolean addLinks(android.text.Spannable, int);
5674 method public static final boolean addLinks(android.widget.TextView, int);
5675 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
5676 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
5677 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
5678 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
5679 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
5680 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
D25.4.0.txt6627 method public static final boolean addLinks(android.text.Spannable, int);
6628 method public static final boolean addLinks(android.widget.TextView, int);
6629 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
6630 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
6631 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
6632 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
6633 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
6634 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
D26.0.0-alpha1.txt7023 method public static final boolean addLinks(android.text.Spannable, int);
7024 method public static final boolean addLinks(android.widget.TextView, int);
7025 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
7026 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
7027 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
7028 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
7029 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
7030 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
D25.3.0.txt6556 method public static final boolean addLinks(android.text.Spannable, int);
6557 method public static final boolean addLinks(android.widget.TextView, int);
6558 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
6559 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
6560 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
6561 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
6562 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
6563 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
D26.0.0-beta1.txt7986 method public static final boolean addLinks(android.text.Spannable, int);
7987 method public static final boolean addLinks(android.widget.TextView, int);
7988 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
7989 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
7990 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
7991 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
7992 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
7993 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
D26.0.0-beta2.txt8126 method public static final boolean addLinks(android.text.Spannable, int);
8127 method public static final boolean addLinks(android.widget.TextView, int);
8128 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
8129 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
8130 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
8131 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
8132 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
8133 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
D26.1.0.txt8146 method public static final boolean addLinks(android.text.Spannable, int);
8147 method public static final boolean addLinks(android.widget.TextView, int);
8148 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
8149 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
8150 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
8151 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
8152 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
8153 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
/frameworks/base/config/
Dhiddenapi-public-dex.txt46284 Landroid/text/util/Linkify;->addLinks(Landroid/text/Spannable;I)Z
46285 Landroid/text/util/Linkify;->addLinks(Landroid/text/Spannable;Ljava/util/regex/Pattern;Ljava/lang/S…
46286 Landroid/text/util/Linkify;->addLinks(Landroid/text/Spannable;Ljava/util/regex/Pattern;Ljava/lang/S…
46287 Landroid/text/util/Linkify;->addLinks(Landroid/text/Spannable;Ljava/util/regex/Pattern;Ljava/lang/S…
46288 Landroid/text/util/Linkify;->addLinks(Landroid/widget/TextView;I)Z
46289 Landroid/text/util/Linkify;->addLinks(Landroid/widget/TextView;Ljava/util/regex/Pattern;Ljava/lang/…
46290 Landroid/text/util/Linkify;->addLinks(Landroid/widget/TextView;Ljava/util/regex/Pattern;Ljava/lang/…
46291 Landroid/text/util/Linkify;->addLinks(Landroid/widget/TextView;Ljava/util/regex/Pattern;Ljava/lang/…
/frameworks/base/api/
Dcurrent.txt44694 method public static final boolean addLinks(android.text.Spannable, int);
44695 method public static final boolean addLinks(android.widget.TextView, int);
44696 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
44697 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
44698 …method public static final void addLinks(android.widget.TextView, java.util.regex.Pattern, java.la…
44699 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
44700 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
44701 …method public static final boolean addLinks(android.text.Spannable, java.util.regex.Pattern, java.…
/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.…

12