/external/webkit/WebCore/rendering/ |
D | RenderText.cpp | 136 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) in destroy() local 137 box->remove(); in destroy() 145 void RenderText::extractTextBox(InlineTextBox* box) in extractTextBox() argument 149 m_lastTextBox = box->prevTextBox(); in extractTextBox() 150 if (box == m_firstTextBox) in extractTextBox() 152 if (box->prevTextBox()) in extractTextBox() 153 box->prevTextBox()->setNextLineBox(0); in extractTextBox() 154 box->setPreviousLineBox(0); in extractTextBox() 155 for (InlineRunBox* curr = box; curr; curr = curr->nextLineBox()) in extractTextBox() 161 void RenderText::attachTextBox(InlineTextBox* box) in attachTextBox() argument [all …]
|
D | RenderLineBoxList.cpp | 50 void RenderLineBoxList::appendLineBox(InlineFlowBox* box) in appendLineBox() argument 55 m_firstLineBox = m_lastLineBox = box; in appendLineBox() 57 m_lastLineBox->setNextLineBox(box); in appendLineBox() 58 box->setPreviousLineBox(m_lastLineBox); in appendLineBox() 59 m_lastLineBox = box; in appendLineBox() 77 void RenderLineBoxList::extractLineBox(InlineFlowBox* box) in extractLineBox() argument 81 m_lastLineBox = box->prevFlowBox(); in extractLineBox() 82 if (box == m_firstLineBox) in extractLineBox() 84 if (box->prevLineBox()) in extractLineBox() 85 box->prevLineBox()->setNextLineBox(0); in extractLineBox() [all …]
|
D | RenderSVGText.cpp | 91 RootInlineBox* box = new (renderArena()) SVGRootInlineBox(this); in createRootInlineBox() local 92 box->setHasVirtualHeight(); in createRootInlineBox() 93 return box; in createRootInlineBox() 129 for (InlineBox* box = flowBox->firstChild(); box; box = box->nextOnLine()) { in absoluteRects() local 130 FloatRect boxRect(box->x(), box->y(), box->width(), box->height()); in absoluteRects() 150 for (InlineBox* box = flowBox->firstChild(); box; box = box->nextOnLine()) { in absoluteQuads() local 151 FloatRect boxRect(box->x(), box->y(), box->width(), box->height()); in absoluteQuads() 176 for (InlineBox* box = flowBox->firstChild(); box; box = box->nextOnLine()) in objectBoundingBox() local 177 boundingBox.unite(FloatRect(box->x(), box->y(), box->width(), box->height())); in objectBoundingBox()
|
D | RootInlineBox.cpp | 51 EllipsisBox* box = gEllipsisBoxMap->take(this); in detachEllipsisBox() local 52 box->setParent(0); in detachEllipsisBox() 53 box->destroy(arena); in detachEllipsisBox() 194 void RootInlineBox::childRemoved(InlineBox* box) in childRemoved() argument 196 if (box->renderer() == m_lineBreakObj) in childRemoved() 199 …for (RootInlineBox* prev = prevRootBox(); prev && prev->lineBreakObj() == box->renderer(); prev = … in childRemoved() 268 for (InlineBox* box = firstBox->nextLeafChild(); box; box = box->nextLeafChild()) { in fillLineSelectionGap() local 269 if (box->selectionState() != RenderObject::SelectionNone) { in fillLineSelectionGap() 271 … result.uniteCenter(block()->fillHorizontalSelectionGap(box->parent()->renderer(), in fillLineSelectionGap() 273 … box->x() - lastX, selHeight, paintInfo)); in fillLineSelectionGap() [all …]
|
D | RenderSVGInlineText.cpp | 128 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) in computeRepaintQuadForRange() local 129 rect.unite(box->selectionRect(0, 0, startPos, endPos)); in computeRepaintQuadForRange() 136 InlineTextBox* box = new (renderArena()) SVGInlineTextBox(this); in createTextBox() local 137 box->setHasVirtualHeight(); in createTextBox() 138 return box; in createTextBox() 169 …for (SVGInlineTextBox* box = textBox; box; box = static_cast<SVGInlineTextBox*>(box->nextTextBox()… in positionForPoint() local 170 …if (box->svgCharacterHitsPosition(point.x() + object->x(), point.y() + object->y(), closestOffsetI… in positionForPoint() 172 if (box->direction() == LTR) { in positionForPoint() 173 if (closestOffsetInBox <= (int) box->end() + 1) in positionForPoint() 176 if (closestOffsetInBox > (int) box->start()) in positionForPoint()
|
D | SVGCharacterLayoutInfo.h | 244 , box(0) in SVGInlineBoxCharacterRange() 254 InlineBox* box; member 319 typedef void (CallbackClass::*SVGTextChunkStartCallback)(InlineBox* box); 320 typedef void (CallbackClass::*SVGTextChunkEndCallback)(InlineBox* box); 322 typedef bool (CallbackClass::*SVGTextChunkSetupBackgroundCallback)(InlineBox* box); 323 typedef bool (CallbackClass::*SVGTextChunkSetupFillCallback)(InlineBox* box); 324 typedef bool (CallbackClass::*SVGTextChunkSetupStrokeCallback)(InlineBox* box); 325 typedef bool (CallbackClass::*SVGTextChunkSetupForegroundCallback)(InlineBox* box); 359 virtual void start(InlineBox* box) in start() 362 (*m_object.*m_startCallback)(box); in start() [all …]
|
D | RenderListItem.cpp | 276 … for (InlineFlowBox* box = m_marker->inlineBoxWrapper()->parent(); box; box = box->parent()) { in positionListMarker() local 277 if (markerXPos < box->leftLayoutOverflow()) { in positionListMarker() 278 …box->setHorizontalOverflowPositions(markerXPos, box->rightLayoutOverflow(), box->leftVisualOverflo… in positionListMarker() 279 if (box == root) in positionListMarker() 287 … for (InlineFlowBox* box = m_marker->inlineBoxWrapper()->parent(); box; box = box->parent()) { in positionListMarker() local 288 if (markerXPos + m_marker->width() > box->rightLayoutOverflow()) { in positionListMarker() 289 …box->setHorizontalOverflowPositions(box->leftLayoutOverflow(), markerXPos + m_marker->width(), box… in positionListMarker() 290 if (box == root) in positionListMarker()
|
D | InlineBox.cpp | 157 RenderBox* box = toRenderBox(m_renderer); in adjustPosition() local 158 box->move(dx, dy); in adjustPosition() 243 for (InlineBox* box = nextOnLine(); box && !leaf; box = box->nextOnLine()) in nextLeafChild() local 244 leaf = box->isLeaf() ? box : static_cast<InlineFlowBox*>(box)->firstLeafChild(); in nextLeafChild() 253 for (InlineBox* box = prevOnLine(); box && !leaf; box = box->prevOnLine()) in prevLeafChild() local 254 leaf = box->isLeaf() ? box : static_cast<InlineFlowBox*>(box)->lastLeafChild(); in prevLeafChild()
|
D | RenderMarquee.cpp | 109 RenderBox* box = m_layer->renderBox(); in computePosition() local 110 ASSERT(box); in computePosition() 111 RenderStyle* s = box->style(); in computePosition() 114 int clientWidth = box->clientWidth(); in computePosition() 115 … int contentWidth = ltr ? box->rightmostPosition(true, false) : box->leftmostPosition(true, false); in computePosition() 117 contentWidth += (box->paddingRight() - box->borderLeft()); in computePosition() 119 contentWidth = box->width() - contentWidth; in computePosition() 120 contentWidth += (box->paddingLeft() - box->borderRight()); in computePosition() 136 int contentHeight = box->lowestPosition(true, false) - in computePosition() 137 box->borderTop() + box->paddingBottom(); in computePosition() [all …]
|
D | RenderLayer.cpp | 351 RenderBox* box = renderBox(); in updateTransform() local 352 ASSERT(box); in updateTransform() 354 …box->style()->applyTransform(*m_transform, box->borderBoxRect().size(), RenderStyle::IncludeTransf… in updateTransform() 593 } else if (RenderBox* box = renderBox()) { in updateLayerPosition() local 594 setWidth(box->width()); in updateLayerPosition() 595 setHeight(box->height()); in updateLayerPosition() 597 if (!box->hasOverflowClip()) { in updateLayerPosition() 598 if (box->rightLayoutOverflow() > box->width()) in updateLayerPosition() 599 setWidth(box->rightLayoutOverflow()); in updateLayerPosition() 600 if (box->bottomLayoutOverflow() > box->height()) in updateLayerPosition() [all …]
|
D | InlineFlowBox.cpp | 327 RenderBox* box = toRenderBox(curr->renderer()); in placeBoxesHorizontally() local 328 int childLeftOverflow = box->hasOverflowClip() ? 0 : box->leftLayoutOverflow(); in placeBoxesHorizontally() 329 … int childRightOverflow = box->hasOverflowClip() ? curr->width() : box->rightLayoutOverflow(); in placeBoxesHorizontally() 334 leftVisualOverflow = min(xPos + box->leftVisualOverflow(), leftVisualOverflow); in placeBoxesHorizontally() 335 rightVisualOverflow = max(xPos + box->rightVisualOverflow(), rightVisualOverflow); in placeBoxesHorizontally() 504 RenderBox* box = toRenderBox(curr->renderer()); in placeBoxesVertically() local 505 newY += box->marginTop(); in placeBoxesVertically() 585 RenderBox* box = toRenderBox(curr->renderer()); in computeVerticalOverflow() local 587 int childTopOverflow = box->hasOverflowClip() ? 0 : box->topLayoutOverflow(); in computeVerticalOverflow() 588 … int childBottomOverflow = box->hasOverflowClip() ? curr->height() : box->bottomLayoutOverflow(); in computeVerticalOverflow() [all …]
|
D | SVGRootInlineBox.cpp | 366 bool mayHaveSelection(InlineBox* box) const in mayHaveSelection() 369 box->renderer()->selectionStartEnd(selectionStart, selectionEnd); in mayHaveSelection() 395 void chunkStartCallback(InlineBox* box) in chunkStartCallback() 400 InlineFlowBox* flowBox = box->parent(); in chunkStartCallback() 414 void chunkEndCallback(InlineBox* box) in chunkEndCallback() 419 InlineFlowBox* flowBox = box->parent(); in chunkEndCallback() 445 bool chunkSetupFillCallback(InlineBox* box) in chunkSetupFillCallback() 447 InlineFlowBox* flowBox = box->parent(); in chunkSetupFillCallback() 467 bool chunkSetupFillSelectionCallback(InlineBox* box) in chunkSetupFillSelectionCallback() 469 InlineFlowBox* flowBox = box->parent(); in chunkSetupFillSelectionCallback() [all …]
|
D | RenderTreeAsText.cpp | 259 const RenderBoxModelObject& box = *toRenderBoxModelObject(&o); in operator <<() local 260 if (box.borderTop() || box.borderRight() || box.borderBottom() || box.borderLeft()) { in operator <<() 266 if (!box.borderTop()) in operator <<() 269 ts << " (" << box.borderTop() << "px "; in operator <<() 280 if (!box.borderRight()) in operator <<() 283 ts << " (" << box.borderRight() << "px "; in operator <<() 293 prevBorder = box.style()->borderBottom(); in operator <<() 294 if (!box.borderBottom()) in operator <<() 297 ts << " (" << box.borderBottom() << "px "; in operator <<() 308 if (!box.borderLeft()) in operator <<() [all …]
|
/external/webkit/WebCore/editing/ |
D | VisiblePosition.cpp | 122 InlineBox* box; in leftVisuallyDistinctCandidate() local 124 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); in leftVisuallyDistinctCandidate() 125 if (!box) in leftVisuallyDistinctCandidate() 128 RenderObject* renderer = box->renderer(); in leftVisuallyDistinctCandidate() 131 … if ((renderer->isReplaced() || renderer->isBR()) && offset == box->caretRightmostOffset()) in leftVisuallyDistinctCandidate() 132 …return box->direction() == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyD… in leftVisuallyDistinctCandidate() 134 …offset = box->direction() == LTR ? renderer->previousOffset(offset) : renderer->nextOffset(offset); in leftVisuallyDistinctCandidate() 136 int caretMinOffset = box->caretMinOffset(); in leftVisuallyDistinctCandidate() 137 int caretMaxOffset = box->caretMaxOffset(); in leftVisuallyDistinctCandidate() 142 if (box->direction() == LTR ? offset < caretMinOffset : offset > caretMaxOffset) { in leftVisuallyDistinctCandidate() [all …]
|
/external/skia/src/svg/ |
D | SkSVGSVG.cpp | 52 SkRect box; in translate() local 53 box.fLeft = SkScalarDiv(viewBox[0], width); in translate() 54 box.fTop = SkScalarDiv(viewBox[1], height); in translate() 55 box.fRight = SkScalarDiv(viewBox[2], width); in translate() 56 box.fBottom = SkScalarDiv(viewBox[3], height); in translate() 57 if (box.fLeft == 0 && box.fTop == 0 && in translate() 58 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1) in translate() 61 if (box.fLeft != 0) { in translate() 63 x.appendScalar(box.fLeft); in translate() 66 if (box.fTop != 0) { in translate() [all …]
|
/external/webkit/WebCore/dom/ |
D | Position.cpp | 355 for (InlineTextBox *box = textRenderer->firstTextBox(); box; box = box->nextTextBox()) { in renderedOffset() local 356 int start = box->start(); in renderedOffset() 357 int end = box->start() + box->len(); in renderedOffset() 364 result += box->len(); in renderedOffset() 546 for (InlineTextBox* box = textRenderer->firstTextBox(); box; box = box->nextTextBox()) { in upstream() local 547 if (textOffset <= box->start() + box->len()) { in upstream() 548 if (textOffset > box->start()) in upstream() 553 if (box == lastTextBox || textOffset != box->start() + box->len() + 1) in upstream() 560 InlineBox* otherBox = box; in upstream() 569 otherBox = box; in upstream() [all …]
|
/external/qemu/android/skin/ |
D | rect.c | 194 skin_box_minmax_init( SkinBox* box ) in skin_box_minmax_init() argument 196 box->x1 = box->y1 = INT_MAX; in skin_box_minmax_init() 197 box->x2 = box->y2 = INT_MIN; in skin_box_minmax_init() 214 skin_box_minmax_to_rect( SkinBox* box, SkinRect* r ) in skin_box_minmax_to_rect() argument 216 if (box->x1 > box->x2) { in skin_box_minmax_to_rect() 220 skin_box_to_rect( box, r ); in skin_box_minmax_to_rect() 225 skin_box_from_rect( SkinBox* box, SkinRect* r ) in skin_box_from_rect() argument 227 box->x1 = r->pos.x; in skin_box_from_rect() 228 box->y1 = r->pos.y; in skin_box_from_rect() 229 box->x2 = r->size.w + box->x1; in skin_box_from_rect() [all …]
|
D | rect.h | 64 extern void skin_box_init( SkinBox* box, int x1, int y1, int x2, int y2 ); 65 extern void skin_box_minmax_init( SkinBox* box ); 66 extern void skin_box_minmax_update( SkinBox* box, SkinRect* rect ); 67 extern int skin_box_minmax_to_rect( SkinBox* box, SkinRect* rect ); 68 extern void skin_box_from_rect( SkinBox* box, SkinRect* rect ); 69 extern void skin_box_to_rect( SkinBox* box, SkinRect* rect );
|
/external/webkit/WebCore/css/ |
D | mediaControlsQuickTime.css | 43 -webkit-box-ordinal-group: 2; /* Before the fullscreen button */ 59 -webkit-box-orient: horizontal; 60 -webkit-box-align: center; 61 -webkit-box-pack: center; 62 -webkit-box-flex: 1; 69 display: -webkit-box; 70 -webkit-box-flex: 0; 71 -webkit-box-pack: center; 72 -webkit-box-align: center; 91 display: -webkit-box; [all …]
|
D | mediaControls.css | 33 display: -webkit-box; 34 -webkit-box-orient: horizontal; 35 -webkit-box-align: center; 52 display: -webkit-box; 59 display: -webkit-box; 66 display: -webkit-box; 67 -webkit-box-orient: horizontal; 68 -webkit-box-align: center; 69 -webkit-box-pack: end; 70 -webkit-box-flex: 1; [all …]
|
D | mediaControlsAndroid.css | 34 display: -webkit-box; 35 -webkit-box-orient: horizontal; 36 -webkit-box-align: center; 53 display: -webkit-box; 60 display: -webkit-box; 67 display: -webkit-box; 68 -webkit-box-orient: horizontal; 69 -webkit-box-align: center; 70 -webkit-box-pack: end; 71 -webkit-box-flex: 1; [all …]
|
/external/webkit/WebKitTools/iExploder/htdocs/ |
D | cssproperties.in | 22 -webkit-box-align 23 -webkit-box-direction 24 -webkit-box-flex 25 -webkit-box-flex-group 26 -webkit-box-lines 27 -webkit-box-ordinal-group 28 -webkit-box-orient 29 -webkit-box-pack 30 -webkit-box-reflect 31 -webkit-box-shadow [all …]
|
/external/skia/src/animator/ |
D | SkDrawTextBox.cpp | 80 SkTextBox box; in draw() local 81 box.setMode((SkTextBox::Mode) mode); in draw() 82 box.setSpacingAlign((SkTextBox::SpacingAlign) spacingAlign); in draw() 83 box.setBox(fRect); in draw() 84 box.setSpacing(fSpacingMul, fSpacingAdd); in draw() 86 box.draw(maker.fCanvas, fText.c_str(), fText.size(), *maker.fPaint); in draw()
|
/external/webkit/LayoutTests/fast/events/touch/script-tests/ |
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);
|
/external/webkit/WebCore/rendering/style/ |
D | RenderStyle.cpp | 74 , box(defaultStyle()->box) in RenderStyle() 105 box.init(); in RenderStyle() 137 , box(o.box) in RenderStyle() 172 box == o.box && in operator ==() 295 if (box->width != other->box->width || in diff() 296 box->min_width != other->box->min_width || in diff() 297 box->max_width != other->box->max_width || in diff() 298 box->height != other->box->height || in diff() 299 box->min_height != other->box->min_height || in diff() 300 box->max_height != other->box->max_height) in diff() [all …]
|