Home | History | Annotate | Download | only in browser

Lines Matching full:url

101      *  Return a hashmap with one row's Title, Url, and favicon.
103 * @return Bundle Stores title, url of row position, favicon, and id
104 * for the url. Return a blank map if position is out of
113 String url = mCursor.getString(Browser.HISTORY_PROJECTION_URL_INDEX);
116 map.putString(Browser.BookmarkColumns.URL, url);
129 * @param map Bundle storing id, title and url of new information
153 String url = map.getString(Browser.BookmarkColumns.URL);
154 if (!url.equals(mCursor.
156 values.put(Browser.BookmarkColumns.URL, url);
179 String url = mCursor.getString(Browser.HISTORY_PROJECTION_URL_INDEX);
181 Bookmarks.removeFromBookmarks(null, mContentResolver, url, title);
195 String url = mCursor.getString(Browser.HISTORY_PROJECTION_URL_INDEX);
196 WebIconDatabase.getInstance().releaseIconForPageUrl(url);
249 * a bookmark favicon for the originalUrl and url of the passed in WebView.
251 * @param originalUrl The original url before any redirects.
252 * @param url The current url.
256 final String originalUrl, final String url, final Bitmap favicon) {
260 queryBookmarksForUrl(cr, originalUrl, url, true);
284 String originalUrl, String url, boolean onlyBookmarks) {
285 if (cr == null || url == null) {
289 // If originalUrl is null, just set it to url.
291 originalUrl = url;
294 // Look for both the original url and the actual url. This takes in to
297 String urlNoQuery = removeQuery(url);
299 url = urlNoQuery + '?';
301 // Use NoQuery to search for the base url (i.e. if the url is
303 // Use url to match the base url with other queries (i.e. if the url is
307 originalUrlNoQuery, urlNoQuery, originalUrl, url };
308 String where = BookmarkColumns.URL + " == ? OR "
309 + BookmarkColumns.URL + " == ? OR "
310 + BookmarkColumns.URL + " LIKE ? || '%' OR "
311 + BookmarkColumns.URL + " LIKE ? || '%'";
321 // Strip the query from the given url.
322 private static String removeQuery(String url) {
323 if (url == null) {
326 int query = url.indexOf('?');
327 String noQuery = url;
329 noQuery = url.substring(0, query);
378 String url = mCursor.getString(Browser.HISTORY_PROJECTION_URL_INDEX);
379 b.setUrl(url);
385 .getFavicon(url);
480 * Return the Url for this item in the list.
528 * Private helper function to return the title or url.
542 String url = mCursor.getString(Browser.HISTORY_PROJECTION_URL_INDEX);
543 b.setUrl(url);
549 .getFavicon(url));