Lines Matching refs: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
305 * @param scheme Url scheme string (eg <code>http://</code> to be
307 * a scheme specified in the link text
309 public static final void addLinks(TextView text, Pattern pattern, String scheme) {
310 addLinks(text, pattern, scheme, null, null);
321 * @param scheme Url scheme string (eg <code>http://</code> to be
323 * a scheme specified in the link text
328 public static final void addLinks(TextView text, Pattern p, String scheme,
332 if (addLinks(s, p, scheme, matchFilter, transformFilter)) {
345 * @param scheme Url scheme string (eg <code>http://</code> to be
347 * a scheme specified in the link text
349 public static final boolean addLinks(Spannable text, Pattern pattern, String scheme) {
350 return addLinks(text, pattern, scheme, null, null);
360 * @param scheme Url scheme string (eg <code>http://</code> to be
362 * a scheme specified in the link text
368 String scheme, MatchFilter matchFilter,
371 String prefix = (scheme == null) ? "" : scheme.toLowerCase(Locale.ROOT);