Searched defs:links (Results 1 - 6 of 6) sorted by relevance

/frameworks/support/compat/java/android/support/v4/text/util/
H A DLinkifyCompat.java89 * of the link types indicated in the mask into clickable links.
94 * @param text Spannable whose text is to be marked-up with links
95 * @param mask Mask to define which kinds of links will be searched.
119 ArrayList<LinkSpec> links = new ArrayList<LinkSpec>();
122 gatherLinks(links, text, PatternsCompat.AUTOLINK_WEB_URL,
128 gatherLinks(links, text, PatternsCompat.AUTOLINK_EMAIL_ADDRESS,
134 gatherMapLinks(links, text);
137 pruneOverlaps(links, text);
139 if (links.size() == 0) {
143 for (LinkSpec link: links) {
411 gatherLinks(ArrayList<LinkSpec> links, Spannable s, Pattern pattern, String[] schemes, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter) argument
439 gatherMapLinks(ArrayList<LinkSpec> links, Spannable s) argument
480 pruneOverlaps(ArrayList<LinkSpec> links, Spannable text) argument
[all...]
/frameworks/base/core/java/android/text/util/
H A DLinkify.java54 * regex matches in the text into clickable links. This is particularly
215 * of the link types indicated in the mask into clickable links.
220 * @param text Spannable whose text is to be marked-up with links
221 * @param mask Mask to define which kinds of links will be searched.
241 ArrayList<LinkSpec> links = new ArrayList<LinkSpec>();
244 gatherLinks(links, text, Patterns.AUTOLINK_WEB_URL,
250 gatherLinks(links, text, Patterns.AUTOLINK_EMAIL_ADDRESS,
256 gatherTelLinks(links, text, context);
260 gatherMapLinks(links, text);
263 pruneOverlaps(links);
516 gatherLinks(ArrayList<LinkSpec> links, Spannable s, Pattern pattern, String[] schemes, MatchFilter matchFilter, TransformFilter transformFilter) argument
538 gatherTelLinks(ArrayList<LinkSpec> links, Spannable s, @Nullable Context context) argument
556 gatherMapLinks(ArrayList<LinkSpec> links, Spannable s) argument
597 pruneOverlaps(ArrayList<LinkSpec> links) argument
[all...]
/frameworks/base/tests/net/java/android/net/ip/
H A DIpManagerTest.java164 .withInitialConfiguration(conf(links(addresses), prefixes(prefixes), ips()))
188 LinkProperties want = linkproperties(links(addresses), routes(prefixes));
199 InitialConfiguration empty = conf(links(), prefixes());
202 notProvisionedCase(links(), routes(), dns(), null),
203 notProvisionedCase(links(), routes(), dns(), empty),
206 provisionedCase(links("192.0.2.12/24"), routes(), dns(), empty),
210 links("fe80::a4be:f92:e1f7:22d1/64", "fd2c:4e57:8e3c:0:548d:2db2:4fcf:ef75/64"),
213 links("fe80::a4be:f92:e1f7:22d1/64", "fd2c:4e57:8e3c:0:548d:2db2:4fcf:ef75/64"),
216 links("2001:db8:dead:beef:f00::a0/64", "fe80::1/64"),
222 links("fe8
342 validConf(String descr, Set<LinkAddress> links, Set<IpPrefix> prefixes, Set<InetAddress> dns) argument
347 invalidConf(String descr, Set<LinkAddress> links, Set<IpPrefix> prefixes, Set<InetAddress> dns) argument
370 conf(Set<LinkAddress> links, Set<IpPrefix> prefixes) argument
374 conf( Set<LinkAddress> links, Set<IpPrefix> prefixes, Set<InetAddress> dns) argument
391 static Set<LinkAddress> links(String... addresses) { method in class:IpManagerTest
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dipc_helper.cpp441 size_t links = 0; local
443 while (pos < separators.size() && links <= MAXSYMLINKS) {
464 links = 0;
511 links = 0;
534 links++;
536 } // while (pos < separators.size() && links <= MAXSYMLINKS)
/frameworks/base/core/java/android/widget/
H A DGridLayout.java1346 private void computeLinks(PackedMap<Interval, MutableInt> links, boolean min) { argument
1347 MutableInt[] spans = links.values;
1356 MutableInt valueHolder = links.getValue(i);
1387 Remove self referential links.
1477 private void addComponentSizes(List<Arc> result, PackedMap<Interval, MutableInt> links) { argument
1478 for (int i = 0; i < links.keys.length; i++) {
1479 Interval key = links.keys[i];
1480 include(result, key, links.values[i], false);
1515 // getting the links validates the values that are shared by the arc list
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java1237 private void computeLinks(PackedMap<Interval, MutableInt> links, boolean min) { argument
1238 MutableInt[] spans = links.values;
1247 MutableInt valueHolder = links.getValue(i);
1278 Remove self referential links.
1368 private void addComponentSizes(List<Arc> result, PackedMap<Interval, MutableInt> links) { argument
1369 for (int i = 0; i < links.keys.length; i++) {
1370 Interval key = links.keys[i];
1371 include(result, key, links.values[i], false);
1406 // getting the links validates the values that are shared by the arc list

Completed in 267 milliseconds