/external/chromium_org/chrome/browser/ui/gtk/ |
screen_capture_notification_ui_gtk.cc | 176 void AddRoundRectPath(cairo_t* cairo_context, int width, int height, 178 cairo_new_sub_path(cairo_context); 179 cairo_arc(cairo_context, width - radius, radius, radius, -M_PI_2, 0); 180 cairo_arc(cairo_context, width - radius, height - radius, radius, 0, M_PI_2); 181 cairo_arc(cairo_context, radius, height - radius, radius, M_PI_2, 2 * M_PI_2); 182 cairo_arc(cairo_context, radius, radius, radius, 2 * M_PI_2, 3 * M_PI_2); 183 cairo_close_path(cairo_context); 200 cairo_t* cairo_context = gdk_cairo_create(shape_mask); local 206 cairo_set_source_rgba(cairo_context, 0, 0, 0, 0); 207 cairo_set_operator(cairo_context, CAIRO_OPERATOR_SOURCE) [all...] |
throbber_gtk.cc | 60 cairo_t* cairo_context = local 64 cairo_translate(cairo_context, allocation.x, allocation.y); 72 cairo_frames->SetSource(cairo_context, widget, -image_offset, 0); 73 cairo_rectangle(cairo_context, 0, 0, image_size, image_size); 74 cairo_fill(cairo_context); 75 cairo_destroy(cairo_context);
|
custom_button.cc | 101 cairo_t* cairo_context = gdk_cairo_create(GDK_DRAWABLE( 105 cairo_translate(cairo_context, allocation.x, allocation.y); 109 cairo_translate(cairo_context, allocation.width, 0.0f); 110 cairo_scale(cairo_context, -1.0f, 1.0f); 120 background_image_->SetSource(cairo_context, widget, x, y); 121 cairo_paint(cairo_context); 124 pixbuf->SetSource(cairo_context, widget, x, y); 125 cairo_paint(cairo_context); 128 hover_pixbuf->SetSource(cairo_context, widget, x, y); 129 cairo_paint_with_alpha(cairo_context, hover_state) [all...] |
/external/chromium_org/remoting/host/ |
disconnect_window_gtk.cc | 58 void AddRoundRectPath(cairo_t* cairo_context, int width, int height, 60 cairo_new_sub_path(cairo_context); 61 cairo_arc(cairo_context, width - radius, radius, radius, -M_PI_2, 0); 62 cairo_arc(cairo_context, width - radius, height - radius, radius, 0, M_PI_2); 63 cairo_arc(cairo_context, radius, height - radius, radius, M_PI_2, 2 * M_PI_2); 64 cairo_arc(cairo_context, radius, radius, radius, 2 * M_PI_2, 3 * M_PI_2); 65 cairo_close_path(cairo_context); 200 cairo_t* cairo_context = gdk_cairo_create(shape_mask); local 206 cairo_set_source_rgba(cairo_context, 0, 0, 0, 0); 207 cairo_set_operator(cairo_context, CAIRO_OPERATOR_SOURCE) [all...] |
/external/chromium_org/chrome/browser/ui/gtk/autofill/ |
autofill_popup_view_gtk.cc | 201 void AutofillPopupViewGtk::DrawSeparator(cairo_t* cairo_context, 203 cairo_save(cairo_context); 204 cairo_move_to(cairo_context, 0, separator_rect.y()); 205 cairo_line_to(cairo_context, 208 cairo_stroke(cairo_context); 209 cairo_restore(cairo_context); 212 void AutofillPopupViewGtk::DrawAutofillEntry(cairo_t* cairo_context, 216 gdk_cairo_set_source_color(cairo_context, &kHoveredBackgroundColor); 217 cairo_rectangle(cairo_context, entry_rect.x(), entry_rect.y(), 219 cairo_fill(cairo_context); [all...] |
autofill_popup_view_gtk.h | 77 void DrawSeparator(cairo_t* cairo_context, const gfx::Rect& separator_rect); 80 void DrawAutofillEntry(cairo_t* cairo_context,
|
/external/chromium/chrome/browser/ui/gtk/tabs/ |
dragged_tab_gtk.cc | 221 cairo_t* cairo_context = gdk_cairo_create(container_->window); local 222 if (!cairo_context) 228 cairo_scale(cairo_context, static_cast<double>(size.width()), 230 cairo_set_source_rgba(cairo_context, 1.0f, 1.0f, 1.0f, 0.0f); 231 cairo_set_operator(cairo_context, CAIRO_OPERATOR_SOURCE); 232 cairo_paint(cairo_context); 233 cairo_destroy(cairo_context); 240 cairo_t* cairo_context = gdk_cairo_create(GDK_DRAWABLE(pixmap)); local 243 cairo_set_source_rgba(cairo_context, 1.0f, 1.0f, 1.0f, 0.0f); 247 cairo_set_operator(cairo_context, CAIRO_OPERATOR_SOURCE) [all...] |
tab_strip_gtk.cc | 1719 cairo_t* cairo_context = gdk_cairo_create(container->window); local 1742 cairo_t* cairo_context = gdk_cairo_create(GDK_DRAWABLE(pixmap)); local [all...] |
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
dragged_view_gtk.cc | 318 cairo_t* cairo_context = gdk_cairo_create(gtk_widget_get_window(container_)); local 319 if (!cairo_context) 325 cairo_scale(cairo_context, static_cast<double>(size.width()), 327 cairo_set_source_rgba(cairo_context, 1.0f, 1.0f, 1.0f, 0.0f); 328 cairo_set_operator(cairo_context, CAIRO_OPERATOR_SOURCE); 329 cairo_paint(cairo_context); 330 cairo_destroy(cairo_context); 337 cairo_t* cairo_context = gdk_cairo_create(GDK_DRAWABLE(pixmap)); local 340 cairo_set_source_rgba(cairo_context, 1.0f, 1.0f, 1.0f, 0.0f); 345 cairo_scale(cairo_context, kScalingFactor, kScalingFactor) [all...] |
tab_strip_gtk.cc | 1870 cairo_t* cairo_context = gdk_cairo_create(gtk_widget_get_window(container)); local 1893 cairo_t* cairo_context = gdk_cairo_create(GDK_DRAWABLE(pixmap)); local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
custom_button.cc | 90 cairo_t* cairo_context = gdk_cairo_create(GDK_DRAWABLE(widget->window)); 91 cairo_translate(cairo_context, widget->allocation.x, widget->allocation.y); 95 cairo_translate(cairo_context, widget->allocation.width, 0.0f); 96 cairo_scale(cairo_context, -1.0f, 1.0f); 106 background_image_->SetSource(cairo_context, x, y); 107 cairo_paint(cairo_context); 110 pixbuf->SetSource(cairo_context, x, y); 111 cairo_paint(cairo_context); 114 hover_pixbuf->SetSource(cairo_context, x, y); 115 cairo_paint_with_alpha(cairo_context, hover_state) [all...] |