/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/chrome/browser/ui/gtk/ |
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;
|
throbber_gtk.cc | 62 GtkAllocation allocation; local 63 gtk_widget_get_allocation(widget, &allocation); 64 cairo_translate(cairo_context, allocation.x, allocation.y);
|
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...] |
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_link_button.cc | 167 GtkAllocation allocation; local 168 gtk_widget_get_allocation(widget, &allocation); 173 allocation.x, allocation.y, 174 allocation.width, allocation.height);
|
gtk_chrome_shrinkable_hbox.cc | 20 GtkAllocation* allocation; member in struct:__anon8784::SizeAllocateData 67 int overflow = (data->allocation->x + data->border_width + padding - 77 (data->allocation->x + data->allocation->width - data->border_width)); 107 GtkAllocation* allocation); 171 GtkWidget* widget, GtkAllocation* allocation) { 184 if (widget_allocation.width < allocation->width || 192 // children may be redrawn on the screen with incorrect size allocation. 195 // Let the parent class do size allocation first. After that all children will 199 (widget, allocation); [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...] |
rounded_window.cc | 208 GtkAllocation allocation; local 209 gtk_widget_get_allocation(widget, &allocation); 211 if (data->expected_width != allocation.width || 212 data->expected_height != allocation.height) { 213 data->expected_width = allocation.width; 214 data->expected_height = allocation.height; 249 // reshape a window by whether its allocation has changed so force it to reset
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
BitVector.cpp | 83 void* allocation = partitionAllocGeneric(Partitions::getBufferPartition(), size); local 84 OutOfLineBits* result = new (NotNull, allocation) OutOfLineBits(numBits);
|
/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:__anon17473::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/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.cc | 20 GtkAllocation* allocation; member in struct:__anon5042::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...] |
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:__anon5047::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...] |
/external/chromium_org/chrome/browser/ui/gtk/extensions/ |
extension_popup_gtk.cc | 194 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/ |
infobar_container_gtk.cc | 135 GtkAllocation allocation; local 136 gtk_widget_get_allocation(sender, &allocation); 137 y += allocation.y;
|
/external/chromium_org/third_party/WebKit/Source/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);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ClearObjectTest.java | 19 import android.renderscript.Allocation; 43 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 65 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 66 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 81 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 82 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum) 99 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); local [all...] |
IsObjectTest.java | 20 import android.renderscript.Allocation; 30 private Allocation mIn; 31 private Allocation mOut; 35 Allocation allocation; field in class:IsObjectTest 48 allocation = Allocation.createTyped(mRS, type); 66 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 86 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 106 mItem.allocation = allocation [all...] |
SetObjectTest.java | 20 import android.renderscript.Allocation; 29 private Allocation mIn; 30 private Allocation mOut; 34 Allocation allocation; field in class:SetObjectTest 47 allocation = Allocation.createTyped(mRS, type); 65 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 85 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 104 mItem.allocation = allocation [all...] |
/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...] |