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

1 2 3 4 5

  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/
app.yaml 12 - url: /favicon.ico
13 static_files: favicon.ico
14 upload: favicon.ico
  /external/chromium/chrome/browser/ui/views/tabs/
tab_renderer_data.cc 22 favicon.pixelRef() &&
23 favicon.pixelRef() == data.favicon.pixelRef() &&
24 favicon.pixelRefOffset() == data.favicon.pixelRefOffset() &&
tab_renderer_data.h 41 SkBitmap favicon; member in struct:TabRendererData
  /external/chromium/chrome/browser/
favicon_helper.cc 29 case FaviconURL::FAVICON:
30 return history::FAVICON;
71 icon_types_(icon_type == FAVICON ? history::FAVICON :
97 // Request the favicon from the history service. In parallel to this the
98 // renderer is going to notify us (well TabContents) when the favicon url is
134 if (url == url_ && icon_type == history::FAVICON) {
150 // No matter what happens, we need to mark the favicon as being set.
151 entry->favicon().set_is_valid(true);
156 entry->favicon().set_bitmap(image)
    [all...]
jumplist_win.h 60 void SetIcon(const std::wstring& icon, int index, bool favicon) {
63 favicon_ = favicon;
145 // Starts loading a favicon for each URL in |icon_urls_|.
152 // that retrieves a favicon for each URL in the list.
156 // A callback function for HistoryService that notify when a requested favicon
163 history::FaviconData favicon);
possible_url_model.h 40 history::FaviconData favicon);
56 // Our consumer for favicon requests.
63 // Map Result::index -> Favicon.
favicon_helper_unittest.cc 172 // The methods to access favicon internal.
281 const GURL icon_url("http://www.google.com/favicon");
283 TestFaviconHelper helper(page_url, contents(), FaviconHelper::FAVICON);
291 EXPECT_EQ(history::FAVICON, history_handler->icon_type_);
295 history_handler->favicon_data_.icon_type = history::FAVICON;
305 EXPECT_TRUE(helper.GetEntry()->favicon().is_valid());
306 EXPECT_EQ(icon_url, helper.GetEntry()->favicon().url());
308 // Simulates update favicon url.
310 urls.push_back(FaviconURL(icon_url, FaviconURL::FAVICON));
317 ASSERT_EQ(FaviconURL::FAVICON, helper.current_candidate()->icon_type)
    [all...]
custom_home_pages_table_model.cc 41 // If non-zero, indicates we're loading the favicon for the page.
167 history::FAVICON, &query_consumer_,
193 history::FaviconData favicon) {
202 if (favicon.is_valid()) {
205 if (gfx::PNGCodec::Decode(favicon.image_data->front(),
206 favicon.image_data->size(),
custom_home_pages_table_model.h 58 // title, and favicon of the page.
61 // Loads the title and favicon for the specified entry.
74 history::FaviconData favicon);
possible_url_model.cc 29 // The default favicon.
43 // favicon_map_ to lookup the favicon for the url, as well as the index
44 // into results_ when the favicon is received.
157 // We already requested the favicon, return it.
166 result.url, history::FAVICON, &consumer_,
170 // favicon again.
187 history::FaviconData favicon) {
192 if (favicon.is_valid()) {
194 gfx::PNGCodec::Decode(favicon.image_data->front(),
195 favicon.image_data->size()
    [all...]
  /external/chromium/chrome/browser/ui/touch/tabs/
touch_tab.cc 21 // The size of the favicon touch area. This generally would be the same as
193 (data().favicon.isNull() ? kFaviconSize : data().favicon.width());
197 if (!data().favicon.isNull() && data().favicon.width() != kFaviconSize)
198 favicon_x += (data().favicon.width() - kFaviconSize) / 2;
219 if (!data().favicon.isNull()) {
221 if ((data().favicon.width() == kTouchTabIconSize) &&
222 (data().favicon.height() == kTouchTabIconSize)) {
223 canvas->DrawBitmapInt(data().favicon, 0, 0
    [all...]
  /external/chromium/chrome/browser/ui/webui/
favicon_source.cc 36 history::FAVICON,
42 history::FAVICON,
67 history::FaviconData favicon) {
73 if (favicon.is_valid()) {
75 SendResponse(request_id, favicon.image_data);
favicon_source.h 36 // Called when favicon data is available from the history backend.
38 history::FaviconData favicon);
40 // Sends the default favicon.
48 // Raw PNG representation of the favicon to show when the favicon
49 // database doesn't have a favicon for a webpage.
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));
  /packages/apps/Browser/src/com/android/browser/
BrowserBookmarksAdapter.java 89 ImageView favicon = (ImageView) view.findViewById(R.id.favicon); local
95 favicon.setImageResource(R.drawable.ic_folder_holo_dark);
96 favicon.setBackgroundDrawable(null);
105 favicon.setImageResource(R.drawable.app_web_browser_sm);
107 favicon.setImageBitmap(faviconBitmap);
109 favicon.setBackgroundResource(R.drawable.bookmark_list_favicon_bg);
BookmarkUtils.java 60 static Bitmap createIcon(Context context, Bitmap touchIcon, Bitmap favicon,
66 return createIcon(context, touchIcon, favicon, type, iconDimension, iconDensity);
82 Bitmap favicon, BookmarkIconType type, int iconDimension, int iconDensity) {
101 // If we have a favicon, overlay it in a nice rounded white box on top of the
103 if (favicon != null) {
104 drawFaviconToCanvas(context, favicon, canvas, iconBounds, type);
115 Bitmap touchIcon, Bitmap favicon) {
120 i.putExtra(Intent.EXTRA_SHORTCUT_ICON, createIcon(context, touchIcon, favicon,
180 private static void drawFaviconToCanvas(Context context, Bitmap favicon,
183 // filtering the favicon
    [all...]
SnapshotTab.java 156 Snapshots.FAVICON, // 3
183 byte[] favicon = result.getBlob(3);
184 if (favicon != null) {
186 .decodeByteArray(favicon, 0, favicon.length);
  /external/chromium/chrome/browser/history/
thumbnail_database_unittest.cc 119 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data));
122 FaviconID id = db.AddFavicon(url, FAVICON);
124 db.SetFavicon(id, favicon, time);
145 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data));
151 db.SetFavicon(id, favicon, time);
167 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data));
172 db.SetFavicon(id, favicon, time);
199 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data));
204 db.SetFavicon(id, favicon, time);
207 FaviconID id2 = db.AddFavicon(url, FAVICON);
    [all...]
  /external/chromium/chrome/browser/ui/toolbar/
back_forward_menu_model.cc 130 *icon = entry->favicon().bitmap();
131 if (!entry->favicon().is_valid() && menu_model_delegate()) {
222 // If the favicon has already been requested for this menu, don't do
234 entry->url(), history::FAVICON, &load_consumer_,
241 history::FaviconData favicon) {
242 if (favicon.is_valid()) {
263 // Now that we have a valid NavigationEntry, decode the favicon and assign
266 if (gfx::PNGCodec::Decode(favicon.image_data->front(),
267 favicon.image_data->size(),
269 entry->favicon().set_is_valid(true)
    [all...]
  /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/chrome/browser/bookmarks/
bookmark_html_writer.h 61 // Starts async fetch for the next bookmark favicon.
66 // Favicon fetch callback. After all favicons are fetched executes
69 history::FaviconData favicon);
75 // for each of them. After favicon is fetched top url is removed from list.
81 // Map that stores favicon per URL.
  /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);
  /frameworks/base/core/java/android/webkit/
WebHistoryItem.java 41 // The favicon for this item.
133 * Return the favicon of this history item or null if no favicon was found.
134 * @return A Bitmap containing the favicon for this history item or null.
191 * Set the favicon.
192 * @param icon A Bitmap containing the favicon for this history item.
242 Bitmap favicon, byte[] data) {
246 mFavicon = favicon;
  /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:__anon3108::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...]
  /packages/apps/Browser/tests/src/com/android/browser/
TestWebViewClient.java 52 public void onPageStarted(WebView view, String url, Bitmap favicon) {
53 mWrappedClient.onPageStarted(view, url, favicon);

Completed in 403 milliseconds

1 2 3 4 5