/external/webkit/Source/JavaScriptCore/heap/ |
MarkedBlock.cpp | 38 PageAllocationAligned allocation = PageAllocationAligned::allocate(blockSize, blockSize, OSAllocator::JSGCHeapPages); local 39 if (!static_cast<bool>(allocation)) 41 return new (allocation.base()) MarkedBlock(allocation, globalData, cellSize); 51 MarkedBlock::MarkedBlock(const PageAllocationAligned& allocation, JSGlobalData* globalData, size_t cellSize) 53 , m_allocation(allocation)
|
/external/webkit/Source/WebCore/platform/gtk/ |
GtkPluginWidget.cpp | 62 GtkAllocation allocation = { loc.x(), loc.y(), rect.width(), rect.height() }; local 65 gtk_widget_size_allocate(platformWidget(), &allocation); local
|
ScrollViewGtk.cpp | 187 GtkAllocation allocation; local 188 gtk_widget_get_allocation(measuredWidget, &allocation); 190 IntSize(allocation.width, allocation.height));
|
ScrollbarThemeGtk2.cpp | 149 // Themes determine how to draw the button (which button to draw) based on the allocation 150 // of the widget. Where the target rect is in relation to the total widget allocation 163 // Now we want the allocation to be relative to the origin of the painted rect. 165 GtkAllocation allocation; local 166 gtk_widget_get_allocation(widget, &allocation); 167 allocation.x = allocation.y = 0; 168 allocation.width = rect.width(); 169 allocation.height = rect.height(); 172 allocation.height = totalAllocation [all...] |
WidgetRenderingContext.cpp | 151 // Some widgets also need their allocation adjusted to account for extra space. 153 GtkAllocation allocation; local 154 gtk_widget_get_allocation(widget, &allocation); 155 allocation.x += m_paintRect.x; 156 allocation.y += m_paintRect.y; 157 gtk_widget_set_allocation(widget, &allocation);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
RopeImpl.h | 43 void* allocation; local 44 if (tryFastMalloc(sizeof(RopeImpl) + (fiberCount - 1) * sizeof(Fiber)).getValue(allocation)) 45 return adoptRef(new (allocation) RopeImpl(fiberCount));
|
/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:__anon3620::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:__anon3625::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/webkit/Source/JavaScriptCore/jit/ |
ExecutableAllocator.cpp | 52 ExecutablePool::Allocation ExecutablePool::systemAlloc(size_t size) 54 PageAllocation allocation = PageAllocation::allocate(size, OSAllocator::JSJITCodePages, EXECUTABLE_POOL_WRITABLE, true); local 55 if (!allocation) 57 return allocation; 60 void ExecutablePool::systemRelease(ExecutablePool::Allocation& allocation) 62 allocation.deallocate();
|
/external/bluetooth/bluez/audio/ |
gstsbcenc.h | 56 gint allocation; member in struct:_GstSbcEnc
|
gstsbcutil.c | 80 * Selects one allocation mode from the ones on the list 278 gint gst_sbc_parse_allocation_to_sbc(const gchar *allocation) 280 if (g_ascii_strcasecmp(allocation, "loudness") == 0) 282 else if (g_ascii_strcasecmp(allocation, "snr") == 0) 295 allocation_str = gst_sbc_parse_allocation_from_sbc(sbc->allocation); 306 "allocation", G_TYPE_STRING, allocation_str, 328 const gchar *allocation = NULL; local 400 if (!gst_structure_has_field(structure, "allocation")) { 402 *error_message = g_strdup("no allocation"); 405 value = gst_structure_get_value(structure, "allocation"); 487 const gchar *allocation; local [all...] |
/external/webkit/Source/WebKit/gtk/tests/ |
testhittestresult.c | 125 GtkAllocation allocation = { 0, 0, 50, 50 }; local 132 gtk_widget_size_allocate(GTK_WIDGET(fixture->webView), &allocation);
|
/external/bluetooth/bluez/sbc/ |
sbc.h | 55 /* allocation method */ 74 uint8_t allocation; member in struct:sbc_struct
|
sbc.c | 31 bits allocation/bitpool generation port to the dsp 70 } allocation; member in struct:sbc_frame 174 if (frame->allocation == SNR) { 255 if (frame->allocation == SNR) { 428 frame->allocation = (data[1] >> 1) & 0x01; 788 data[1] |= (frame->allocation & 0x01) << 1; 976 sbc->allocation = priv->frame.allocation; 1045 priv->frame.allocation = sbc->allocation; [all...] |
/external/chromium/chrome/browser/renderer_host/ |
web_cache_manager.cc | 88 // Revise our allocation strategy to account for this new renderer. 116 // it is given a fair cache allocation, but we defer this for a bit in 205 NOTREACHED() << "Unknown cache allocation tactic"; 247 // We succeeded in computing an allocation strategy. 274 // Record the allocation in our strategy. 275 strategy->push_back(Allocation(*iter, cache_size)); 281 // Inform each render process of its cache allocation. 282 AllocationStrategy::const_iterator allocation = strategy.begin(); local 283 while (allocation != strategy.end()) { 284 RenderProcessHost* host = RenderProcessHost::FromID(allocation->first) [all...] |
/external/webkit/Source/WebKit2/UIProcess/gtk/ |
WebViewWidget.cpp | 54 GtkAllocation allocation; local 55 gtk_widget_get_allocation(widget, &allocation); 59 attributes.x = allocation.x; 60 attributes.y = allocation.y; 61 attributes.width = allocation.width; 62 attributes.height = allocation.height; 164 static void webViewSizeAllocate(GtkWidget* widget, GtkAllocation* allocation) 167 GTK_WIDGET_CLASS(webViewWidgetParentClass)->size_allocate(widget, allocation); 168 webView->setSize(widget, IntSize(allocation->width, allocation->height)) [all...] |
WebView.cpp | 379 GtkAllocation allocation; local 380 gtk_widget_get_allocation(m_viewWidget, &allocation); 381 return IntSize(allocation.width, allocation.height);
|
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/ |
BallsRS.java | 41 Allocation.USAGE_SCRIPT | 42 Allocation.USAGE_GRAPHICS_CONSTANTS); 70 private Allocation loadTexture(int id) { 71 final Allocation allocation = local 72 Allocation.createFromBitmapResource(mRS, mRes, 73 id, Allocation.MipmapControl.MIPMAP_NONE, 74 Allocation.USAGE_GRAPHICS_TEXTURE); 75 return allocation; 105 mPoints = new ScriptField_Point(mRS, PART_COUNT, Allocation.USAGE_SCRIPT) [all...] |
/frameworks/rs/ |
rs_hal.h | 31 class Allocation; 90 const Allocation * ain, 91 Allocation * aout, 120 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 121 void (*destroy)(const Context *rsc, Allocation *alloc); 123 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 125 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 126 void (*markDirty)(const Context *rsc, const Allocation *alloc); 128 int32_t (*initSurfaceTexture)(const Context *rsc, const Allocation *alloc); 129 void (*setSurfaceTexture)(const Context *rsc, Allocation *alloc, ANativeWindow *sur) 172 } allocation; member in struct:android::renderscript::__anon17387 [all...] |
/external/webkit/Source/WebCore/plugins/gtk/ |
PluginViewGtk.cpp | 538 GtkAllocation allocation = { m_windowRect.x(), m_windowRect.y(), m_windowRect.width(), m_windowRect.height() }; local 540 // If the window has not been embedded yet (the plug added), we delay setting its allocation until 543 m_delayedAllocation = allocation; 546 gtk_widget_size_allocate(platformPluginWidget(), &allocation); local 780 GtkAllocation allocation(view->m_delayedAllocation); 781 gtk_widget_size_allocate(GTK_WIDGET(socket), &allocation); local
|
gtk2xtbin.c | 275 GtkAllocation allocation = { 0, 0, 200, 200 }; local 288 /* caculate the allocation before realize */ 290 allocation.width = gdk_window_get_width(xtbin->parent_window); 291 allocation.height = gdk_window_get_height(xtbin->parent_window); 295 allocation.width = w; 296 allocation.height = h; 298 gtk_widget_size_allocate (widget, &allocation); 301 printf("initial allocation %d %d %d %d\n", x, y, w, h); 309 xtbin->width = widget->allocation.width; 310 xtbin->height = widget->allocation.height 443 GtkAllocation allocation; local [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
GalaxyRS.java | 137 private Allocation loadTexture(int id) { 138 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mResources, id); local 139 return allocation; 142 // TODO: Fix Allocation.createFromBitmapResource() to do this when RGBA_8888 is specified 143 private Allocation loadTextureARGB(int id) { 145 final Allocation allocation = Allocation.createFromBitmap(mRS, b) local [all...] |
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_popup_view_gtk.cc | 440 GtkAllocation allocation = location_bar_->allocation; local 444 origin_x + allocation.x - kBorderThickness + horizontal_offset, 445 origin_y + allocation.y + allocation.height - kBorderThickness - 1 + 448 allocation.width + (kBorderThickness * 2) - (horizontal_offset * 2),
|