Searched refs:url (Results 1 - 25 of 133) sorted by path

123456

/packages/apps/Browser/src/com/android/browser/
H A DAddBookmarkPage.java609 String url = null;
634 url = mOriginalUrl = mMap.getString(BrowserContract.Bookmarks.URL);
643 mAddress.setText(url);
761 String url = bundle.getString(BrowserContract.Bookmarks.URL);
770 Bookmarks.addBookmark(AddBookmarkPage.this, false, url,
773 new DownloadTouchIcon(cr, url).execute(mTouchIconUrl);
861 String url = unfilteredUrl.trim();
867 if (!url.toLowerCase().startsWith("javascript:")) {
868 URI uriObj = new URI(url);
870 if (!Bookmarks.urlHasAcceptableScheme(url)) {
[all...]
H A DAddNewBookmark.java43 mUrlText = (TextView) findViewById(R.id.url);
47 * Set the new url for the bookmark item.
48 * @param url The new url for the bookmark item.
50 /* package */ void setUrl(String url) { argument
51 mUrlText.setText(url);
H A DBaseUi.java619 String url = tab.getUrl();
622 title = url;
625 mNavigationBar.setDisplayTitle(url);
H A DBookmarkItem.java57 mUrlText = (TextView) findViewById(R.id.url);
122 * Set the new url for the bookmark item.
123 * @param url The new url for the bookmark item.
125 /* package */ void setUrl(String url) { argument
126 if (url == null) {
130 mUrl = url;
132 url = UrlUtils.stripUrl(url);
133 if (url
[all...]
H A DBookmarkUtils.java114 static Intent createAddToHomeIntent(Context context, String url, String title, argument
117 Intent shortcutIntent = createShortcutIntent(url);
128 static Intent createShortcutIntent(String url) { argument
129 Intent shortcutIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
130 long urlHash = url.hashCode();
H A DBookmarks.java61 * @param url URL of the website to be bookmarked.
69 /* package */ static void addBookmark(Context context, boolean showToast, String url, argument
76 values.put(BrowserContract.Bookmarks.URL, url);
92 * Remove a bookmark from the database. If the url is a visited site, it
99 * @param url URL of the website to be removed.
102 ContentResolver cr, String url, String title) {
110 new String[] { url, title },
118 WebIconDatabase.getInstance().releaseIconForPageUrl(url);
143 /* package */ static boolean urlHasAcceptableScheme(String url) { argument
144 if (url
101 removeFromBookmarks(Context context, ContentResolver cr, String url, String title) argument
160 queryCombinedForUrl(ContentResolver cr, String originalUrl, String url) argument
180 removeQuery(String url) argument
200 updateFavicon(final ContentResolver cr, final String originalUrl, final String url, final Bitmap favicon) argument
[all...]
H A DBrowserBackupAgent.java112 mark.url = in.readUTF();
133 new String[] { mark.url }, null);
136 if (DEBUG) Log.v(TAG, "Did not see url: " + mark.url);
140 if (DEBUG) Log.v(TAG, "Skipping extant url: " + mark.url);
168 values.put(Bookmarks.URL, mark.url);
176 public String url; field in class:BrowserBackupAgent.Bookmark
H A DBrowserBookmarksAdapter.java121 item.url = c.getString(BookmarksLoader.COLUMN_INDEX_URL);
H A DBrowserBookmarksAdapterItem.java21 public String url; field in class:BrowserBookmarksAdapterItem
H A DBrowserBookmarksPage.java221 String url = cursor.getString(BookmarksLoader.COLUMN_INDEX_URL);
224 Bookmarks.removeFromBookmarks(activity, activity.getContentResolver(), url, name);
317 String url = cursor.getString(BookmarksLoader.COLUMN_INDEX_URL);
318 item.setUrl(url);
454 String url = cursor.getString(BookmarksLoader.COLUMN_INDEX_URL);
458 return BookmarkUtils.createAddToHomeIntent(context, url, title, touchIcon, favicon);
H A DBrowserDownloadListener.java29 * @param url The full url to the content that should be downloaded
34 * @param referer The referer associated with this url
37 public abstract void onDownloadStart(String url, String userAgent, argument
44 * @param url The full url to the content that should be downloaded
52 public void onDownloadStart(String url, String userAgent, argument
55 onDownloadStart(url, userAgent, contentDisposition, mimetype, null,
H A DBrowserHistoryPage.java396 String url = historyItem.getUrl();
401 mCallback.openUrl(url);
404 mCallback.openInNewTab(url);
409 url, title);
411 Browser.saveBookmark(activity, title, url);
415 Browser.sendString(activity, url,
419 copy(url);
422 Browser.deleteFromHistory(activity.getContentResolver(), url);
425 BrowserSettings.getInstance().setHomePage(url);
655 String url
[all...]
H A DBrowserPreferencesPage.java102 String url = getIntent().getStringExtra(CURRENT_PAGE);
103 intent.putExtra(CURRENT_PAGE, url);
H A DCombinedBookmarksCallbacks.java19 void openUrl(String url); argument
H A DComboViewActivity.java43 public static final String EXTRA_CURRENT_URL = "url";
101 public void openUrl(String url) { argument
102 Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
140 String url = getIntent().getStringExtra(EXTRA_CURRENT_URL);
142 intent.putExtra(BrowserPreferencesPage.CURRENT_PAGE, url);
H A DController.java488 String url = (String) msg.getData().get("url");
491 if (url == "") url = src; // use image if no anchor
492 if (TextUtils.isEmpty(url)) {
503 loadUrlFromContext(url);
510 openTab(url, parent,
514 copy(url);
519 mActivity, url, view.getSettings().getUserAgentString(),
577 * Share a page, providing the title, url, favico
589 sharePage(Context c, String title, String url, Bitmap favicon, Bitmap screenshot) argument
950 shouldOverrideUrlLoading(Tab tab, WebView view, String url) argument
1037 onDownloadStart(Tab tab, String url, String userAgent, String contentDisposition, String mimetype, String referer, long contentLength) argument
1091 maybeUpdateFavicon(Tab tab, final String originalUrl, final String url, Bitmap favicon) argument
2313 openTab(String url, boolean incognito, boolean setActive, boolean useCurrent) argument
2319 openTab(String url, Tab parent, boolean setActive, boolean useCurrent) argument
2325 openTab(String url, boolean incognito, boolean setActive, boolean useCurrent, Tab parent) argument
2437 loadUrlFromContext(String url) argument
2458 loadUrl(Tab tab, String url) argument
2462 loadUrl(Tab tab, String url, Map<String, String> headers) argument
[all...]
H A DDataController.java57 void onQueryUrlIsBookmark(String url, boolean isBookmark); argument
92 String url = (String) cc.args[0];
94 cb.onQueryUrlIsBookmark(url, isBookmark);
102 public void updateVisitedHistory(String url) { argument
103 mDataHandler.sendMessage(HISTORY_UPDATE_VISITED, url);
106 public void updateHistoryTitle(String url, String title) { argument
107 mDataHandler.sendMessage(HISTORY_UPDATE_TITLE, new String[] { url, title });
110 public void queryBookmarkStatus(String url, OnQueryUrlIsBookmark replyTo) { argument
111 if (url == null || url
243 doUpdateVisitedHistory(String url) argument
271 doQueryBookmarkStatus(String url, Object replyTo) argument
294 doUpdateHistoryTitle(String url, String title) argument
[all...]
H A DDownloadHandler.java51 * @param url The full url to the content that should be downloaded
55 * @param referer The referer associated with the downloaded url
58 public static void onDownloadStart(Activity activity, String url, argument
69 intent.setDataAndType(Uri.parse(url), mimetype);
75 // load the url only to try and download it again.
88 + " over " + Uri.parse(url).getScheme(),
97 onDownloadStartNoStream(activity, url, userAgent, contentDisposition,
135 * @param url The full url t
142 onDownloadStartNoStream(Activity activity, String url, String userAgent, String contentDisposition, String mimetype, String referer, boolean privateBrowsing) argument
[all...]
H A DDownloadTouchIcon.java66 * entry for the given url. Used when the user creates a bookmark from
71 public DownloadTouchIcon(ContentResolver cr, String url) { argument
75 mUrl = url;
104 URL url = new URL(values[0]);
105 connection = (HttpURLConnection) url.openConnection();
H A DFetchUrlMimeType.java66 URL url = new URL(mUri);
67 connection = (HttpURLConnection) url.openConnection();
H A DGoogleAccountLogin.java92 public boolean shouldOverrideUrlLoading(WebView view, String url) {
96 public void onPageFinished(WebView view, String url) {
119 URL url = new URL(urlString);
121 connection = (HttpURLConnection) url.openConnection(Proxy.NO_PROXY);
127 Log.d(LOGTAG, "LOGIN_FAIL: Bad status from auth url "
H A DIntentHandler.java159 // with a matching url.
169 // if FLAG_ACTIVITY_BROUGHT_TO_FRONT flag is on, the url
171 // MAX_TABS. Then the url will be opened in the current
195 String url = "";
204 url = UrlUtils.smartUrlFilter(intent.getData());
205 if (url != null && url.startsWith("http")) {
226 url = intent.getStringExtra(SearchManager.QUERY);
227 if (url != null) {
230 url
345 UrlData(String url) argument
353 UrlData(String url, Map<String, String> headers, Intent intent) argument
357 UrlData(String url, Map<String, String> headers, Intent intent, PreloadedTabControl preloaded, String searchBoxQueryToSubmit) argument
[all...]
H A DLogTag.java26 * @param url the url of the new bookmark.
29 public static void logBookmarkAdded(String url, String where) { argument
30 EventLog.writeEvent(EventLogTags.BROWSER_BOOKMARK_ADDED, url + "|"
41 * @param url the url of that page that finished loading.
44 public static void logPageFinishedLoading(String url, long duration) { argument
45 EventLog.writeEvent(EventLogTags.BROWSER_PAGE_LOADED, url + "|"
52 * @param url the url o
55 logTimeOnPage(String url, long duration) argument
[all...]
H A DNavigationBarBase.java66 mUrlInput = (UrlInputView) findViewById(R.id.url);
161 String url = UrlUtils.smartUrlFilter(text, false);
165 if (url != null && t != null && url.startsWith("javascript:")) {
166 mUiController.loadUrl(t, url);
H A DNavigationBarTablet.java315 String url = tab.getUrl();
316 if (DataUri.isDataUri(url)) {

Completed in 269 milliseconds

123456