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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium/chrome/browser/ui/gtk/
gtk_expanded_container_unittest.cc 78 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.height)
111 GtkAllocation allocation = { 10, 10, 50, 100 }; local
137 GtkAllocation allocation = { 0, 0, 300, 100 }; local
    [all...]
gtk_chrome_shrinkable_hbox_unittest.cc 61 // 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 to emulate the queue resize
    [all...]
gtk_expanded_container.cc 22 GtkAllocation* allocation; member in struct:__anon5044::SizeAllocateData
43 child_requisition.width = data->allocation->width - data->border_width * 2;
44 child_requisition.height = data->allocation->height - data->border_width * 2;
70 child_allocation.x += data->allocation->x;
71 child_allocation.y += data->allocation->y;
114 GtkAllocation* allocation);
143 GtkAllocation* allocation) {
144 widget->allocation = *allocation;
148 allocation->x
    [all...]
gtk_chrome_shrinkable_hbox.cc 20 GtkAllocation* allocation; member in struct:__anon5039::SizeAllocateData
54 GtkAllocation child_allocation = child->allocation;
73 int overflow = (data->allocation->x + data->border_width + padding -
83 (data->allocation->x + data->allocation->width - data->border_width));
89 if (child_allocation.width != child->allocation.width) {
110 GtkAllocation* allocation);
174 GtkWidget* widget, GtkAllocation* allocation) {
184 if (widget->allocation.width < allocation->width |
    [all...]
custom_button.h 168 return gfx::Rect(widget_->allocation.x,
169 widget_->allocation.y,
170 widget_->allocation.width,
171 widget_->allocation.height);
174 int width() const { return widget_->allocation.width; }
175 int height() const { return widget_->allocation.height; }
gtk_floating_container.cc 55 GtkAllocation* allocation);
205 GtkAllocation* allocation) {
206 widget->allocation = *allocation;
210 allocation->x,
211 allocation->y,
212 allocation->width,
213 allocation->height);
216 // Give the same allocation to our GtkBin component.
219 gtk_widget_size_allocate(bin->child, allocation);
    [all...]
  /external/chromium_org/ui/base/gtk/
gtk_screen_util.cc 41 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));
gtk_expanded_container_unittest.cc 11 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 = { 0, 0, 50, 100 } local
122 GtkAllocation allocation = { 10, 10, 50, 100 }; local
145 GtkAllocation allocation = { 0, 0, 300, 100 }; local
    [all...]
gtk_expanded_container.cc 24 GtkAllocation* allocation; member in struct:__anon16598::SizeAllocateData
45 child_requisition.width = data->allocation->width - data->border_width * 2;
46 child_requisition.height = data->allocation->height - data->border_width * 2;
72 child_allocation.x += data->allocation->x;
73 child_allocation.y += data->allocation->y;
116 GtkAllocation* allocation);
145 GtkAllocation* allocation) {
146 gtk_widget_set_allocation(widget, allocation);
150 allocation->x,
151 allocation->y
    [all...]
gtk_floating_container.cc 58 GtkAllocation* allocation);
207 GtkAllocation* allocation) {
208 gtk_widget_set_allocation(widget, allocation);
212 allocation->x,
213 allocation->y,
214 allocation->width,
215 allocation->height);
218 // Give the same allocation to our GtkBin component.
221 gtk_widget_size_allocate(gtk_bin_get_child(bin), allocation); local
227 allocation);
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/
gtk_input_event_box.cc 29 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->x
    [all...]
avatar_menu_button_gtk.cc 59 GtkAllocation* allocation) {
60 if (allocation->height != old_height_)
75 GtkAllocation allocation;
76 gtk_widget_get_allocation(widget(), &allocation); local
77 old_height_ = allocation.height;
gtk_chrome_shrinkable_hbox_unittest.cc 61 // 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 to emulate the queue resize
    [all...]
menu_bar_helper.cc 29 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) {
gtk_chrome_shrinkable_hbox.cc 20 GtkAllocation* allocation; member in struct:__anon8552::SizeAllocateData
74 int overflow = (data->allocation->x + data->border_width + padding -
84 (data->allocation->x + data->allocation->width - data->border_width));
114 GtkAllocation* allocation);
178 GtkWidget* widget, GtkAllocation* allocation) {
191 if (widget_allocation.width < allocation->width ||
199 // children may be redrawn on the screen with incorrect size allocation.
202 // Let the parent class do size allocation first. After that all children will
206 (widget, allocation);
    [all...]
throbber_gtk.cc 62 GtkAllocation allocation; local
63 gtk_widget_get_allocation(widget, &allocation);
64 cairo_translate(cairo_context, allocation.x, allocation.y);
  /external/chromium_org/chrome/browser/automation/
testing_automation_provider_gtk.cc 35 GtkAllocation allocation; local
36 gtk_widget_get_allocation(widget, &allocation);
37 *bounds = gfx::Rect(allocation.width, allocation.height);
  /external/chromium_org/ui/gfx/
gtk_preserve_window.cc 39 GtkAllocation* allocation);
91 GtkAllocation allocation; local
92 gtk_widget_get_allocation(widget, &allocation);
96 allocation.x,
97 allocation.y);
101 allocation.width,
102 allocation.height);
176 // that a size-allocation will resize it later.
201 GtkAllocation* allocation) {
204 gtk_widget_set_allocation(widget, allocation);
    [all...]
  /external/valgrind/main/memcheck/tests/
origin4-many.stderr.exp 3 Uninitialised value was created by a heap allocation
9 Uninitialised value was created by a heap allocation
15 Uninitialised value was created by a heap allocation
21 Uninitialised value was created by a heap allocation
27 Uninitialised value was created by a heap allocation
33 Uninitialised value was created by a heap allocation
39 Uninitialised value was created by a heap allocation
45 Uninitialised value was created by a heap allocation
51 Uninitialised value was created by a heap allocation
origin1-yes.stderr.exp 5 Uninitialised value was created by a stack allocation
12 Uninitialised value was created by a stack allocation
19 Uninitialised value was created by a stack allocation
26 Uninitialised value was created by a heap allocation
34 Uninitialised value was created by a heap allocation
42 Uninitialised value was created by a heap allocation
  /external/chromium_org/third_party/WebKit/Source/core/platform/audio/
AudioArray.h 52 // 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);
  /external/chromium/chrome/browser/ui/gtk/infobars/
extension_infobar_gtk.cc 77 GtkAllocation* allocation) {
78 gfx::Size new_size(allocation->width, allocation->height);
  /external/chromium_org/cc/output/
output_surface_unittest.cc 331 WebGraphicsMemoryAllocation allocation; local
332 allocation.suggestHaveBackbuffer = true;
333 allocation.bytesLimitWhenVisible = 1234;
334 allocation.priorityCutoffWhenVisible =
336 allocation.bytesLimitWhenNotVisible = 4567;
337 allocation.priorityCutoffWhenNotVisible =
340 context->SetMemoryAllocation(allocation);
350 allocation.suggestHaveBackbuffer = false;
351 context->SetMemoryAllocation(allocation);
354 allocation.priorityCutoffWhenVisible
    [all...]
  /frameworks/rs/
rsProgramVertex.cpp 46 "Unable to set fixed function emulation matrices because allocation is missing");
49 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
75 "Unable to set fixed function emulation matrix projection because allocation is missing");
78 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
93 "Unable to set fixed function emulation matrix modelview because allocation is missing");
96 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
100 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
111 "Unable to set fixed function emulation matrix texture because allocation is missing")
    [all...]
  /external/valgrind/main/massif/tests/
basic2.post.exp 39 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
45 98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
52 98.04% (7,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
59 98.04% (10,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
66 98.04% (14,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
73 98.04% (11,200B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
80 98.04% (8,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
87 98.04% (4,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
94 98.04% (1,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.

Completed in 245 milliseconds

1 2 3 4 5 6 7 8 91011>>