Lines Matching defs:scheme
50 * Alone with the pattern that is to be matched, a url scheme prefix is also
51 * required. Any pattern match that does not begin with the supplied scheme
52 * will have the scheme prepended to the matched text when the clickable url
54 * the scheme <code>http://</code>. If the pattern matches example.com, which
55 * does not have a url scheme prefix, the supplied scheme will be prepended to
302 * @param scheme Url scheme string (eg <code>http://</code> to be
304 * a scheme specified in the link text
306 public static final void addLinks(TextView text, Pattern pattern, String scheme) {
307 addLinks(text, pattern, scheme, null, null);
318 * @param scheme Url scheme string (eg <code>http://</code> to be
320 * a scheme specified in the link text
325 public static final void addLinks(TextView text, Pattern p, String scheme,
329 if (addLinks(s, p, scheme, matchFilter, transformFilter)) {
342 * @param scheme Url scheme string (eg <code>http://</code> to be
344 * a scheme specified in the link text
346 public static final boolean addLinks(Spannable text, Pattern pattern, String scheme) {
347 return addLinks(text, pattern, scheme, null, null);
357 * @param scheme Url scheme string (eg <code>http://</code> to be
359 * a scheme specified in the link text
365 String scheme, MatchFilter matchFilter,
368 String prefix = (scheme == null) ? "" : scheme.toLowerCase(Locale.ROOT);