Searched defs:allocation (Results 1 - 25 of 97) sorted by relevance

1234

/external/chromium_org/cc/output/
H A Dmanaged_memory_policy.cc22 const gpu::MemoryAllocation& allocation)
23 : bytes_limit_when_visible(allocation.bytes_limit_when_visible),
24 priority_cutoff_when_visible(allocation.priority_cutoff_when_visible),
21 ManagedMemoryPolicy( const gpu::MemoryAllocation& allocation) argument
/external/chromium_org/chrome/browser/automation/
H A Dtesting_automation_provider_gtk.cc35 GtkAllocation allocation; local
36 gtk_widget_get_allocation(widget, &allocation);
37 *bounds = gfx::Rect(allocation.width, allocation.height);
/external/chromium_org/ui/base/gtk/
H A Dgtk_screen_util.cc41 GtkAllocation allocation; local
42 gtk_widget_get_allocation(widget, &allocation);
43 x += allocation.x;
44 y += allocation.y;
51 GtkAllocation allocation; local
52 gtk_widget_get_allocation(widget, &allocation);
55 gfx::Size(allocation.width, allocation.height));
H A Dgtk_expanded_container_unittest.cc11 GtkAllocation allocation; \
12 gtk_widget_get_allocation(widget, &allocation); \
13 EXPECT_EQ(x_, allocation.x); \
14 EXPECT_EQ(y_, allocation.y); \
15 EXPECT_EQ(width_, allocation.width); \
16 EXPECT_EQ(height_, allocation.height); \
21 GtkAllocation allocation; \
22 gtk_widget_get_allocation(widget, &allocation); \
23 EXPECT_EQ(value,allocation.param); \
95 GtkAllocation allocation local
122 GtkAllocation allocation = { 10, 10, 50, 100 }; local
145 GtkAllocation allocation = { 0, 0, 300, 100 }; local
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dfullscreen_exit_bubble_gtk.cc87 GtkAllocation* allocation) {
94 g_value_set_int(&value, (allocation->width - bubble_size.width) / 2);
85 OnSetFloatingPosition( GtkWidget* floating_container, GtkAllocation* allocation) argument
H A Dgtk_expanded_container_unittest.cc78 GtkAllocation allocation = { 0, 0, 50, 100 }; local
79 gtk_widget_size_allocate(expanded_, &allocation);
81 EXPECT_EQ(0, child1->allocation.x);
82 EXPECT_EQ(0, child1->allocation.y);
83 EXPECT_EQ(50, child1->allocation.width);
84 EXPECT_EQ(100, child1->allocation.height);
86 EXPECT_EQ(10, child2->allocation.x);
87 EXPECT_EQ(20, child2->allocation.y);
88 EXPECT_EQ(50, child2->allocation.width);
89 EXPECT_EQ(100, child2->allocation
111 GtkAllocation allocation = { 10, 10, 50, 100 }; local
137 GtkAllocation allocation = { 0, 0, 300, 100 }; local
[all...]
H A Dgtk_chrome_shrinkable_hbox_unittest.cc61 // Check if all children's size allocation are inside the |box_|'s boundary.
78 int x = box_->allocation.x + border_width;
79 int width = box_->allocation.width - border_width * 2;
131 GtkAllocation allocation = { 0, 0, 0, 200 }; local
138 allocation.width = width;
140 // cause queue resize, so it's necessary to do another size allocation to
142 gtk_widget_size_allocate(box_, &allocation);
143 gtk_widget_size_allocate(box_, &allocation);
151 allocation.width = width;
154 // allocation t
[all...]
H A Dslide_animator_gtk.cc144 GtkAllocation* allocation,
148 child, 0, -allocation->height);
143 OnChildSizeAllocate(GtkWidget* child, GtkAllocation* allocation, SlideAnimatorGtk* slider) argument
H A Dtab_contents_container_gtk.cc222 GtkFloatingContainer* floating_container, GtkAllocation* allocation,
238 g_value_set_int(&value, allocation->width - requisition.width);
242 int child_y = std::max(allocation->height - requisition.height, 0);
221 OnSetFloatingPosition( GtkFloatingContainer* floating_container, GtkAllocation* allocation, TabContentsContainerGtk* tab_contents_container) argument
/external/chromium_org/chrome/browser/ui/gtk/
H A Davatar_menu_button_gtk.cc59 GtkAllocation* allocation) {
60 if (allocation->height != old_height_)
75 GtkAllocation allocation;
76 gtk_widget_get_allocation(widget(), &allocation); local
77 old_height_ = allocation.height;
58 OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation) argument
H A Dgtk_input_event_box.cc29 GtkAllocation* allocation);
62 GtkAllocation allocation; local
65 gtk_widget_get_allocation(widget, &allocation);
67 attributes.x = allocation.x;
68 attributes.y = allocation.y;
69 attributes.width = allocation.width;
70 attributes.height = allocation.height;
123 GtkAllocation* allocation) {
126 gtk_widget_set_allocation(widget, allocation);
131 allocation
122 gtk_input_event_box_size_allocate(GtkWidget* widget, GtkAllocation* allocation) argument
[all...]
H A Dthrobber_gtk.cc62 GtkAllocation allocation; local
63 gtk_widget_get_allocation(widget, &allocation);
64 cairo_translate(cairo_context, allocation.x, allocation.y);
H A Dgtk_chrome_shrinkable_hbox_unittest.cc61 // Check if all children's size allocation are inside the |box_|'s boundary.
78 int x = box_->allocation.x + border_width;
79 int width = box_->allocation.width - border_width * 2;
131 GtkAllocation allocation = { 0, 0, 0, 200 }; local
138 allocation.width = width;
140 // cause queue resize, so it's necessary to do another size allocation to
142 gtk_widget_size_allocate(box_, &allocation);
143 gtk_widget_size_allocate(box_, &allocation);
151 allocation.width = width;
154 // allocation t
[all...]
H A Dmenu_bar_helper.cc29 GtkAllocation allocation; local
30 gtk_widget_get_allocation(menu, &allocation);
33 motion->x < allocation.width &&
34 motion->y < allocation.height) {
137 GtkAllocation allocation; local
138 gtk_widget_get_allocation(button, &allocation);
140 if (x >= 0 && y >= 0 && x < allocation.width && y < allocation.height) {
H A Dslide_animator_gtk.cc146 GtkAllocation* allocation,
150 child, 0, -allocation->height);
145 OnChildSizeAllocate(GtkWidget* child, GtkAllocation* allocation, SlideAnimatorGtk* slider) argument
H A Dtab_contents_container_gtk.cc187 GtkFloatingContainer* floating_container, GtkAllocation* allocation,
203 g_value_set_int(&value, allocation->width - requisition.width);
207 int child_y = std::max(allocation->height - requisition.height, 0);
186 OnSetFloatingPosition( GtkFloatingContainer* floating_container, GtkAllocation* allocation, TabContentsContainerGtk* tab_contents_container) argument
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DBitVector.cpp83 void* allocation = partitionAllocGeneric(Partitions::getBufferPartition(), size); local
84 OutOfLineBits* result = new (NotNull, allocation) OutOfLineBits(numBits);
/external/chromium/chrome/browser/ui/gtk/infobars/
H A Dextension_infobar_gtk.cc77 GtkAllocation* allocation) {
78 gfx::Size new_size(allocation->width, allocation->height);
76 OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation) argument
/external/clang/test/Sema/
H A Dwarn-unused-function.c52 static void cleanupMalloc(char * const * const allocation) { } argument
/external/chromium_org/chrome/browser/ui/gtk/extensions/
H A Dextension_popup_gtk.cc194 GtkAllocation allocation; local
195 gtk_widget_get_allocation(host_->view()->native_view(), &allocation);
196 return gfx::Rect(allocation);
/external/chromium_org/chrome/browser/ui/gtk/infobars/
H A Dinfobar_container_gtk.cc135 GtkAllocation allocation; local
136 gtk_widget_get_allocation(sender, &allocation);
137 y += allocation.y;
/external/chromium_org/chrome/browser/ui/gtk/tab_contents/
H A Dchrome_web_contents_view_delegate_gtk.cc172 GtkWidget* floating_container, GtkAllocation* allocation) {
186 int child_x = std::max((allocation->width - requisition.width) / 2, 0);
191 int child_y = std::max((allocation->height - requisition.height) / 2, 0);
171 OnSetFloatingPosition( GtkWidget* floating_container, GtkAllocation* allocation) argument
/external/chromium_org/content/common/gpu/client/
H A Dcontext_provider_command_buffer.cc180 const gpu::MemoryAllocation& allocation) {
184 bool nonzero_allocation = !!allocation.bytes_limit_when_visible;
191 memory_policy_changed_callback_.Run(cc::ManagedMemoryPolicy(allocation));
179 OnMemoryAllocationChanged( const gpu::MemoryAllocation& allocation) argument
/external/chromium_org/content/common/gpu/
H A Dimage_transport_surface_android.cc115 void ImageTransportSurfaceAndroid::SetFrontbufferAllocation(bool allocation) { argument
116 if (frontbuffer_suggested_allocation_ == allocation)
118 frontbuffer_suggested_allocation_ = allocation;
120 if (!allocation)
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioArray.h52 // It's OK to call allocate() multiple times, but data will *not* be copied from an initial allocation
83 T* allocation = static_cast<T*>(fastMalloc(initialSize + extraAllocationBytes)); local
84 if (!allocation)
86 T* alignedData = alignedAddress(allocation, alignment);
88 if (alignedData == allocation || extraAllocationBytes == alignment) {
89 m_allocation = allocation;
96 fastFree(allocation);

Completed in 1171 milliseconds

1234