Lines Matching refs:url
44 * Alone with the pattern that is to be matched, a url scheme prefix is also
46 * will have the scheme prepended to the matched text when the clickable url
49 * does not have a url scheme prefix, the supplied scheme will be prepended to
50 * create <code>http://example.com</code> when the clickable url link is
137 public final String transformUrl(final Matcher match, String url) {
149 * support@example.com. So, when matching against a web url pattern you
184 * @param url The text that was matched
188 String transformUrl(final Matcher match, String url);
240 applyLink(link.url, link.start, link.end, text);
299 * prepended to the url of links that do not have
315 * prepended to the url of links that do not have
339 * prepended to the url of links that do not have
354 * prepended to the url of links that do not have
377 String url = makeUrl(m.group(0), new String[] { prefix },
380 applyLink(url, start, end, s);
388 private static final void applyLink(String url, int start, int end, Spannable text) {
389 URLSpan span = new URLSpan(url);
394 private static final String makeUrl(String url, String[] prefixes,
397 url = filter.transformUrl(m, url);
403 if (url.regionMatches(true, 0, prefixes[i], 0,
408 if (!url.regionMatches(false, 0, prefixes[i], 0,
410 url = prefixes[i] + url.substring(prefixes[i].length());
418 url = prefixes[0] + url;
421 return url;
435 String url = makeUrl(m.group(0), schemes, m, transformFilter);
437 spec.url = url;
475 spec.url = "geo:0,0?q=" + encodedAddress;
540 String url;