/external/chromium/chrome/browser/ui/gtk/ |
gtk_expanded_container.cc | 52 GtkAllocation child_allocation; local 53 child_allocation.width = child_requisition.width; 54 child_allocation.height = child_requisition.height; 55 if (child_allocation.width < 0 || child_allocation.height < 0) { 57 if (child_allocation.width < 0) 58 child_allocation.width = child_requisition.width; 59 if (child_allocation.height < 0) 60 child_allocation.height = child_requisition.height; 66 child_allocation.x = x + data->border_width [all...] |
gtk_chrome_shrinkable_hbox.cc | 54 GtkAllocation child_allocation = child->allocation; local 58 if (child_allocation.width > data->homogeneous_child_width) { 59 child_allocation.x += 60 (child_allocation.width - data->homogeneous_child_width) / 2; 61 child_allocation.width = data->homogeneous_child_width; 74 child_allocation.x); 76 child_allocation.width -= overflow; 77 child_allocation.x += overflow; 82 int overflow = (child_allocation.x + child_allocation.width + padding [all...] |
gtk_floating_container.cc | 232 GtkAllocation child_allocation; local 241 child_allocation.x = allocation->x + child->x; 242 child_allocation.y = allocation->y + child->y; 243 child_allocation.width = std::max(1, std::min(child_requisition.width, 245 child_allocation.height = std::max(1, std::min(child_requisition.height, 247 gtk_widget_size_allocate(child->widget, &child_allocation);
|
/external/chromium_org/ui/base/gtk/ |
gtk_expanded_container.cc | 54 GtkAllocation child_allocation; local 55 child_allocation.width = child_requisition.width; 56 child_allocation.height = child_requisition.height; 57 if (child_allocation.width < 0 || child_allocation.height < 0) { 59 if (child_allocation.width < 0) 60 child_allocation.width = child_requisition.width; 61 if (child_allocation.height < 0) 62 child_allocation.height = child_requisition.height; 68 child_allocation.x = x + data->border_width [all...] |
gtk_floating_container.cc | 234 GtkAllocation child_allocation; local 243 child_allocation.x = allocation->x + child->x; 244 child_allocation.y = allocation->y + child->y; 245 child_allocation.width = std::max(1, std::min(child_requisition.width, 247 child_allocation.height = std::max(1, std::min(child_requisition.height, 249 gtk_widget_size_allocate(child->widget, &child_allocation);
|
/external/chromium_org/chrome/browser/ui/gtk/ |
gtk_chrome_shrinkable_hbox.cc | 54 GtkAllocation child_allocation; local 55 gtk_widget_get_allocation(child, &child_allocation); 59 if (child_allocation.width > data->homogeneous_child_width) { 60 child_allocation.x += 61 (child_allocation.width - data->homogeneous_child_width) / 2; 62 child_allocation.width = data->homogeneous_child_width; 75 child_allocation.x); 77 child_allocation.width -= overflow; 78 child_allocation.x += overflow; 83 int overflow = (child_allocation.x + child_allocation.width + padding [all...] |
/external/chromium_org/ui/gfx/ |
gtk_preserve_window.cc | 227 GtkAllocation child_allocation; local 228 child_allocation.x = child->x + border_width; 229 child_allocation.y = child->y + border_width; 230 child_allocation.width = child_requisition.width; 231 child_allocation.height = child_requisition.height; 233 gtk_widget_size_allocate(child->widget, &child_allocation);
|