Searched defs:box (Results 1 - 25 of 78) sorted by relevance

1234

/external/clang/test/CodeGenCXX/
H A Dvirtual-destructor-synthesis.cpp3 struct box { struct
4 virtual ~box();
7 struct pile_box : public box {
8 pile_box(box *);
11 pile_box::pile_box(box *pp)
/external/webkit/LayoutTests/fast/events/touch/script-tests/
H A Ddocument-create-touch.js5 var box = document.createElement("div"); variable
6 box.id = "box";
7 box.style.width = "100px";
8 box.style.height = "100px";
9 document.body.appendChild(box);
11 var target = document.getElementById("box");
14 shouldBe("touch.target", "box");
/external/clang/test/SemaCXX/
H A Dwarn-unused-value.cpp13 Box* box = new Box; local
14 box->i; // expected-warning {{expression result unused}}
15 box->j;
/external/skia/src/animator/
H A DSkDrawTextBox.cpp80 SkTextBox box; local
81 box.setMode((SkTextBox::Mode) mode);
82 box.setSpacingAlign((SkTextBox::SpacingAlign) spacingAlign);
83 box.setBox(fRect);
84 box.setSpacing(fSpacingMul, fSpacingAdd);
86 box.draw(maker.fCanvas, fText.c_str(), fText.size(), *maker.fPaint);
/external/skia/src/svg/
H A DSkSVGSVG.cpp54 SkRect box; local
55 box.fLeft = SkScalarDiv(viewBox[0], width);
56 box.fTop = SkScalarDiv(viewBox[1], height);
57 box.fRight = SkScalarDiv(viewBox[2], width);
58 box.fBottom = SkScalarDiv(viewBox[3], height);
59 if (box.fLeft == 0 && box.fTop == 0 &&
60 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1)
63 if (box
[all...]
/external/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLBlock.h58 RenderBoxModelObject* box = toRenderBoxModelObject(object); local
59 return box->offsetHeight();
67 const RenderBoxModelObject* box = toRenderBoxModelObject(object); local
68 return box->offsetHeight();
76 RenderBoxModelObject* box = toRenderBoxModelObject(object); local
77 return box->offsetWidth();
85 const RenderBoxModelObject* box = toRenderBoxModelObject(object); local
86 return box->offsetWidth();
H A DRenderMathMLRow.cpp51 // Check to see if this box has a larger height
55 RenderBoxModelObject* box = toRenderBoxModelObject(current); local
56 // Check to see if this box has a larger height
57 if (box->offsetHeight() > maxHeight)
58 maxHeight = box->offsetHeight();
91 RenderBoxModelObject* box = toRenderBoxModelObject(current); local
92 // Check to see if this box has a larger height.
93 if (box->offsetHeight() > maxHeight)
94 maxHeight = box->offsetHeight();
H A DRenderMathMLSquareRoot.cpp85 RenderBoxModelObject* box = toRenderBoxModelObject(current); local
87 // Check to see if this box has a larger height
88 if (box->offsetHeight() > maxHeight)
89 maxHeight = box->offsetHeight();
90 width += box->offsetWidth();
173 RenderBoxModelObject* box = toRenderBoxModelObject(current); local
175 if (box->offsetHeight() > maxHeight)
176 maxHeight = box->offsetHeight();
178 box->style()->setVerticalAlign(BASELINE);
H A DRenderMathMLSubSup.cpp189 RenderBoxModelObject* box = toRenderBoxModelObject(base); local
191 int topAdjust = (m_scripts->offsetHeight() - box->offsetHeight()) / 2;
196 return topAdjust + box->baselinePosition(AlphabeticBaseline, firstLine, direction, linePositionMode) + static_cast<int>((zoomFactor > 1.25 ? 2 : 3) * zoomFactor);
201 RenderBoxModelObject* box = toRenderBoxModelObject(base); local
202 baseline = box->baselinePosition(AlphabeticBaseline, firstLine, direction, linePositionMode);
H A DRenderMathMLUnderOver.cpp114 RenderBoxModelObject* box = toRenderBoxModelObject(obj); local
115 return box->offsetHeight();
157 // FIXME: bases that ascend higher than the line box intrude into the over
209 // FIXME: bases that ascend higher than the line box intrude into the over
H A DRenderMathMLRoot.cpp122 RenderBoxModelObject* box = toRenderBoxModelObject(current); local
123 indexWidth += box->offsetWidth();
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGInline.cpp41 InlineFlowBox* box = new (renderArena()) SVGInlineFlowBox(this); local
42 box->setHasVirtualLogicalHeight();
43 return box;
92 for (InlineFlowBox* box = firstLineBox(); box; box = box->nextLineBox())
93 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box
[all...]
H A DRenderSVGModelObject.cpp66 IntRect box = enclosingIntRect(repaintRectInLocalCoordinates()); local
67 adjustRectForOutlineAndShadow(box);
69 FloatQuad containerRelativeQuad = localToContainerQuad(FloatRect(box), repaintContainer);
H A DRenderSVGInlineText.cpp103 InlineTextBox* box = new (renderArena()) SVGInlineTextBox(this); local
104 box->setHasVirtualLogicalHeight();
105 return box;
108 IntRect RenderSVGInlineText::localCaretRect(InlineBox* box, int caretOffset, int*) argument
110 if (!box->isInlineTextBox())
113 InlineTextBox* textBox = static_cast<InlineTextBox*>(box);
120 int x = box->isLeftToRightDirection() ? rect.x() : rect.maxX();
125 int x = box->isLeftToRightDirection() ? rect.maxX() : rect.x();
132 for (InlineTextBox* box = firstTextBox(); box; bo
[all...]
H A DRenderSVGText.cpp180 RootInlineBox* box = new (renderArena()) SVGRootInlineBox(this); local
181 box->setHasVirtualLogicalHeight();
182 return box;
/external/qemu/android/skin/
H A Drect.c194 skin_box_minmax_init( SkinBox* box )
196 box->x1 = box->y1 = INT_MAX;
197 box->x2 = box->y2 = INT_MIN;
214 skin_box_minmax_to_rect( SkinBox* box, SkinRect* r ) argument
216 if (box->x1 > box->x2) {
220 skin_box_to_rect( box, r );
225 skin_box_from_rect( SkinBox* box, SkinRec argument
234 skin_box_to_rect( SkinBox* box, SkinRect* r ) argument
[all...]
H A Dfile.c318 SkinBox box; local
344 skin_box_minmax_init( &box );
347 skin_box_minmax_update( &box, &part->background->rect );
350 skin_box_minmax_update( &box, &part->display->rect );
353 skin_box_minmax_update( &box, &button->rect );
356 if ( !skin_box_minmax_to_rect( &box, &part->rect ) ) {
369 SkinBox box; local
395 skin_box_minmax_init( &box );
398 skin_box_minmax_update( &box, &part->background->rect );
401 skin_box_minmax_update( &box,
[all...]
/external/webkit/Source/WebCore/rendering/
H A DRenderMarquee.cpp113 RenderBox* box = m_layer->renderBox(); local
114 ASSERT(box);
115 RenderStyle* s = box->style();
118 int clientWidth = box->clientWidth();
119 int contentWidth = ltr ? box->maxXLayoutOverflow() : box->minXLayoutOverflow();
121 contentWidth += (box->paddingRight() - box->borderLeft());
123 contentWidth = box->width() - contentWidth;
124 contentWidth += (box
[all...]
H A DRenderLineBoxList.cpp52 void RenderLineBoxList::appendLineBox(InlineFlowBox* box) argument
57 m_firstLineBox = m_lastLineBox = box;
59 m_lastLineBox->setNextLineBox(box);
60 box->setPreviousLineBox(m_lastLineBox);
61 m_lastLineBox = box;
79 void RenderLineBoxList::extractLineBox(InlineFlowBox* box) argument
83 m_lastLineBox = box->prevLineBox();
84 if (box == m_firstLineBox)
86 if (box->prevLineBox())
87 box
95 attachLineBox(InlineFlowBox* box) argument
114 removeLineBox(InlineFlowBox* box) argument
194 lineIntersectsDirtyRect(RenderBoxModelObject* renderer, InlineFlowBox* box, const PaintInfo& paintInfo, int tx, int ty) const argument
335 RootInlineBox* box = 0; local
[all...]
H A DRenderThemeChromiumLinux.cpp273 const RenderBox* box = toRenderBox(o); local
275 extraParams.menuList.hasBorder = box->borderRight() || box->borderLeft() || box->borderTop() || box->borderBottom();
/external/chromium/chrome/browser/notifications/
H A Ddesktop_notifications_unittest.cc349 gfx::Rect box = balloon_collection_->GetBalloonsBoundingBox(); local
356 // Make sure each balloon's 4 corners are inside the box.
365 EXPECT_TRUE(box.Contains(gfx::Point(min_x, min_y)));
366 EXPECT_TRUE(box.Contains(gfx::Point(min_x, max_y)));
367 EXPECT_TRUE(box.Contains(gfx::Point(max_x, min_y)));
368 EXPECT_TRUE(box.Contains(gfx::Point(max_x, max_y)));
/external/chromium/chrome/browser/ui/gtk/
H A Dgtk_chrome_shrinkable_hbox.cc19 GtkChromeShrinkableHBox* box; member in struct:__anon1746::SizeAllocateData
66 gtk_box_query_child_packing(GTK_BOX(data->box), child, NULL, NULL,
90 if (data->box->hide_child_directly || child_allocation.width <= 1)
135 static void gtk_chrome_shrinkable_hbox_init(GtkChromeShrinkableHBox* box) { argument
136 box->hide_child_directly = FALSE;
137 box->children_width_requisition = 0;
144 GtkChromeShrinkableHBox* box = GTK_CHROME_SHRINKABLE_HBOX(object); local
149 box, g_value_get_boolean(value));
161 GtkChromeShrinkableHBox* box = GTK_CHROME_SHRINKABLE_HBOX(object); local
165 g_value_set_boolean(value, box
175 GtkChromeShrinkableHBox* box = GTK_CHROME_SHRINKABLE_HBOX(widget); local
239 gtk_chrome_shrinkable_hbox_set_hide_child_directly( GtkChromeShrinkableHBox* box, gboolean hide_child_directly) argument
250 gtk_chrome_shrinkable_hbox_get_hide_child_directly( GtkChromeShrinkableHBox* box) argument
257 gtk_chrome_shrinkable_hbox_pack_start(GtkChromeShrinkableHBox* box, GtkWidget* child, guint padding) argument
266 gtk_chrome_shrinkable_hbox_pack_end(GtkChromeShrinkableHBox* box, GtkWidget* child, guint padding) argument
275 gtk_chrome_shrinkable_hbox_get_visible_child_count( GtkChromeShrinkableHBox* box) argument
[all...]
/external/skia/src/views/
H A DSkTextBox.cpp114 void SkTextBox::getBox(SkRect* box) const
116 if (box)
117 *box = fBox;
120 void SkTextBox::setBox(const SkRect& box) argument
122 fBox = box;
/external/webkit/Source/WebCore/html/
H A DHTMLImageElement.cpp279 RenderBox* box = renderBox(); local
280 return box ? adjustForAbsoluteZoom(box->contentWidth(), box) : 0;
302 RenderBox* box = renderBox(); local
303 return box ? adjustForAbsoluteZoom(box->contentHeight(), box) : 0;
/external/webkit/Source/WebCore/html/shadow/
H A DTextControlInnerElements.cpp261 RenderBox* box = renderBox(); local
262 if (!box) {
276 IntPoint local = roundedIntPoint(box->absoluteToLocal(mouseEvent->absoluteLocation(), false, true));
278 if (box->borderBoxRect().contains(local)) {
295 if (box->borderBoxRect().contains(local)) {
303 m_upDownState = local.y() < box->height() / 2 ? Up : Down;

Completed in 637 milliseconds

1234