/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 44 * Alone with the pattern that is to be matched, a url scheme prefix is also 45 * required. Any pattern match that does not begin with the supplied scheme 46 * will have the scheme prepended to the matched text when the clickable url 48 * the scheme <code>http://</code>. If the pattern matches example.com, which 49 * does not have a url scheme prefix, the supplied scheme will be prepended to 298 * @param scheme Url scheme string (eg <code>http://</code> to be 300 * a scheme specified in the link text 302 public static final void addLinks(TextView text, Pattern pattern, String scheme) { argument 321 addLinks(TextView text, Pattern p, String scheme, MatchFilter matchFilter, TransformFilter transformFilter) argument 342 addLinks(Spannable text, Pattern pattern, String scheme) argument 360 addLinks(Spannable s, Pattern p, String scheme, MatchFilter matchFilter, TransformFilter transformFilter) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | UriTest.java | 45 .scheme("http") 73 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); 138 .scheme("http") 147 .scheme("http") 201 .scheme("foo") 350 .scheme("mailto") 402 private static void testHierarchical(String scheme, String authority, argument 418 if (scheme != null) { 419 sb.insert(0, scheme + ":"); 431 uriString, ssp, uri, scheme, authorit 484 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | IntentResolver.java | 200 final String scheme = intent.getScheme(); 204 resolvedType, scheme, listCut.get(i), resultList); 211 String scheme = intent.getScheme(); 219 TAG, "Resolving type " + resolvedType + " scheme " + scheme 264 // the filters that match its scheme (we will further refine matches 266 if (scheme != null) { 267 schemeCut = mSchemeToFilter.get(scheme); 274 if (resolvedType == null && scheme == null && intent.getAction() != null) { 281 resolvedType, scheme, firstTypeCu 471 buildResolveList(Intent intent, boolean debug, boolean defaultOnly, String resolvedType, String scheme, List<F> src, List<R> dest) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 42 * match against actions, categories, and data (either via its type, scheme, 63 * itself divided into three attributes: type, scheme, authority, and path. 65 * specified must match the contents of the Intent. If you specify a scheme 68 * that is supplied by their content provider. Specifying a type with no scheme 80 * <strong>data scheme+authority+path</strong> if specified) must match. 95 * Intent data's scheme. 96 * The Intent scheme is determined by calling {@link Intent#getData} 98 * <em>Note that scheme matching here is <b>case sensitive</b>, unlike 103 * the Intent's data authority <em>and</em> one of the data scheme's in the filter 112 * Intent's data path <em>and</em> both a scheme an 582 addDataScheme(String scheme) argument 612 hasDataScheme(String scheme) argument 897 matchData(String type, String scheme, Uri data) argument 1099 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 100 <scheme>://<authority><path>?<query> 132 * Absolute URIs are hierarchical if the scheme-specific part starts with 139 * scheme-specific part of an opaque URI cannot start with a '/'. 147 * explicit scheme. 155 * explicit scheme. 164 * Gets the scheme of this URI. Example: "http" 166 * @return the scheme or null if this is a relative URI 171 * Gets the scheme-specific part of this URI, i.e. everything between the 172 * scheme separator ':' and the fragment separator '#'. If this is a 177 * @return the decoded scheme 481 private volatile String scheme = NOT_CACHED; field in class:Uri.StringUri 761 fromParts(String scheme, String ssp, String fragment) argument 782 private final String scheme; field in class:Uri.OpaqueUri 786 OpaqueUri(String scheme, Part ssp, Part fragment) argument 1088 private final String scheme; // can be null field in class:Uri.HierarchicalUri 1094 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument 1267 private String scheme; field in class:Uri.Builder 1284 scheme(String scheme) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewCore.java | 554 // Register a scheme to be treated as local scheme so that it can access 556 private native void nativeRegisterURLSchemeAsLocal(String scheme); argument 969 * we automatically add the scheme of the 973 String scheme = baseUrl.substring(0, i); 974 if (!scheme.startsWith("http") && 975 !scheme.startsWith("ftp") && 976 !scheme.startsWith("about") && 977 !scheme.startsWith("javascript")) { 978 nativeRegisterURLSchemeAsLocal(scheme); [all...] |