/external/webkit/LayoutTests/fast/events/touch/script-tests/ |
H A D | document-create-touch.js | 5 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/skia/src/animator/ |
H A D | SkDrawTextBox.cpp | 80 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 D | SkSVGSVG.cpp | 52 SkRect box; local 53 box.fLeft = SkScalarDiv(viewBox[0], width); 54 box.fTop = SkScalarDiv(viewBox[1], height); 55 box.fRight = SkScalarDiv(viewBox[2], width); 56 box.fBottom = SkScalarDiv(viewBox[3], height); 57 if (box.fLeft == 0 && box.fTop == 0 && 58 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1) 61 if (box [all...] |
/external/webkit/WebCore/rendering/ |
H A D | RenderSVGInline.cpp | 44 InlineFlowBox* box = new (renderArena()) SVGInlineFlowBox(this); local 45 box->setHasVirtualHeight(); 46 return box;
|
H A D | RenderSVGModelObject.cpp | 72 IntRect box = enclosingIntRect(repaintRectInLocalCoordinates()); local 73 adjustRectForOutlineAndShadow(box); 75 FloatQuad containerRelativeQuad = localToContainerQuad(FloatRect(box), repaintContainer);
|
H A D | RenderMarquee.cpp | 109 RenderBox* box = m_layer->renderBox(); local 110 ASSERT(box); 111 RenderStyle* s = box->style(); 114 int clientWidth = box->clientWidth(); 115 int contentWidth = ltr ? box->rightmostPosition(true, false) : box->leftmostPosition(true, false); 117 contentWidth += (box->paddingRight() - box->borderLeft()); 119 contentWidth = box->width() - contentWidth; 120 contentWidth += (box [all...] |
H A D | RenderSVGInlineText.cpp | 128 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) 129 rect.unite(box->selectionRect(0, 0, startPos, endPos)); 136 InlineTextBox* box = new (renderArena()) SVGInlineTextBox(this); local 137 box->setHasVirtualHeight(); 138 return box; 164 // closest SVGInlineTextBox to the point, and *then* ask only that inline box 166 // through all boxes in order, so when you click "near" a box, yo [all...] |
H A D | InlineBox.cpp | 157 RenderBox* box = toRenderBox(m_renderer); local 158 box->move(dx, dy); 243 for (InlineBox* box = nextOnLine(); box && !leaf; box = box->nextOnLine()) 244 leaf = box->isLeaf() ? box : static_cast<InlineFlowBox*>(box)->firstLeafChild(); 253 for (InlineBox* box [all...] |
H A D | RenderLineBoxList.cpp | 50 void RenderLineBoxList::appendLineBox(InlineFlowBox* box) argument 55 m_firstLineBox = m_lastLineBox = box; 57 m_lastLineBox->setNextLineBox(box); 58 box->setPreviousLineBox(m_lastLineBox); 59 m_lastLineBox = box; 77 void RenderLineBoxList::extractLineBox(InlineFlowBox* box) argument 81 m_lastLineBox = box->prevFlowBox(); 82 if (box == m_firstLineBox) 84 if (box->prevLineBox()) 85 box 93 attachLineBox(InlineFlowBox* box) argument 112 removeLineBox(InlineFlowBox* box) argument 269 RootInlineBox* box = 0; local [all...] |
H A D | RenderReplaced.cpp | 231 InlineBox* box = inlineBoxWrapper(); local 232 if (!box) 237 RootInlineBox* root = box->root();
|
H A D | RenderSVGText.cpp | 91 RootInlineBox* box = new (renderArena()) SVGRootInlineBox(this); local 92 box->setHasVirtualHeight(); 93 return box; 129 for (InlineBox* box = flowBox->firstChild(); box; box = box->nextOnLine()) { 130 FloatRect boxRect(box->x(), box->y(), box [all...] |
H A D | RenderTreeAsText.cpp | 203 // FIXME: Would be better to dump the bounding box x and y rather than the first run's x and y, but that would involve updating 216 // FIXME: Deliberately dump the "inner" box of table cells, since that is what current results reflect. We'd like 217 // to clean up the results to dump both the outer box and the intrinsic padding so that both bits of information are 259 const RenderBoxModelObject& box = *toRenderBoxModelObject(&o); local 260 if (box.borderTop() || box.borderRight() || box.borderBottom() || box.borderLeft()) { 266 if (!box.borderTop()) 269 ts << " (" << box [all...] |
H A D | SVGRenderTreeAsText.cpp | 332 SVGRootInlineBox* box = static_cast<SVGRootInlineBox*>(text.firstRootBox()); local 334 if (!box) 337 Vector<SVGTextChunk>& chunks = const_cast<Vector<SVGTextChunk>& >(box->svgTextChunks()); 338 ts << " at (" << text.x() << "," << text.y() << ") size " << box->width() << "x" << box->height() << " contains " << chunks.size() << " chunk(s)"; 344 static inline bool containsInlineTextBox(SVGTextChunk& chunk, SVGInlineTextBox* box) argument 353 if (box == static_cast<SVGInlineTextBox*>(range.box)) { 378 // Write inline box character ranges 415 if (textBox != static_cast<SVGInlineTextBox*>(range.box)) { [all...] |
/external/qemu/android/skin/ |
H A D | rect.c | 194 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 D | file.c | 301 SkinBox box; local 327 skin_box_minmax_init( &box ); 330 skin_box_minmax_update( &box, &part->background->rect ); 333 skin_box_minmax_update( &box, &part->display->rect ); 336 skin_box_minmax_update( &box, &button->rect ); 339 if ( !skin_box_minmax_to_rect( &box, &part->rect ) ) { 352 SkinBox box; local 378 skin_box_minmax_init( &box ); 381 skin_box_minmax_update( &box, &part->background->rect ); 384 skin_box_minmax_update( &box, [all...] |
/external/webkit/WebCore/svg/ |
H A D | SVGLength.cpp | 303 RenderBox* box = toRenderBox(renderer); local 304 width = box->width(); 305 height = box->height();
|
/external/skia/src/views/ |
H A D | SkTextBox.cpp | 114 void SkTextBox::getBox(SkRect* box) const 116 if (box) 117 *box = fBox; 120 void SkTextBox::setBox(const SkRect& box) argument 122 fBox = box;
|
H A D | SkWidgets.cpp | 291 SkTextBox box; local 292 box.setMode(SkTextBox::kOneLine_Mode); 293 box.setSpacingAlign(SkTextBox::kCenter_SpacingAlign); 294 box.setBox(0, 0, this->width(), this->height()); 301 box.draw(canvas, label.c_str(), label.size(), p); 450 SkTextBox box; 452 box.setMode(fMode == kAutoWidth_Mode ? SkTextBox::kOneLine_Mode : SkTextBox::kLineBreak_Mode); 453 box.setSpacingAlign(this->getSpacingAlign()); 454 box.setBox(fMargin.fX, fMargin.fY, this->width() - fMargin.fX, this->height() - fMargin.fY); 455 box [all...] |
/external/webkit/WebCore/page/ |
H A D | PrintContext.cpp | 170 RenderBoxModelObject* box = enclosingBoxModelObject(element->renderer()); local 171 if (!box) 180 int top = box->offsetTop(); 181 int left = box->offsetLeft();
|
/external/webkit/WebCore/editing/ |
H A D | VisiblePosition.cpp | 122 InlineBox* box; local 124 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); 125 if (!box) 128 RenderObject* renderer = box->renderer(); 131 if ((renderer->isReplaced() || renderer->isBR()) && offset == box->caretRightmostOffset()) 132 return box->direction() == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyDistinctCandidate(m_deepPosition); 134 offset = box->direction() == LTR ? renderer->previousOffset(offset) : renderer->nextOffset(offset); 136 int caretMinOffset = box->caretMinOffset(); 137 int caretMaxOffset = box->caretMaxOffset(); 142 if (box 264 InlineBox* box; local [all...] |
/external/webkit/WebCore/platform/graphics/cg/ |
H A D | PathCG.cpp | 183 CGRect box = CGContextIsPathEmpty(context) ? CGRectZero : CGContextGetPathBoundingBox(context); local 186 return box;
|
/external/webkit/WebCore/accessibility/ |
H A D | AccessibilityObject.cpp | 226 InlineBox* box; local 228 p.getInlineBoxAndOffset(tempPosition.affinity(), box, ignoredCaretOffset); 229 if (box)
|
/external/webkit/WebCore/css/ |
H A D | CSSComputedStyleDeclaration.cpp | 406 RenderBox* box = toRenderBox(renderer); 407 return box->style()->boxSizing() == CONTENT_BOX ? box->contentBoxRect() : box->borderBoxRect(); 420 IntRect box = sizingBox(renderer); 423 style->applyTransform(transform, box.size(), RenderStyle::ExcludeTransformOrigin); 716 EFillBox box = (propertyID == CSSPropertyWebkitBackgroundClip || propertyID == CSSPropertyBackgroundClip) ? style->backgroundClip() : style->backgroundOrigin(); local 717 return CSSPrimitiveValue::create(box); 988 EFillBox box = (propertyID == CSSPropertyWebkitMaskClip ? style->maskClip() : style->maskOrigin()); local 989 return CSSPrimitiveValue::create(box); 1309 IntRect box = sizingBox(renderer); local 1350 IntRect box = sizingBox(renderer); local [all...] |
/external/webkit/WebCore/dom/ |
H A D | ContainerNode.cpp | 697 RenderBox* box = toRenderBox(o); local 698 point.move(box->x(), box->y()); 721 RenderBox* box = toRenderBox(o); local 723 point.move(box->width(), box->height()); 751 RenderBox* box = toRenderBox(o); local 752 point.move(box->x() + box->width(), box [all...] |
H A D | Position.cpp | 355 for (InlineTextBox *box = textRenderer->firstTextBox(); box; box = box->nextTextBox()) { 356 int start = box->start(); 357 int end = box->start() + box->len(); 364 result += box->len(); 546 for (InlineTextBox* box = textRenderer->firstTextBox(); box; bo 1029 InlineTextBox* box; local [all...] |