/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBlockFlow.h | 67 …LogicalWidthForLine(LayoutUnit position, bool shouldIndentText, LayoutUnit logicalHeight = 0) const 69 …orLine(position, shouldIndentText, logicalHeight) - logicalLeftOffsetForLine(position, shouldInden… 71 …lRightOffsetForLine(LayoutUnit position, bool shouldIndentText, LayoutUnit logicalHeight = 0) const 73 …gicalRightOffsetForLine(position, logicalRightOffsetForContent(), shouldIndentText, logicalHeight); 75 …alLeftOffsetForLine(LayoutUnit position, bool shouldIndentText, LayoutUnit logicalHeight = 0) const 77 …logicalLeftOffsetForLine(position, logicalLeftOffsetForContent(), shouldIndentText, logicalHeight); 79 … startOffsetForLine(LayoutUnit position, bool shouldIndentText, LayoutUnit logicalHeight = 0) const 81 …e()->isLeftToRightDirection() ? logicalLeftOffsetForLine(position, shouldIndentText, logicalHeight) 82 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight); 84 …it endOffsetForLine(LayoutUnit position, bool shouldIndentText, LayoutUnit logicalHeight = 0) const [all …]
|
D | RenderSearchField.cpp | 64 lineHeight = max(lineHeight, decorationRenderer->logicalHeight()); in computeControlLogicalHeight() 70 lineHeight = max(lineHeight, cancelRenderer->logicalHeight()); in computeControlLogicalHeight() 78 return logicalHeight(); in computeLogicalHeightLimit() 86 if (containerRenderer->logicalHeight() <= contentLogicalHeight()) in centerContainerIfNeeded() 91 LayoutUnit logicalHeightDiff = containerRenderer->logicalHeight() - contentLogicalHeight(); in centerContainerIfNeeded()
|
D | RenderTableSection.cpp | 51 row.logicalHeight = row.rowRenderer->style()->logicalHeight(); in setRowLogicalHeightToRowStyleLogicalHeight() 60 Length logicalHeight = cell->style()->logicalHeight(); in updateLogicalHeightForCell() local 61 if (logicalHeight.isPositive()) { in updateLogicalHeightForCell() 62 Length cRowLogicalHeight = row.logicalHeight; in updateLogicalHeightForCell() 63 switch (logicalHeight.type()) { in updateLogicalHeightForCell() 66 … || (cRowLogicalHeight.isPercent() && cRowLogicalHeight.percent() < logicalHeight.percent())) in updateLogicalHeightForCell() 67 row.logicalHeight = logicalHeight; in updateLogicalHeightForCell() 71 … || (cRowLogicalHeight.isFixed() && cRowLogicalHeight.value() < logicalHeight.value())) in updateLogicalHeightForCell() 72 row.logicalHeight = logicalHeight; in updateLogicalHeightForCell() 334 if (m_grid[row].logicalHeight.isPercent()) { in distributeExtraRowSpanHeightToPercentRows() [all …]
|
D | RenderTextControl.cpp | 100 return logicalHeight() - borderAndPaddingLogicalHeight(); in textBlockLogicalHeight() 128 void RenderTextControl::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, Logic… in computeLogicalHeight() argument 134 …logicalHeight = computeControlLogicalHeight(innerEditorBox->lineHeight(true, HorizontalLine, Posit… in computeLogicalHeight() 139 logicalHeight += scrollbarThickness(); in computeLogicalHeight() 143 updateIntrinsicContentLogicalHeight(logicalHeight); in computeLogicalHeight() 145 logicalHeight += borderAndPaddingHeight(); in computeLogicalHeight() 148 RenderBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues); in computeLogicalHeight()
|
D | RenderSliderContainer.cpp | 66 void RenderSliderContainer::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, L… in computeLogicalHeight() argument 91 logicalHeight = RenderSlider::defaultTrackLength; in computeLogicalHeight() 94 updateIntrinsicContentLogicalHeight(logicalHeight); in computeLogicalHeight() 96 RenderBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues); in computeLogicalHeight()
|
D | RenderTextControlSingleLine.cpp | 90 return containerElement() ? contentLogicalHeight() : logicalHeight(); in computeLogicalHeightLimit() 112 if (innerEditorRenderer && !innerEditorRenderer->style()->logicalHeight().isAuto()) { in layout() 119 if (viewPortRenderer && !viewPortRenderer->style()->logicalHeight().isAuto()) { in layout() 132 if (innerEditorRenderer && innerEditorRenderer->logicalHeight() > logicalHeightLimit) { in layout() 133 if (desiredLogicalHeight != innerEditorRenderer->logicalHeight()) in layout() 148 LayoutUnit containerLogicalHeight = containerRenderer->logicalHeight(); in layout() 152 } else if (containerRenderer->logicalHeight() < contentLogicalHeight()) { in layout() 165 … LayoutUnit logicalHeightDiff = innerEditorRenderer->logicalHeight() - contentLogicalHeight(); in layout()
|
D | RenderBlockFlow.cpp | 220 LayoutUnit oldLogicalHeight = logicalHeight(); in checkForPaginationLogicalHeightChange() 428 LayoutUnit previousHeight = logicalHeight(); in layoutBlockFlow() 444 … if (lowestFloatLogicalBottom() > (logicalHeight() - afterEdge) && createsBlockFormattingContext()) in layoutBlockFlow() 475 LayoutUnit oldHeight = logicalHeight(); in layoutBlockFlow() 479 LayoutUnit newHeight = logicalHeight(); in layoutBlockFlow() 665 setLogicalHeight(logicalHeight() + logicalHeightForChild(child)); in layoutBlockChild() 667 setLogicalHeight(logicalHeight() + marginAfterForChild(child)); in layoutBlockChild() 686 LayoutUnit newHeight = applyAfterBreak(child, logicalHeight(), marginInfo); in layoutBlockChild() 734 LayoutUnit childLogicalHeight = child->logicalHeight(); in adjustBlockChildForPagination() 779 setLogicalHeight(logicalHeight() + (result - oldTop)); in adjustBlockChildForPagination() [all …]
|
D | RenderTable.cpp | 347 …eight = computeIntrinsicLogicalContentHeightUsing(styleLogicalHeight, logicalHeight() - borderAndP… in convertStyleLogicalHeightToComputedHeight() 358 …ion(LayoutPoint(caption->marginStart(), collapsedMarginBeforeForChild(caption) + logicalHeight())); in layoutCaption() 363 LayoutUnit captionLogicalTop = collapsedMarginBeforeForChild(caption) + logicalHeight(); in layoutCaption() 373 …setLogicalHeight(logicalHeight() + caption->logicalHeight() + collapsedMarginBeforeForChild(captio… in layoutCaption() 443 …oldTableLogicalTop += m_captions[i]->logicalHeight() + m_captions[i]->marginBefore() + m_captions[… in layout() 475 if (logicalHeight() != oldTableLogicalTop) { in layout() 477 movedSectionLogicalTop = std::min(logicalHeight(), oldTableLogicalTop); in layout() 484 setLogicalHeight(logicalHeight() + borderAndPaddingBefore); in layout() 488 Length logicalHeightLength = style()->logicalHeight(); in layout() 512 setLogicalHeight(logicalHeight() + computedLogicalHeight); in layout() [all …]
|
D | RenderBox.cpp | 531 LayoutUnit RenderBox::constrainLogicalHeightByMinMax(LayoutUnit logicalHeight, LayoutUnit intrinsic… in constrainLogicalHeightByMinMax() argument 537 logicalHeight = std::min(logicalHeight, maxH); in constrainLogicalHeightByMinMax() 539 …return std::max(logicalHeight, computeLogicalHeightUsing(styleToUse->logicalMinHeight(), intrinsic… in constrainLogicalHeightByMinMax() 542 LayoutUnit RenderBox::constrainContentBoxLogicalHeightByMinMax(LayoutUnit logicalHeight, LayoutUnit… in constrainContentBoxLogicalHeightByMinMax() argument 548 logicalHeight = std::min(logicalHeight, maxH); in constrainContentBoxLogicalHeightByMinMax() 550 …return std::max(logicalHeight, computeContentLogicalHeight(styleToUse->logicalMinHeight(), intrins… in constrainContentBoxLogicalHeightByMinMax() 996 void RenderBox::setOverrideContainingBlockContentLogicalHeight(LayoutUnit logicalHeight) in setOverrideContainingBlockContentLogicalHeight() argument 1000 gOverrideContainingBlockLogicalHeightMap->set(this, logicalHeight); in setOverrideContainingBlockContentLogicalHeight() 1532 Length logicalHeightLength = containingBlockStyle->logicalHeight(); in perpendicularContainingBlockLogicalHeight() 2212 computeLogicalHeight(logicalHeight(), logicalTop(), computedValues); in updateLogicalHeight() [all …]
|
D | RenderFlowThread.cpp | 220 LayoutUnit logicalHeight = 0; in updateRegionsFlowThreadPortionRect() local 228 …lHeight = std::min<LayoutUnit>(RenderFlowThread::maxLogicalHeight() - logicalHeight, columnSet->lo… in updateRegionsFlowThreadPortionRect() 230 …ion() == LTR ? LayoutUnit() : logicalWidth() - columnSetLogicalWidth, logicalHeight, columnSetLogi… in updateRegionsFlowThreadPortionRect() 234 …etIntervalTree.add(MultiColumnSetIntervalTree::createInterval(logicalHeight, logicalHeight + colum… in updateRegionsFlowThreadPortionRect() 236 logicalHeight += columnSetLogicalHeight; in updateRegionsFlowThreadPortionRect()
|
D | InlineBox.h | 204 …zontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight(); } in width() 205 …isHorizontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight() : logicalWid… in height() 227 float logicalBottom() const { return logicalTop() + logicalHeight(); } in logicalBottom() 241 float logicalHeight() const; 243 … m_topLeft.y(), m_logicalWidth, logicalHeight()) : FloatRect(m_topLeft.y(), m_topLeft.x(), m_logic… in logicalFrameRect()
|
D | RenderMeter.cpp | 60 void RenderMeter::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExte… in computeLogicalHeight() argument 62 RenderBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues); in computeLogicalHeight()
|
D | RenderReplaced.cpp | 216 if (style()->logicalHeight().isAuto()) in hasReplacedLogicalHeight() 219 if (style()->logicalHeight().isSpecified()) { in hasReplacedLogicalHeight() 225 if (style()->logicalHeight().isIntrinsic()) in hasReplacedLogicalHeight() 279 …intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && style()->logicalHeight().isAuto()) { in computeAspectRatioInformationForRenderBox() 364 LayoutUnit logicalHeight = computeReplacedLogicalHeight(); in computeReplacedLogicalWidth() local 365 …urn computeReplacedLogicalWidthRespectingMinMaxWidth(roundToInt(round(logicalHeight * intrinsicRat… in computeReplacedLogicalWidth() 404 …edLogicalHeightRespectingMinMaxHeight(computeReplacedLogicalHeightUsing(style()->logicalHeight())); in computeReplacedLogicalHeight()
|
D | InlineFlowBox.cpp | 653 LayoutUnit boxHeight = curr->logicalHeight(); in placeBoxesInBlockDirection() 689 …ayoutUnit bottomRubyBaseLeading = (curr->logicalHeight() - rubyBase->logicalBottom()) + rubyBase->… in placeBoxesInBlockDirection() 766 setLogicalTop(lineBottom - (logicalTop() - lineTop) - logicalHeight()); in flipLinesInBlockDirection() 775 … curr->setLogicalTop(lineBottom - (curr->logicalTop() - lineTop) - curr->logicalHeight()); in flipLinesInBlockDirection() 1080 LayoutUnit& logicalHeight = isHorizontal() ? height : width; in nodeAtPoint() local 1081 LayoutUnit bottom = std::min(rootBox.lineBottom(), top + logicalHeight); in nodeAtPoint() 1083 logicalHeight = bottom - top; in nodeAtPoint() 1120 LayoutUnit logicalHeight = isHorizontal() ? rect.height() : rect.width(); in constrainToLineTopAndBottomIfNeeded() local 1121 LayoutUnit bottom = std::min(rootBox.lineBottom(), logicalTop + logicalHeight); in constrainToLineTopAndBottomIfNeeded() 1123 logicalHeight = bottom - logicalTop; in constrainToLineTopAndBottomIfNeeded() [all …]
|
D | RenderBlockLineLayout.cpp | 540 …lineLogicalLeft = block->logicalLeftOffsetForLine(block->logicalHeight(), shouldIndentText == Inde… in updateLogicalInlinePositions() 541 …lineLogicalRight = block->logicalRightOffsetForLine(block->logicalHeight(), shouldIndentText == In… in updateLogicalInlinePositions() 565 …ineLogicalRight, availableLogicalWidth, isFirstLine, shouldIndentText, renderBox->logicalHeight()); in computeInlineDirectionPositionsForLine() 644 …setLogicalHeight(lineBox->alignBoxesInBlockDirection(logicalHeight(), textBoxDataMap, verticalPosi… in computeBlockDirectionPositionsForLine() 655 r->m_box->setLogicalTop(logicalHeight().toFloat()); in computeBlockDirectionPositionsForLine() 747 layoutState.setPaintInvalidationRange(logicalHeight()); in layoutRunsAndFloats() 854 LayoutUnit oldLogicalHeight = logicalHeight(); in layoutRunsAndFloatsInRange() 990 LayoutUnit delta = logicalHeight() - layoutState.endLineLogicalTop(); in linkToEndLineIfNeeded() 1045 LayoutUnit blockLogicalHeight = logicalHeight(); in linkToEndLineIfNeeded() 1584 …LayoutUnit lowestAllowedPosition = std::max(lastRootBox()->lineBottom(), logicalHeight() + padding… in layoutInlineChildren() [all …]
|
D | RenderInline.cpp | 594 … int logicalHeight = container->style(rootBox.isFirstLineStyle())->font().fontMetrics().height(); in generateCulledLineBoxRects() local 596 …->marginLeft(), logicalTop, (currBox->width() + currBox->marginWidth()).toFloat(), logicalHeight)); in generateCulledLineBoxRects() 598 …(logicalTop, currBox->inlineBoxWrapper()->y() - currBox->marginTop(), logicalHeight, (currBox->hei… in generateCulledLineBoxRects() 609 … int logicalHeight = container->style(rootBox.isFirstLineStyle())->font().fontMetrics().height(); in generateCulledLineBoxRects() local 614 logicalHeight)); in generateCulledLineBoxRects() 618 logicalHeight, in generateCulledLineBoxRects() 627 … int logicalHeight = container->style(rootBox.isFirstLineStyle())->font().fontMetrics().height(); in generateCulledLineBoxRects() local 629 … yield(FloatRect(childText->x(), logicalTop, childText->logicalWidth(), logicalHeight)); in generateCulledLineBoxRects() 631 … yield(FloatRect(logicalTop, childText->y(), logicalHeight, childText->logicalWidth())); in generateCulledLineBoxRects() 1025 …LayoutUnit logicalHeight = lastLineBox()->logicalBottomVisualOverflow(lastRootBox.lineBottom()) - … in linesVisualOverflowBoundingBox() local [all …]
|
D | RenderSliderContainer.h | 46 …virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentCo…
|
D | RenderBox.h | 113 LayoutUnit logicalBottom() const { return logicalTop() + logicalHeight(); } in logicalBottom() 115 …LayoutUnit logicalHeight() const { return style()->isHorizontalWritingMode() ? height() : width();… in logicalHeight() function 118 …LayoutUnit constrainLogicalHeightByMinMax(LayoutUnit logicalHeight, LayoutUnit intrinsicContentHei… 119 …LayoutUnit constrainContentBoxLogicalHeightByMinMax(LayoutUnit logicalHeight, LayoutUnit intrinsic… 423 …virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentCo… 429 …return document().inQuirksMode() && style()->logicalHeight().isAuto() && !isFloatingOrOutOfFlowPos… in stretchesToViewport() 450 LayoutUnit computeReplacedLogicalHeightRespectingMinMaxHeight(LayoutUnit logicalHeight) const; 686 … LayoutUnit containerLogicalHeight, LayoutUnit bordersPlusPadding, LayoutUnit logicalHeight,
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
D | LineWidth.cpp | 55 LayoutUnit height = m_block.logicalHeight(); in updateAvailableWidth() 56 …LayoutUnit logicalHeight = m_block.minLineHeightForReplacedRenderer(m_isFirstLine, replacedHeight); in updateAvailableWidth() local 57 m_left = m_block.logicalLeftOffsetForLine(height, shouldIndentText(), logicalHeight).toFloat(); in updateAvailableWidth() 58 … m_right = m_block.logicalRightOffsetForLine(height, shouldIndentText(), logicalHeight).toFloat(); in updateAvailableWidth() 65 LayoutUnit height = m_block.logicalHeight(); in shrinkAvailableWidthForNewFloatIfNeeded() 72 …Info->computeDeltasForContainingBlockLine(m_block, *newFloat, m_block.logicalHeight(), lineHeight); in shrinkAvailableWidthForNewFloatIfNeeded() 160 LayoutUnit lineLogicalTop = m_block.logicalHeight(); in wrapNextToShapeOutside() 186 LayoutUnit lastFloatLogicalBottom = m_block.logicalHeight(); in fitBelowFloats()
|
D | LineLayoutState.h | 57 void setPaintInvalidationRange(LayoutUnit logicalHeight) in setPaintInvalidationRange() argument 60 m_paintInvalidationLogicalTop = m_paintInvalidationLogicalBottom = logicalHeight; in setPaintInvalidationRange()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
D | BoxShape.cpp | 55 LineSegment BoxShape::getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) const in getExcludedInterval() 58 if (marginBounds.isEmpty() || !lineOverlapsShapeMarginBounds(logicalTop, logicalHeight)) in getExcludedInterval() 62 float y2 = (logicalTop + logicalHeight).toFloat(); in getExcludedInterval()
|
D | RectangleShape.cpp | 56 LineSegment RectangleShape::getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) co… in getExcludedInterval() 63 float y2 = (logicalTop + logicalHeight).toFloat(); in getExcludedInterval()
|
D | BoxShape.h | 48 …virtual LineSegment getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) const OVE…
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
D | ListItemPainter.cpp | 17 if (!m_renderListItem.logicalHeight() && m_renderListItem.hasOverflowClip()) in paint()
|
D | InlineFlowBoxPainter.cpp | 333 LayoutUnit logicalHeight = m_inlineFlowBox.isHorizontal() ? rect.height() : rect.width(); in roundedFrameRectClampedToLineTopAndBottomIfNeeded() local 334 LayoutUnit bottom = std::min(rootBox.lineBottom(), logicalTop + logicalHeight); in roundedFrameRectClampedToLineTopAndBottomIfNeeded() 336 logicalHeight = bottom - logicalTop; in roundedFrameRectClampedToLineTopAndBottomIfNeeded() 339 rect.setHeight(logicalHeight); in roundedFrameRectClampedToLineTopAndBottomIfNeeded() 342 rect.setWidth(logicalHeight); in roundedFrameRectClampedToLineTopAndBottomIfNeeded()
|