Lines Matching refs:url
120 // Keep the original url around to avoid killing the old WebView if the url
283 // If there is only one base URL, use it. If there are
285 // URL corresponding to the index.
348 * the same base url
352 * The last url provided by voice search. Used for comparison to see if
460 public void onPageStarted(WebView view, String url, Bitmap favicon) {
464 && !url.equals(mVoiceSearchData.mLastVoiceSearchUrl)) {
482 // create a new one when the touch icon url is known.
499 .getContentResolver(), null, url, favicon);
511 mActivity.onPageStarted(view, url, favicon);
516 public void onPageFinished(WebView view, String url) {
518 url, SystemClock.uptimeMillis() - mLoadStartTime);
532 mActivity.onPageFinished(view, url);
536 // return true if want to hijack the url to let another app to handle it
538 public boolean shouldOverrideUrlLoading(WebView view, String url) {
552 return mActivity.shouldOverrideUrlLoading(view, url);
565 public void onLoadResource(WebView view, String url) {
566 if (url != null && url.length() > 0) {
570 // If NOT a 'safe' url, change the lock to mixed content!
571 if (!(URLUtil.isHttpsUrl(url) || URLUtil.isDataUrl(url)
572 || URLUtil.isAboutUrl(url))) {
656 * Insert the url into the visited history database.
657 * @param url The url to be inserted.
658 * @param isReload True if this url is being reloaded.
662 public void doUpdateVisitedHistory(WebView view, String url,
664 if (url.regionMatches(true, 0, "about:", 0, 6)) {
669 int index = url.indexOf("client=ms-");
670 if (index > 0 && url.contains(".google.")) {
671 int end = url.indexOf('&', index);
673 url = url.substring(0, index)
674 .concat(url.substring(end + 1));
676 // the url.charAt(index-1) should be either '?' or '&'
677 url = url.substring(0, index-1);
681 final String newUrl = url;
688 WebIconDatabase.getInstance().retainIconForPageUrl(url);
965 // here, if url is null, we want to reset the title
974 // See if we can find the current url in our history
976 String url = pageUrl;
977 if (url.startsWith("http://www.")) {
978 url = url.substring(11);
979 } else if (url.startsWith("http://")) {
980 url = url.substring(4);
983 url = url.replace("\\", "\\\\").replace("%", "\\%")
989 url = "%" + url;
990 String [] selArgs = new String[] { url };
991 String where = Browser.BookmarkColumns.URL
999 // entry per url.
1034 public void onReceivedTouchIconUrl(WebView view, String url,
1046 mTouchIconLoader.execute(url);
1073 * @param url the URL that exceeded the quota
1083 public void onExceededDatabaseQuota(String url,
1087 .onExceededDatabaseQuota(url, databaseIdentifier,
1247 public void onPageStarted(WebView view, String url, Bitmap favicon) {
1254 public void doUpdateVisitedHistory(WebView view, String url,
1256 mClient.doUpdateVisitedHistory(view, url, isReload);
1259 public boolean shouldOverrideUrlLoading(WebView view, String url) {
1260 return mClient.shouldOverrideUrlLoading(view, url);
1327 String url) {
1331 mOriginalUrl = url;
1344 public void onDownloadStart(String url, String userAgent,
1347 mActivity.onDownloadStart(url, userAgent, contentDisposition,
1468 public void onDownloadStart(String url, String userAgent,
1471 mActivity.onDownloadStart(url, userAgent,
1724 * @return The original url associated with this Tab
1731 * Set the original url associated with this tab
1733 void setOriginalUrl(String url) {
1734 mOriginalUrl = url;
1738 * Get the url of this tab. Valid after calling populatePickerData, but
1740 * @return The WebView's url or null.
1752 * the url has no title, use the url instead.
1753 * @return The WebView's title (or url) or null.
1812 void resetLockIcon(String url) {
1815 if (URLUtil.isHttpsUrl(url)) {
1951 // This will maintain the app id, original url and close-on-exit values.