Home
last modified time | relevance | path

Searched refs:pixbuf (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium/chrome/browser/ui/gtk/
Dnine_box.cc70 GdkPixbuf* pixbuf = rb.GetPixbufNamed(image); in NineBox() local
71 int width = gdk_pixbuf_get_width(pixbuf); in NineBox()
72 int height = gdk_pixbuf_get_height(pixbuf); in NineBox()
76 images_[0] = gdk_pixbuf_new_subpixbuf(pixbuf, 0, 0, left_margin, top_margin); in NineBox()
77 images_[1] = gdk_pixbuf_new_subpixbuf(pixbuf, left_margin, 0, in NineBox()
79 images_[2] = gdk_pixbuf_new_subpixbuf(pixbuf, width - right_margin, 0, in NineBox()
81 images_[3] = gdk_pixbuf_new_subpixbuf(pixbuf, 0, top_margin, in NineBox()
83 images_[4] = gdk_pixbuf_new_subpixbuf(pixbuf, left_margin, top_margin, in NineBox()
86 images_[5] = gdk_pixbuf_new_subpixbuf(pixbuf, width - right_margin, in NineBox()
89 images_[6] = gdk_pixbuf_new_subpixbuf(pixbuf, 0, height - bottom_margin, in NineBox()
[all …]
Dcustom_button.cc82 CairoCachedSurface* pixbuf = PixbufForState(paint_state); in OnExpose() local
85 if (!pixbuf || !pixbuf->valid()) in OnExpose()
101 gfx::Rect bounds = gfx::Rect(0, 0, pixbuf->Width(), 0); in OnExpose()
103 int y = widget->allocation.height - pixbuf->Height(); in OnExpose()
110 pixbuf->SetSource(cairo_context, x, y); in OnExpose()
137 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&img); in SetBackground() local
138 background_image_->UsePixbuf(pixbuf); in SetBackground()
139 g_object_unref(pixbuf); in SetBackground()
160 CairoCachedSurface* pixbuf = surfaces_[state].get(); in PixbufForState() local
163 if (!pixbuf || !pixbuf->valid()) in PixbufForState()
[all …]
Dcairo_cached_surface.cc31 void CairoCachedSurface::UsePixbuf(GdkPixbuf* pixbuf) { in UsePixbuf() argument
37 if (pixbuf) in UsePixbuf()
38 g_object_ref(pixbuf); in UsePixbuf()
43 pixbuf_ = pixbuf; in UsePixbuf()
Dfirst_run_dialog.cc187 GdkPixbuf* pixbuf = in ShowSearchEngineWindow() local
190 GtkWidget* top_image = gtk_image_new_from_pixbuf(pixbuf); in ShowSearchEngineWindow()
338 GdkPixbuf* pixbuf = in OnTemplateURLModelChanged() local
341 pixbuf = gdk_pixbuf_scale_simple(pixbuf, in OnTemplateURLModelChanged()
346 g_object_ref(pixbuf); in OnTemplateURLModelChanged()
349 GtkWidget* image = gtk_image_new_from_pixbuf(pixbuf); in OnTemplateURLModelChanged()
351 g_object_unref(pixbuf); in OnTemplateURLModelChanged()
Dhung_renderer_dialog_gtk.cc159 GdkPixbuf* pixbuf = NULL; in ShowForTabContents() local
161 pixbuf = gfx::GdkPixbufFromSkBitmap(&favicon); in ShowForTabContents()
163 COL_FAVICON, pixbuf, in ShowForTabContents()
166 if (pixbuf) in ShowForTabContents()
167 g_object_unref(pixbuf); in ShowForTabContents()
Dcreate_application_shortcuts_dialog_gtk.cc66 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&shortcut_info_.favicon); in CreateIconPixBuf() local
67 int pixbuf_width = gdk_pixbuf_get_width(pixbuf); in CreateIconPixBuf()
68 int pixbuf_height = gdk_pixbuf_get_height(pixbuf); in CreateIconPixBuf()
75 favicon_pixbuf_ = gdk_pixbuf_scale_simple(pixbuf, in CreateIconPixBuf()
79 g_object_unref(pixbuf); in CreateIconPixBuf()
81 favicon_pixbuf_ = pixbuf; in CreateIconPixBuf()
Dcairo_cached_surface.h41 void UsePixbuf(GdkPixbuf* pixbuf);
49 GdkPixbuf* pixbuf() { return pixbuf_; } in pixbuf() function
Dlocation_bar_view_gtk.cc973 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&bitmap); in SetKeywordLabel() local
974 gtk_image_set_from_pixbuf(GTK_IMAGE(tab_to_search_magnifier_), pixbuf); in SetKeywordLabel()
975 g_object_unref(pixbuf); in SetKeywordLabel()
1085 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&favicon); in OnIconDragBegin() local
1086 if (!pixbuf) in OnIconDragBegin()
1088 drag_icon_ = bookmark_utils::GetDragRepresentation(pixbuf, in OnIconDragBegin()
1090 g_object_unref(pixbuf); in OnIconDragBegin()
1504 GdkPixbuf* pixbuf = NULL; in UpdateVisibility() local
1513 pixbuf = last_icon_pixbuf_; in UpdateVisibility()
1524 pixbuf = iter->second; in UpdateVisibility()
[all …]
Dreload_button_gtk.cc238 GdkPixbuf* pixbuf = gtk_icon_set_render_icon( in UpdateThemeButtons() local
248 gtk_image_new_from_pixbuf(pixbuf)); in UpdateThemeButtons()
249 g_object_unref(pixbuf); in UpdateThemeButtons()
/external/chromium/chrome/browser/themes/
Dtheme_service_gtk.cc33 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); in GetPixbufImpl() local
36 if (pixbuf) { in GetPixbufImpl()
38 GdkPixbuf* original_pixbuf = pixbuf; in GetPixbufImpl()
39 pixbuf = gdk_pixbuf_flip(pixbuf, TRUE); in GetPixbufImpl()
43 gdk_pixbufs_[key] = pixbuf; in GetPixbufImpl()
44 return pixbuf; in GetPixbufImpl()
/external/chromium/chrome/browser/
Dicon_loader_linux.cc47 GdkPixbuf* pixbuf = gdk_pixbuf_loader_get_pixbuf(loader); in ParseIcon() local
49 if (pixbuf) { in ParseIcon()
50 DCHECK_EQ(size, gdk_pixbuf_get_width(pixbuf)); in ParseIcon()
51 DCHECK_EQ(size, gdk_pixbuf_get_height(pixbuf)); in ParseIcon()
53 g_object_ref(pixbuf); in ParseIcon()
54 image_.reset(new gfx::Image(pixbuf)); in ParseIcon()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_utils_gtk.cc53 void PackButton(GdkPixbuf* pixbuf, const string16& title, bool ellipsize, in PackButton() argument
61 GtkWidget* image = gtk_image_new_from_pixbuf(pixbuf); in PackButton()
162 GdkPixbuf* pixbuf; in GetPixbufForNode() local
166 pixbuf = gfx::GdkPixbufFromSkBitmap(&model->GetFavicon(node)); in GetPixbufForNode()
168 pixbuf = GtkThemeService::GetDefaultFavicon(native); in GetPixbufForNode()
169 g_object_ref(pixbuf); in GetPixbufForNode()
172 pixbuf = GtkThemeService::GetFolderIcon(native); in GetPixbufForNode()
173 g_object_ref(pixbuf); in GetPixbufForNode()
176 return pixbuf; in GetPixbufForNode()
179 GtkWidget* GetDragRepresentation(GdkPixbuf* pixbuf, in GetDragRepresentation() argument
[all …]
/external/quake/quake/src/QW/client/
Dgl_warp.c494 byte *pixbuf; in LoadTGA() local
530 pixbuf = targa_rgba + row*columns*4; in LoadTGA()
539 *pixbuf++ = red; in LoadTGA()
540 *pixbuf++ = green; in LoadTGA()
541 *pixbuf++ = blue; in LoadTGA()
542 *pixbuf++ = 255; in LoadTGA()
549 *pixbuf++ = red; in LoadTGA()
550 *pixbuf++ = green; in LoadTGA()
551 *pixbuf++ = blue; in LoadTGA()
552 *pixbuf++ = alphabyte; in LoadTGA()
[all …]
/external/quake/quake/src/WinQuake/
Dgl_warp.cpp543 byte *pixbuf; in LoadTGA() local
579 pixbuf = targa_rgba + row*columns*4; in LoadTGA()
588 *pixbuf++ = red; in LoadTGA()
589 *pixbuf++ = green; in LoadTGA()
590 *pixbuf++ = blue; in LoadTGA()
591 *pixbuf++ = 255; in LoadTGA()
598 *pixbuf++ = red; in LoadTGA()
599 *pixbuf++ = green; in LoadTGA()
600 *pixbuf++ = blue; in LoadTGA()
601 *pixbuf++ = alphabyte; in LoadTGA()
[all …]
/external/webkit/Source/WebCore/platform/graphics/gtk/
DImageBufferGtk.cpp48 GRefPtr<GdkPixbuf> pixbuf = cairoImageSurfaceToGdkPixbuf(m_data.m_surface); in toDataURL() local
49 if (!pixbuf) in toDataURL()
58 success = gdk_pixbuf_save_to_buffer(pixbuf.get(), &buffer.outPtr(), &bufferSize, in toDataURL()
61 …success = gdk_pixbuf_save_to_buffer(pixbuf.get(), &buffer.outPtr(), &bufferSize, type.utf8().data(… in toDataURL()
/external/webkit/Source/cmake/
DFindGDK-PixBuf.cmake1 # - Try to find gdk-pixbuf 2.0
11 libfind_pkg_check_modules(GDK-PixBuf_PKGCONF gdk-pixbuf-2.0)
15 NAMES gdk-pixbuf/gdk-pixbuf.h
/external/chromium/chrome/browser/ui/gtk/status_icons/
Dstatus_icon_gtk.cc32 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&image); in SetImage() local
33 gtk_status_icon_set_from_pixbuf(icon_, pixbuf); in SetImage()
34 g_object_unref(pixbuf); in SetImage()
/external/chromium/chrome/browser/ui/gtk/extensions/
Dextension_uninstall_dialog_gtk.cc63 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(skia_icon); in ShowUninstallDialogGtk() local
64 GtkWidget* icon = gtk_image_new_from_pixbuf(pixbuf); in ShowUninstallDialogGtk()
65 g_object_unref(pixbuf); in ShowUninstallDialogGtk()
Dextension_installed_bubble_gtk.cc183 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&icon_); in ShowInternal() local
194 GdkPixbuf* old = pixbuf; in ShowInternal()
195 pixbuf = gdk_pixbuf_scale_simple(pixbuf, size.width(), size.height(), in ShowInternal()
206 GtkWidget* image = gtk_image_new_from_pixbuf(pixbuf); in ShowInternal()
207 g_object_unref(pixbuf); in ShowInternal()
Dextension_install_dialog_gtk.cc89 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&scaled_icon); in ShowInstallDialog() local
90 GtkWidget* icon = gtk_image_new_from_pixbuf(pixbuf); in ShowInstallDialog()
91 g_object_unref(pixbuf); in ShowInstallDialog()
/external/webkit/Source/WebCore/platform/gtk/
DCursorGtk.cpp58 GRefPtr<GdkPixbuf> pixbuf = adoptGRef(gdk_pixbuf_get_from_surface(surface.get(), 0, 0, 32, 32)); in createNamedCursor() local
59 return adoptGRef(gdk_cursor_new_from_pixbuf(gdk_display_get_default(), pixbuf.get(), 0, 0)); in createNamedCursor()
65 GRefPtr<GdkPixbuf> pixbuf = adoptGRef(image->getGdkPixbuf()); in createCustomCursor() local
66 …return adoptGRef(gdk_cursor_new_from_pixbuf(gdk_display_get_default(), pixbuf.get(), effectiveHotS… in createCustomCursor()
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkiticondatabase.cpp297 GdkPixbuf* pixbuf = icon->getGdkPixbuf(); in webkit_icon_database_get_icon_pixbuf() local
298 if (!pixbuf) in webkit_icon_database_get_icon_pixbuf()
300 return static_cast<GdkPixbuf*>(g_object_ref(pixbuf)); in webkit_icon_database_get_icon_pixbuf()
/external/chromium/webkit/glue/
Dwebcursor_gtk.cc200 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&bitmap); in GetCustomCursor() local
202 pixbuf, in GetCustomCursor()
206 gdk_pixbuf_unref(pixbuf); in GetCustomCursor()
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_gtk.cc255 GdkPixbuf* pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, 1, 1); in OnDragBegin() local
256 gdk_pixbuf_fill(pixbuf, 0); in OnDragBegin()
257 gtk_drag_set_icon_pixbuf(context, pixbuf, 0, 0); in OnDragBegin()
258 g_object_unref(pixbuf); in OnDragBegin()
/external/chromium/chrome/browser/speech/
Dspeech_input_bubble_gtk.cc258 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&image); in UpdateImage() local
259 gtk_image_set_from_pixbuf(GTK_IMAGE(icon_), pixbuf); in UpdateImage()
260 g_object_unref(pixbuf); in UpdateImage()

12