HomeSort by relevance Sort by last modified time
    Searched defs:favicon (Results 1 - 25 of 68) sorted by null

1 2 3

  /packages/apps/Browser/tests/src/com/android/browser/tests/
BP2UriObserverTests.java 56 Bitmap favicon = Bitmap.createBitmap(16, 16, Config.ARGB_8888); local
58 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);
61 values.put(Bookmarks.FAVICON, rawFavicon);
92 Bitmap favicon = Bitmap.createBitmap(16, 16, Config.ARGB_8888); local
94 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);
97 values.put(History.FAVICON, rawFavicon);
  /external/chromium/chrome/browser/ui/views/tabs/
tab_renderer_data.h 41 SkBitmap favicon; member in struct:TabRendererData
  /external/chromium/chrome/browser/ui/webui/
chrome_web_ui_factory.cc 282 // All extensions but the bookmark manager get their favicon from the icons
288 history::FaviconData favicon; local
289 favicon.image_data = scoped_refptr<RefCountedMemory>(
291 favicon.known_icon = favicon.image_data.get() != NULL &&
292 favicon.image_data->size() > 0;
295 favicon));
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/favicon/
FaviconHelper.java 5 package org.chromium.chrome.browser.favicon;
15 * You can request a favicon image by web page URL. Note that an instance of this class should be
23 public static final int FAVICON = 1 << 0;
34 * This method will be called when the result favicon is ready.
35 * @param image Favicon image.
36 * @param iconUrl Favicon image's icon url.
67 * Get Favicon bitmap for the requested arguments.
69 * @param pageUrl The target Page URL to get the favicon.
71 * @param desiredSizeInDip The size of the favicon in dip we want to get.
  /external/chromium/chrome/browser/importer/
firefox_importer_unittest.cc 106 GURL url, favicon; local
113 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
124 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
134 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
145 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
159 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
170 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
firefox2_importer.cc 66 // will also import favicons and we store favicon for a URL only if the URL
118 GURL url, favicon; local
123 &favicon, &shortcut, &add_date,
188 GURL url, favicon; local
195 &url, &favicon, &shortcut, &add_date,
229 // Save the favicon. DataURLToFaviconUsage will handle the case where
230 // there is no favicon.
232 DataURLToFaviconUsage(url, favicon, favicons);
469 GURL* favicon,
475 *favicon = GURL()
    [all...]
firefox3_importer.cc 51 int64 favicon; member in struct:Firefox3Importer::BookmarkItem
82 // will also import favicons and we store favicon for a URL only if the URL
277 if (item->favicon)
278 favicon_map[item->favicon].insert(item->url);
499 item->favicon = 0;
536 item->favicon = s.ColumnInt64(6);
  /external/chromium/chrome/browser/
shell_integration.h 64 SkBitmap favicon; member in struct:ShellIntegration::ShortcutInfo
  /external/chromium/chrome/browser/ui/views/
tab_icon_view.cc 37 // favicon.
110 // For source images smaller than the favicon square, scale them as if they
111 // were padded to fit the favicon square, so we don't blow up tiny favicons
142 SkBitmap favicon = model_->GetFaviconForTabIconView(); local
143 if (!favicon.isNull()) {
145 PaintFavicon(canvas, favicon);
  /external/chromium_org/chrome/browser/ui/views/
tab_icon_view.cc 38 // favicon.
114 // For source images smaller than the favicon square, scale them as if they
115 // were padded to fit the favicon square, so we don't blow up tiny favicons
146 gfx::ImageSkia favicon = model_->GetFaviconForTabIconView(); local
147 if (!favicon.isNull()) {
149 PaintFavicon(canvas, favicon);
  /external/chromium_org/chrome/utility/importer/
bookmark_html_reader_unittest.cc 56 GURL url, favicon; local
63 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
74 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
84 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
95 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
109 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
120 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
bookmark_html_reader.cc 53 // Given the URL of a page and a favicon data URL, adds an appropriate record
54 // to the given favicon usage vector.
75 // We need to make up a URL for the favicon. We use a version of the page's
77 usage.favicon_url = GURL(std::string("made-up-favicon:") + link_url.spec());
79 // We only have one URL per favicon for Firefox 2 bookmarks.
131 GURL url, favicon; local
139 &url, &favicon, &shortcut,
173 // Save the favicon. DataURLToFaviconUsage will handle the case where
174 // there is no favicon.
176 DataURLToFaviconUsage(url, favicon, favicons)
    [all...]
  /external/chromium/chrome/browser/ui/gtk/
hung_renderer_dialog_gtk.cc 157 SkBitmap favicon = it->tab_contents()->GetFavicon(); local
160 if (favicon.width() > 0)
161 pixbuf = gfx::GdkPixbufFromSkBitmap(&favicon);
  /external/chromium_org/chrome/browser/extensions/
extension_action_icon_factory_unittest.cc 186 // the factory should return favicon.
198 gfx::ImageSkia favicon = GetFavicon(); local
206 favicon.GetRepresentation(ui::SCALE_FACTOR_100P),
240 // It should still return favicon for another tabs.
  /external/chromium_org/chrome/browser/ui/views/tabs/
tab_renderer_data.h 63 gfx::ImageSkia favicon; member in struct:TabRendererData
  /external/chromium/chrome/browser/extensions/
extension_web_ui.cc 57 // Helper class that is used to track the loading of the favicon of an
93 NOTREACHED() << "Could not encode extension favicon";
104 // Forwards the result on the request. If no favicon was available then
108 history::FaviconData favicon; local
109 favicon.known_icon = icon_data.get() != NULL && icon_data->size() > 0;
110 favicon.image_data = icon_data;
111 favicon.icon_type = history::FAVICON;
114 favicon));
  /external/chromium/chrome/browser/sync/glue/
bookmark_change_processor.cc 64 const SkBitmap& favicon = model->GetFavicon(src); local
68 // Check for zero-dimension images. This can happen if the favicon is
70 if (favicon.empty())
73 // Re-encode the BookmarkNode's favicon as a PNG, and pass the data to the
75 if (!gfx::PNGCodec::EncodeBGRASkBitmap(favicon, false, dst))
507 // Sets the favicon of the given bookmark node from the given sync node.
524 // Applies the given favicon bytes vector to the given bookmark node.
529 // Registering a favicon requires that we provide a source URL, but we
531 // destination URL, which is not correct, but since the favicon URL
545 history::FAVICON);
    [all...]
  /external/chromium_org/chrome/browser/
shell_integration.h 104 gfx::ImageFamily favicon; member in struct:ShellIntegration::ShortcutInfo
  /external/chromium_org/chrome/browser/sync/glue/
bookmark_change_processor.cc 19 #include "chrome/browser/favicon/favicon_service.h"
20 #include "chrome/browser/favicon/favicon_service_factory.h"
92 const gfx::Image& favicon = model->GetFavicon(src); local
94 // Check for empty images. This can happen if the favicon is
96 if (favicon.IsEmpty())
99 // Re-encode the BookmarkNode's favicon as a PNG, and pass the data to the
101 *dst = favicon.As1xPNGBytes();
740 // Sets the favicon of the given bookmark node from the given sync node.
748 const std::string& icon_bytes_str = specifics.favicon();
757 // Old clients may not be syncing the favicon URL. If the icon URL is no
    [all...]
session_model_associator_unittest.cc 69 scoped_refptr<base::RefCountedMemory> favicon; local
70 if (!cache->GetSyncedFaviconForPageURL(gurl, &favicon))
72 if (favicon->size() != expected_bytes.size())
74 for (size_t i = 0; i < favicon->size(); ++i) {
75 if (expected_bytes[i] != *(favicon->front() + i))
460 // Create tab specifics with an empty favicon. Ensure it gets ignored and not
461 // stored into the synced favicon lookups.
463 std::string favicon; local
464 std::string favicon_url = "http://www.faviconurl.com/favicon.ico";
467 tab.set_favicon(favicon);
482 std::string favicon = "icon bytes"; local
502 std::string favicon = "icon bytes"; local
524 std::string favicon = "icon bytes"; local
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/
hung_renderer_dialog_gtk.cc 10 #include "chrome/browser/favicon/favicon_tab_helper.h"
193 SkBitmap favicon = favicon_tab_helper->GetFavicon().AsBitmap(); local
196 if (favicon.width() > 0)
197 pixbuf = gfx::GdkPixbufFromSkBitmap(favicon);
  /packages/apps/Browser/src/com/android/browser/
Bookmarks.java 193 * Update the bookmark's favicon. This is a convenience method for updating
194 * a bookmark favicon for the originalUrl and url of the passed in WebView.
198 * @param favicon The favicon bitmap to write to the db.
201 final String originalUrl, final String url, final Bitmap favicon) {
206 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);
210 values.put(Images.FAVICON, os.toByteArray());
  /external/chromium/chrome/browser/bookmarks/
bookmark_model.h 42 // BookmarkNode contains information about a starred entry: title, URL, favicon,
99 // Returns the favicon. In nearly all cases you should use the method
101 // takes care of loading the favicon if it isn't already loaded, where as
103 const SkBitmap& favicon() const { return favicon_; } function in class:BookmarkNode
119 // Called when the favicon becomes invalid.
136 // Whether the favicon has been loaded.
139 // The favicon.
142 // If non-zero, it indicates we're loading the favicon and this is the handle
227 // Returns the favicon for |node|. If the favicon has not yet bee
    [all...]
  /external/chromium/chrome/browser/history/
history_backend_unittest.cc 217 GURL favicon_url1("http://www.google.com/favicon.ico");
218 GURL favicon_url2("http://news.google.com/favicon.ico");
220 FAVICON);
222 FAVICON);
323 // We should have a favicon for the first URL only. We look them up by favicon
326 GetFaviconIDForFaviconURL(favicon_url1, FAVICON, NULL);
329 GetFaviconIDForFaviconURL(favicon_url2, FAVICON, NULL);
330 EXPECT_FALSE(out_favicon2) << "Favicon not deleted";
332 // The remaining URL should still reference the same favicon, even if it
553 history::ImportedFaviconUsage favicon; local
    [all...]
  /external/chromium/chrome/browser/ui/gtk/bookmarks/
bookmark_utils_gtk.cc 27 // Spacing between the favicon and the text.
41 // Padding between the chrome button highlight border and the contents (favicon,
100 GdkPixbuf* favicon; member in struct:__anon5006::DragRepresentationData
104 DragRepresentationData(GdkPixbuf* favicon,
107 : favicon(favicon),
110 g_object_ref(favicon);
114 g_object_unref(favicon);
132 gdk_cairo_set_source_pixbuf(cr, data->favicon, 0, 0);
138 int text_x = gdk_pixbuf_get_width(data->favicon) + kBarButtonPadding
    [all...]

Completed in 597 milliseconds

1 2 3