Home
last modified time | relevance | path

Searched refs:inUrl (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Browser/src/com/android/browser/
DUrlUtils.java105 String inUrl = url.trim(); in smartUrlFilter() local
106 boolean hasSpace = inUrl.indexOf(' ') != -1; in smartUrlFilter()
108 Matcher matcher = ACCEPTED_URI_SCHEMA.matcher(inUrl); in smartUrlFilter()
114 inUrl = lcScheme + matcher.group(2); in smartUrlFilter()
116 if (hasSpace && Patterns.WEB_URL.matcher(inUrl).matches()) { in smartUrlFilter()
117 inUrl = inUrl.replace(" ", "%20"); in smartUrlFilter()
119 return inUrl; in smartUrlFilter()
122 if (Patterns.WEB_URL.matcher(inUrl).matches()) { in smartUrlFilter()
123 return URLUtil.guessUrl(inUrl); in smartUrlFilter()
127 return URLUtil.composeSearchUrl(inUrl, in smartUrlFilter()
[all …]
DIntentHandler.java291 Controller controller, String inUrl, Bundle appData, in handleWebSearchRequest() argument
293 if (inUrl == null) return false; in handleWebSearchRequest()
297 String url = UrlUtils.fixUrl(inUrl).trim(); in handleWebSearchRequest()
DUrlInputView.java276 boolean isSearch(String inUrl) { in isSearch() argument
277 String url = UrlUtils.fixUrl(inUrl).trim(); in isSearch()