/external/webkit/Source/WebCore/inspector/ |
D | DOMNodeHighlighter.cpp | 244 RenderBox* renderBox = toRenderBox(renderer); in DrawNodeHighlight() local 247 IntRect contentBox = renderBox->contentBoxRect(); in DrawNodeHighlight() 248 contentBox.setWidth(contentBox.width() + renderBox->verticalScrollbarWidth()); in DrawNodeHighlight() 249 contentBox.setHeight(contentBox.height() + renderBox->horizontalScrollbarHeight()); in DrawNodeHighlight() 251 …IntRect paddingBox(contentBox.x() - renderBox->paddingLeft(), contentBox.y() - renderBox->paddingT… in DrawNodeHighlight() 252 …contentBox.width() + renderBox->paddingLeft() + renderBox->paddingRight(), contentBox.height() + r… in DrawNodeHighlight() 253 …IntRect borderBox(paddingBox.x() - renderBox->borderLeft(), paddingBox.y() - renderBox->borderTop(… in DrawNodeHighlight() 254 …paddingBox.width() + renderBox->borderLeft() + renderBox->borderRight(), paddingBox.height() + ren… in DrawNodeHighlight() 255 … IntRect marginBox(borderBox.x() - renderBox->marginLeft(), borderBox.y() - renderBox->marginTop(), in DrawNodeHighlight() 256 …borderBox.width() + renderBox->marginLeft() + renderBox->marginRight(), borderBox.height() + rende… in DrawNodeHighlight() [all …]
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderVideo.cpp | 164 IntRect renderBox = contentRect; in videoBox() local 165 int ratio = renderBox.width() * elementSize.height() - renderBox.height() * elementSize.width(); in videoBox() 167 int newWidth = renderBox.height() * elementSize.width() / elementSize.height(); in videoBox() 169 if (renderBox.width() - newWidth > 2) in videoBox() 170 renderBox.setWidth(newWidth); in videoBox() 171 renderBox.move((contentRect.width() - renderBox.width()) / 2, 0); in videoBox() 173 int newHeight = renderBox.width() * elementSize.height() / elementSize.width(); in videoBox() 174 if (renderBox.height() - newHeight > 2) in videoBox() 175 renderBox.setHeight(newHeight); in videoBox() 176 renderBox.move(0, (contentRect.height() - renderBox.height()) / 2); in videoBox() [all …]
|
D | RenderTextControlSingleLine.cpp | 264 RenderBox* innerTextRenderer = innerTextElement()->renderBox(); in layout() 265 RenderBox* innerBlockRenderer = m_innerBlock ? m_innerBlock->renderBox() : 0; in layout() 301 if (RenderBox* spinBox = m_innerSpinButton ? m_innerSpinButton->renderBox() : 0) { in layout() 307 if (RenderBox* button = m_speechButton ? m_speechButton->renderBox() : 0) { in layout() 324 if (RenderBox* spinBox = m_outerSpinButton ? m_outerSpinButton->renderBox() : 0) { in layout() 366 RenderBox* innerBlockRenderer = m_innerBlock->renderBox(); in nodeAtPoint() 367 RenderBox* innerTextRenderer = innerTextElement()->renderBox(); in nodeAtPoint() 384 localPoint.move(-innerNode->renderBox()->x(), -innerNode->renderBox()->y()); in nodeAtPoint() 393 RenderBox* innerTextRenderer = innerTextElement()->renderBox(); in forwardEvent() 411 if (RenderBox* speechBox = m_speechButton ? m_speechButton->renderBox() : 0) { in forwardEvent() [all …]
|
D | RenderTextControl.cpp | 160 …n width() - borderAndPaddingWidth() - m_innerText->renderBox()->paddingLeft() - m_innerText->rende… in textBlockWidth() 231 …ity() == HIDDEN || !m_innerText || !m_innerText->renderer() || !m_innerText->renderBox()->height(); in hasVisibleTextArea() 464 setHeight(m_innerText->renderBox()->borderTop() + m_innerText->renderBox()->borderBottom() + in computeLogicalHeight() 465 m_innerText->renderBox()->paddingTop() + m_innerText->renderBox()->paddingBottom() + in computeLogicalHeight() 466 m_innerText->renderBox()->marginTop() + m_innerText->renderBox()->marginBottom()); in computeLogicalHeight() 468 …adjustControlHeightBasedOnLineHeight(m_innerText->renderBox()->lineHeight(true, HorizontalLine, Po… in computeLogicalHeight() 482 result.setLocalPoint(IntPoint(xPos - tx - x() - m_innerText->renderBox()->x(), in hitInnerTextElement() 483 yPos - ty - y() - m_innerText->renderBox()->y())); in hitInnerTextElement() 577 …ntentWidth(getAvgCharWidth(family)) + m_innerText->renderBox()->paddingLeft() + m_innerText->rende… in computePreferredLogicalWidths() 652 RenderBox* textRenderer = innerTextElement() ? innerTextElement()->renderBox() : 0; in paintPlaceholder()
|
D | RenderTextControlMultiLine.cpp | 138 if (RenderBox* innerTextRenderer = innerText->renderBox()) in textBlockInsetLeft() 148 if (RenderBox* innerTextRenderer = innerText->renderBox()) in textBlockInsetRight() 158 if (RenderBox* innerTextRenderer = innerText->renderBox()) in textBlockInsetTop()
|
D | RenderFileUploadControl.cpp | 192 return max(0, contentWidth() - m_button->renderBox()->width() - afterButtonSpacing in maxFilenameWidth() 236 int buttonAndIconWidth = m_button->renderBox()->width() + afterButtonSpacing in paintObject() 259 iconX = contentLeft + m_button->renderBox()->width() + afterButtonSpacing; in paintObject() 261 …iconX = contentLeft + contentWidth() - m_button->renderBox()->width() - afterButtonSpacing - iconW… in paintObject()
|
D | RenderTreeAsText.cpp | 620 if (l.renderBox() && l.renderBox()->clientWidth() != l.scrollWidth()) in write() 622 if (l.renderBox() && l.renderBox()->clientHeight() != l.scrollHeight()) in write() 652 …paintDirtyRect.setWidth(max(paintDirtyRect.width(), rootLayer->renderBox()->maxXLayoutOverflow())); in writeLayers() 653 …paintDirtyRect.setHeight(max(paintDirtyRect.height(), rootLayer->renderBox()->maxYLayoutOverflow()… in writeLayers() 654 l->setWidth(max(l->width(), l->renderBox()->maxXLayoutOverflow())); in writeLayers() 655 l->setHeight(max(l->height(), l->renderBox()->maxYLayoutOverflow())); in writeLayers()
|
D | RenderMarquee.cpp | 113 RenderBox* box = m_layer->renderBox(); in computePosition() 295 …int clientSize = (isHorizontal() ? m_layer->renderBox()->clientWidth() : m_layer->renderBox()->cli… in timerFired()
|
D | RenderLayer.cpp | 445 RenderBox* box = renderBox(); in updateTransform() 465 …style->applyTransform(currTransform, renderBox()->borderBoxRect().size(), RenderStyle::IncludeTran… in currentTransform() 526 m_isPaginated = checkContainingBlockChainForPagination(renderer(), curr->renderBox()); in updatePagination() 686 } else if (RenderBox* box = renderBox()) { in updateLayerPosition() 947 clipRect.unite(l->renderBox()->reflectedRect(clipRect)); in expandClipRectForDescendantsAndReflection() 1337 RenderBox* box = renderBox(); in scrollTo() 1479 RenderBox* box = renderBox(); in scrollTo() 1503 …} else if (!parentLayer && renderer()->isBox() && renderBox()->canBeProgramaticallyScrolled(scroll… in scrollTo() 1761 return cornerRect(this, renderBox()->borderBoxRect()); in scrollTo() 1775 RenderBox* box = renderBox(); in scrollTo() [all …]
|
D | RenderBlockLineLayout.cpp | 502 RenderBox* renderBox = toRenderBox(r->m_object); in computeInlineDirectionPositionsForLine() local 503 if (renderBox->isRubyRun()) { in computeInlineDirectionPositionsForLine() 513 …toRenderRubyRun(renderBox)->getOverhang(firstLine, renderBox->style()->isLeftToRightDirection() ? … in computeInlineDirectionPositionsForLine() 514 setMarginStartForChild(renderBox, -startOverhang); in computeInlineDirectionPositionsForLine() 515 setMarginEndForChild(renderBox, -endOverhang); in computeInlineDirectionPositionsForLine() 517 r->m_box->setLogicalWidth(logicalWidthForChild(renderBox)); in computeInlineDirectionPositionsForLine() 518 totalLogicalWidth += marginStartForChild(renderBox) + marginEndForChild(renderBox); in computeInlineDirectionPositionsForLine()
|
D | HitTestResult.cpp | 295 return m_innerNonSharedNode->renderBox()->absoluteContentQuad().enclosingBoundingBox(); in imageRect()
|
/external/webkit/Source/WebCore/html/shadow/ |
D | SliderThumbElement.cpp | 127 trackSize = input->renderBox()->contentHeight() - renderBox()->height(); in setPositionFromPoint() 128 position = offset.y() - renderBox()->height() / 2; in setPositionFromPoint() 129 currentPosition = renderBox()->y() - input->renderBox()->contentBoxRect().y(); in setPositionFromPoint() 131 trackSize = input->renderBox()->contentWidth() - renderBox()->width(); in setPositionFromPoint() 132 position = offset.x() - renderBox()->width() / 2; in setPositionFromPoint() 133 currentPosition = renderBox()->x() - input->renderBox()->contentBoxRect().x(); in setPositionFromPoint()
|
D | TextControlInnerElements.cpp | 261 RenderBox* box = renderBox(); in defaultEventHandler()
|
/external/webkit/Source/WebCore/page/ |
D | SpatialNavigation.cpp | 377 if (!container->renderBox()) in scrollInDirection() 385 dx = - min(Scrollbar::pixelsPerLineStep(), container->renderBox()->scrollLeft()); in scrollInDirection() 388 …ASSERT(container->renderBox()->scrollWidth() > (container->renderBox()->scrollLeft() + container->… in scrollInDirection() 389 …pixelsPerLineStep(), container->renderBox()->scrollWidth() - (container->renderBox()->scrollLeft()… in scrollInDirection() 392 dy = - min(Scrollbar::pixelsPerLineStep(), container->renderBox()->scrollTop()); in scrollInDirection() 395 …ASSERT(container->renderBox()->scrollHeight() - (container->renderBox()->scrollTop() + container->… in scrollInDirection() 396 …pixelsPerLineStep(), container->renderBox()->scrollHeight() - (container->renderBox()->scrollTop()… in scrollInDirection() 403 container->renderBox()->enclosingLayer()->scrollByRecursively(dx, dy); in scrollInDirection() 463 …return (container->renderer()->style()->overflowX() != OHIDDEN && container->renderBox()->scrollLe… in canScrollInDirection() 465 …return (container->renderer()->style()->overflowY() != OHIDDEN && container->renderBox()->scrollTo… in canScrollInDirection() [all …]
|
D | FrameView.cpp | 443 return RenderScrollbar::createCustomScrollbar(this, orientation, docElement->renderBox()); in createScrollbar() 939 …nderBox* rootRenderer = document->documentElement() ? document->documentElement()->renderBox() : 0; in layout() 940 … RenderBox* bodyRenderer = rootRenderer && document->body() ? document->body()->renderBox() : 0; in layout() 1190 RenderBox* renderBox = *it; in updatePositionedObjects() local 1191 if (renderBox->style()->position() != FixedPosition) in updatePositionedObjects() 1194 renderBox->computeLogicalWidth(); in updatePositionedObjects() 1195 renderBox->computeLogicalHeight(); in updatePositionedObjects() 1280 RenderBox* renderBox = *it; in scrollContentsFastPath() local 1281 if (renderBox->style()->position() != FixedPosition) in scrollContentsFastPath() 1283 IntRect updateRect = renderBox->layer()->repaintRectIncludingDescendants(); in scrollContentsFastPath() [all …]
|
/external/webkit/Source/WebCore/editing/ |
D | DeleteButtonController.cpp | 213 …style->setProperty(CSSPropertyTop, String::number(-borderWidth - m_target->renderBox()->borderTop(… in createDeletionUI() 214 …style->setProperty(CSSPropertyRight, String::number(-borderWidth - m_target->renderBox()->borderRi… in createDeletionUI() 215 …style->setProperty(CSSPropertyBottom, String::number(-borderWidth - m_target->renderBox()->borderB… in createDeletionUI() 216 …style->setProperty(CSSPropertyLeft, String::number(-borderWidth - m_target->renderBox()->borderLef… in createDeletionUI() 237 …style->setProperty(CSSPropertyTop, String::number((-buttonHeight / 2) - m_target->renderBox()->bor… in createDeletionUI() 238 …style->setProperty(CSSPropertyLeft, String::number((-buttonWidth / 2) - m_target->renderBox()->bor… in createDeletionUI()
|
/external/webkit/Source/WebCore/html/ |
D | HTMLFrameElementBase.cpp | 244 if (!renderBox()) in width() 246 return renderBox()->width(); in width() 252 if (!renderBox()) in height() 254 return renderBox()->height(); in height()
|
D | HTMLImageElement.cpp | 279 RenderBox* box = renderBox(); in width() 302 RenderBox* box = renderBox(); in height()
|
D | HTMLCanvasElement.cpp | 221 if (RenderBox* ro = renderBox()) { in didDraw()
|
/external/webkit/Source/WebCore/dom/ |
D | CanvasSurface.cpp | 181 RenderBox* CanvasSurface::renderBox() const in renderBox() function in WebCore::CanvasSurface 183 return static_cast<const HTMLCanvasElement*>(this)->renderBox(); in renderBox()
|
D | Element.cpp | 403 if (RenderBox* rend = renderBox()) in clientLeft() 412 if (RenderBox* rend = renderBox()) in clientTop() 432 if (RenderBox* rend = renderBox()) in clientWidth() 453 if (RenderBox* rend = renderBox()) in clientHeight() 461 if (RenderBox* rend = renderBox()) in scrollLeft() 469 if (RenderBox* rend = renderBox()) in scrollTop() 477 if (RenderBox* rend = renderBox()) in setScrollLeft() 484 if (RenderBox* rend = renderBox()) in setScrollTop() 491 if (RenderBox* rend = renderBox()) in scrollWidth() 499 if (RenderBox* rend = renderBox()) in scrollHeight()
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
D | CanvasLayer.cpp | 173 return m_canvas->renderBox()->contentBoxRect(); in visibleContentRect() 178 return m_canvas->renderBox()->layer()->backing()->graphicsLayer()->offsetFromRenderer(); in offsetFromRenderer()
|
/external/webkit/Source/WebCore/html/canvas/ |
D | CanvasRenderingContext2D.cpp | 183 RenderBox* renderBox = canvas()->renderBox(); in reset() local 184 … if (renderBox && renderBox->hasLayer() && renderBox->layer()->hasAcceleratedCompositing()) in reset() 185 renderBox->layer()->contentChanged(RenderLayer::CanvasChanged); in reset() 1586 RenderBox* renderBox = canvas()->renderBox(); in didDraw() local 1587 …if (isAccelerated() && renderBox && renderBox->hasLayer() && renderBox->layer()->hasAcceleratedCom… in didDraw() 1588 renderBox->layer()->contentChanged(RenderLayer::CanvasChanged); in didDraw()
|
D | WebGLRenderingContext.cpp | 487 RenderBox* renderBox = canvas()->renderBox(); in markContextChanged() local 488 if (renderBox && renderBox->hasLayer() && renderBox->layer()->hasAcceleratedCompositing()) in markContextChanged() 489 renderBox->layer()->contentChanged(RenderLayer::CanvasChanged); in markContextChanged() 584 RenderBox* renderBox = canvas()->renderBox(); in reshape() local 585 if (renderBox && renderBox->hasLayer()) in reshape() 586 renderBox->layer()->contentChanged(RenderLayer::CanvasChanged); in reshape()
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
D | GraphicsLayerAndroid.cpp | 346 RenderBox* box = layer->renderBox(); in setSize() 675 RenderBox* box = renderLayer->renderBox(); in setScrollLimits() 701 RenderBox* box = layer->renderBox(); in repaint()
|