/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | InlineFlowBoxPainter.cpp | 332 LayoutUnit logicalTop = m_inlineFlowBox.isHorizontal() ? rect.y() : rect.x(); local 334 LayoutUnit bottom = std::min(rootBox.lineBottom(), logicalTop + logicalHeight); 335 logicalTop = std::max(rootBox.lineTop(), logicalTop); 336 logicalHeight = bottom - logicalTop; 338 rect.setY(logicalTop); 341 rect.setX(logicalTop);
|
H A D | InlinePainter.cpp | 48 LayoutUnit top = std::max<LayoutUnit>(root.lineTop(), curr->logicalTop());
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | EllipsisBox.cpp | 106 return enclosingIntRect(font.selectionRectForText(constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion), IntPoint(logicalLeft(), logicalTop() + root().selectionTopAdjustedForPrecedingBlock()), root().selectionHeightAdjustedForPrecedingBlock())); 125 const int deltaY = roundToInt(renderer().style()->isFlippedLinesWritingMode() ? selectionBottom - logicalBottom() : logicalTop() - top);
|
H A D | FloatingObjects.cpp | 372 LayoutUnit FloatingObjects::logicalLeftOffsetForPositioningFloat(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit *heightRemaining) argument 374 int logicalTopAsInt = roundToInt(logicalTop); 384 LayoutUnit FloatingObjects::logicalRightOffsetForPositioningFloat(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit *heightRemaining) argument 386 int logicalTopAsInt = roundToInt(logicalTop); 396 LayoutUnit FloatingObjects::logicalLeftOffset(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit logicalHeight) argument 398 ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatLeft> adapter(m_renderer, roundToInt(logicalTop), roundToInt(logicalTop + logicalHeight), fixedOffset); 404 LayoutUnit FloatingObjects::logicalRightOffset(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit logicalHeight) argument 406 ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatRight> adapter(m_renderer, roundToInt(logicalTop), roundToInt(logicalTop [all...] |
H A D | FloatingObjects.h | 155 LayoutUnit logicalLeftOffset(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit logicalHeight); 156 LayoutUnit logicalRightOffset(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit logicalHeight); 158 LayoutUnit logicalLeftOffsetForPositioningFloat(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit* heightRemaining); 159 LayoutUnit logicalRightOffsetForPositioningFloat(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit* heightRemaining);
|
H A D | InlineBox.h | 222 int pixelSnappedLogicalTop() const { return logicalTop(); } 225 // The logicalTop[ position is the top edge of the line box in a horizontal line and the left edge in a vertical line. 226 float logicalTop() const { return isHorizontal() ? m_topLeft.y() : m_topLeft.x(); } function in class:blink::InlineBox 227 float logicalBottom() const { return logicalTop() + logicalHeight(); }
|
H A D | InlineFlowBox.cpp | 527 // baseline. This information is cached in the logicalTop() of every box. We're effectively just using 528 // the logicalTop() as scratch space. 590 ascent -= curr->logicalTop(); 591 descent += curr->logicalTop(); 623 adjustmentForChildrenWithSameLineHeightAndBaseline = logicalTop(); 648 curr->setLogicalTop(curr->logicalTop() + top + posAdjust); 651 LayoutUnit newLogicalTop = curr->logicalTop(); 690 LayoutUnit topRubyBaseLeading = rubyBase->logicalTop() + (rubyBase->firstRootBox() ? rubyBase->firstRootBox()->lineTop() : LayoutUnit()); 766 setLogicalTop(lineBottom - (logicalTop() - lineTop) - logicalHeight()); 775 curr->setLogicalTop(lineBottom - (curr->logicalTop() 1119 LayoutUnit logicalTop = isHorizontal() ? rect.y() : rect.x(); local [all...] |
H A D | InlineFlowBox.h | 192 void placeBoxesInBlockDirection(LayoutUnit logicalTop, LayoutUnit maxHeight, int maxAscent, bool strictMode, LayoutUnit& lineTop, LayoutUnit& lineBottom, LayoutUnit& selectionBottom, bool& setLineTop, 324 // Maximum logicalTop among all children of an InlineFlowBox. Used to
|
H A D | InlineTextBox.cpp | 628 int deltaY = roundToInt(renderer().style()->isFlippedLinesWritingMode() ? selectionBottom - logicalBottom() : logicalTop() - selectionTop); 659 int deltaY = renderer().style()->isFlippedLinesWritingMode() ? selectionBottom() - logicalBottom() : logicalTop() - selectionTop(); 712 const float offset = inlineTextBox->root().maxLogicalTop() - inlineTextBox->logicalTop(); 977 int deltaY = renderer().style()->isFlippedLinesWritingMode() ? selectionBottom() - logicalBottom() : logicalTop() - selectionTop(); 1020 int deltaY = renderer().style()->isFlippedLinesWritingMode() ? selectionBottom() - logicalBottom() : logicalTop() - selectionTop();
|
H A D | RenderBlock.cpp | 1646 LayoutUnit oldTop = box->logicalTop(); 1648 if (box->logicalTop() != oldTop) 1752 if (view()->layoutState()->pageLogicalHeightChanged() || (view()->layoutState()->pageLogicalHeight() && view()->layoutState()->pageLogicalOffset(*this, logicalTop()) != pageLogicalOffset())) 1971 curr->logicalTop(), paintInfo)); 1983 result.uniteLeft(logicalLeftSelectionGap(rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, this, curr->logicalLeft(), curr->logicalTop(), curr->logicalHeight(), paintInfo)); 1985 result.uniteRight(logicalRightSelectionGap(rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, this, curr->logicalRight(), curr->logicalTop(), curr->logicalHeight(), paintInfo)); 2012 LayoutUnit logicalTop = lastLogicalTop; local 2013 LayoutUnit logicalHeight = rootBlock->blockDirectionOffset(offsetFromRootBlock) + logicalBottom - logicalTop; 2024 LayoutRect gapRect = rootBlock->logicalRectToPhysicalRect(rootBlockPhysicalPosition, LayoutRect(logicalLeft, logicalTop, logicalWidth, logicalHeight)); 2031 const RenderObject* selObj, LayoutUnit logicalLeft, LayoutUnit logicalTop, LayoutUni 2030 logicalLeftSelectionGap(const RenderBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, const RenderObject* selObj, LayoutUnit logicalLeft, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo* paintInfo) const argument 2046 logicalRightSelectionGap(const RenderBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, const RenderObject* selObj, LayoutUnit logicalRight, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo* paintInfo) const argument 2333 markLinesDirtyInBlockRange(LayoutUnit logicalTop, LayoutUnit logicalBottom, RootInlineBox* highest) argument [all...] |
H A D | RenderBlock.h | 165 const RenderObject* selObj, LayoutUnit logicalLeft, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo*) const; 167 const RenderObject* selObj, LayoutUnit logicalRight, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo*) const; 416 void markLinesDirtyInBlockRange(LayoutUnit logicalTop, LayoutUnit logicalBottom, RootInlineBox* highest = 0);
|
H A D | RenderBlockFlow.cpp | 212 computeLogicalHeight(LayoutUnit(), logicalTop(), computedValues); 368 setPageLogicalOffset(renderView->layoutState()->pageLogicalOffset(*this, logicalTop())); 485 if (block->lowestFloatLogicalBottom() + block->logicalTop() <= newHeight) 541 void RenderBlockFlow::setLogicalTopForChild(RenderBox* child, LayoutUnit logicalTop) argument 544 child->setY(logicalTop); 546 child->setX(logicalTop); 769 } else if (remainingLogicalHeight == pageLogicalHeight && offsetFromLogicalTopOfFirstPage() + child->logicalTop()) { 947 LayoutUnit logicalTopOffset = logicalTop(); 955 logicalTopOffset -= blockFlow->logicalTop(); 980 LayoutUnit logicalTop local 1235 LayoutUnit logicalTop = beforeCollapseLogicalTop; local 1337 LayoutUnit logicalTop = logicalHeight(); local 1863 getClearDelta(RenderBox* child, LayoutUnit logicalTop) argument 1987 updateStaticInlinePositionForChild(RenderBox* child, LayoutUnit logicalTop) argument 2192 logicalLeftOffsetForPositioningFloat(LayoutUnit logicalTop, LayoutUnit fixedOffset, bool applyTextIndent, LayoutUnit* heightRemaining) const argument 2200 logicalRightOffsetForPositioningFloat(LayoutUnit logicalTop, LayoutUnit fixedOffset, bool applyTextIndent, LayoutUnit* heightRemaining) const argument 2325 LayoutUnit logicalTop = logicalTopForFloat(floatingObject); local 2397 LayoutUnit logicalTop = logicalHeight(); local 2719 logicalLeftFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixedOffset, LayoutUnit logicalHeight) const argument 2727 logicalRightFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixedOffset, LayoutUnit logicalHeight) const argument [all...] |
H A D | RenderBlockFlow.h | 130 void setLogicalTopForFloat(FloatingObject* floatingObject, LayoutUnit logicalTop) argument 133 floatingObject->setY(logicalTop); 135 floatingObject->setX(logicalTop); 162 void updateStaticInlinePositionForChild(RenderBox*, LayoutUnit logicalTop); 218 LayoutUnit logicalRightOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixedOffset, bool applyTextIndent, LayoutUnit logicalHeight = 0) const argument 220 return adjustLogicalRightOffsetForLine(logicalRightFloatOffsetForLine(logicalTop, fixedOffset, logicalHeight), applyTextIndent); 222 LayoutUnit logicalLeftOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixedOffset, bool applyTextIndent, LayoutUnit logicalHeight = 0) const argument 224 return adjustLogicalLeftOffsetForLine(logicalLeftFloatOffsetForLine(logicalTop, fixedOffset, logicalHeight), applyTextIndent); 231 void setLogicalTopForChild(RenderBox* child, LayoutUnit logicalTop); 270 LayoutUnit logicalRightFloatOffsetForLine(LayoutUnit logicalTop, LayoutUni [all...] |
H A D | RenderBlockLineLayout.cpp | 1821 LayoutUnit logicalTop = std::min(logicalHeight(), layoutState.endLineLogicalTop()); 1833 if (logicalBottomForFloat(floatingObject) >= logicalTop && logicalBottomForFloat(floatingObject) < logicalBottom)
|
H A D | RenderBox.cpp | 1475 LayoutUnit logicalTopPosition = logicalTop(); 1518 return toRenderBlockFlow(cb)->availableLogicalWidthForLine(logicalTop(), false, availableLogicalHeight(IncludeMarginBorderPadding)); 1694 layer()->setStaticBlockPosition(box->logicalTop()); 2212 computeLogicalHeight(logicalHeight(), logicalTop(), computedValues); 2220 void RenderBox::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const argument 2223 computedValues.m_position = logicalTop; 2399 bool isOutOfFlowPositionedWithSpecifiedHeight = cb->isOutOfFlowPositioned() && (!cbstyle->logicalHeight().isAuto() || (!cbstyle->logicalTop().isAuto() && !cbstyle->logicalBottom().isAuto())); 2658 // FIXME: Check logicalTop/logicalBottom here to correctly handle vertical writing-mode. 3138 static void computeBlockStaticDistance(Length& logicalTop, Length& logicalBottom, const RenderBox* child, const RenderBoxModelObject* containerBlock) argument 3140 if (!logicalTop 3266 computePositionedLogicalHeightUsing(Length logicalHeightLength, const RenderBoxModelObject* containerBlock, LayoutUnit containerLogicalHeight, LayoutUnit bordersPlusPadding, LayoutUnit logicalHeight, const Length& logicalTop, const Length& logicalBottom, const Length& marginBefore, const Length& marginAfter, LogicalExtentComputedValues& computedValues) const argument 3585 Length logicalTop = style()->logicalTop(); local [all...] |
H A D | RenderBox.h | 112 LayoutUnit logicalTop() const { return style()->isHorizontalWritingMode() ? y() : x(); } function in class:blink::RenderBox 113 LayoutUnit logicalBottom() const { return logicalTop() + logicalHeight(); } 423 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const; 687 const Length& logicalTop, const Length& logicalBottom, const Length& marginLogicalTop,
|
H A D | RenderBoxModelObject.cpp | 188 if (cb->isOutOfFlowPositioned() && !cb->style()->logicalTop().isAuto() && !cb->style()->logicalBottom().isAuto())
|
H A D | RenderDeprecatedFlexibleBox.cpp | 293 setPageLogicalOffset(view()->layoutState()->pageLogicalOffset(*this, logicalTop()));
|
H A D | RenderFlexibleBox.cpp | 171 return crossAxisExtentForChild(*baselineChild) + baselineChild->logicalTop(); 173 return mainAxisExtentForChild(*baselineChild) + baselineChild->logicalTop(); 180 return synthesizedBaselineFromContentBox(*baselineChild, direction) + baselineChild->logicalTop(); 183 return baseline + baselineChild->logicalTop(); 406 computeLogicalHeight(borderBoxLogicalHeight, logicalTop(), computedValues);
|
H A D | RenderFlowThread.cpp | 135 void RenderFlowThread::computeLogicalHeight(LayoutUnit, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const argument 137 computedValues.m_position = logicalTop;
|
H A D | RenderFlowThread.h | 75 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const OVERRIDE;
|
H A D | RenderInline.cpp | 593 int logicalTop = rootBox.logicalTop() + (rootBox.renderer().style(rootBox.isFirstLineStyle())->font().fontMetrics().ascent() - container->style(rootBox.isFirstLineStyle())->font().fontMetrics().ascent()); local 596 yield(FloatRect(currBox->inlineBoxWrapper()->x() - currBox->marginLeft(), logicalTop, (currBox->width() + currBox->marginWidth()).toFloat(), logicalHeight)); 598 yield(FloatRect(logicalTop, currBox->inlineBoxWrapper()->y() - currBox->marginTop(), logicalHeight, (currBox->height() + currBox->marginHeight()).toFloat())); 608 int logicalTop = rootBox.logicalTop() + (rootBox.renderer().style(rootBox.isFirstLineStyle())->font().fontMetrics().ascent() - container->style(rootBox.isFirstLineStyle())->font().fontMetrics().ascent()); local 612 logicalTop, 616 yield(FloatRect(logicalTop, 626 int logicalTop = rootBox.logicalTop() local 1023 LayoutUnit logicalTop = firstLineBox()->logicalTopVisualOverflow(firstRootBox.lineTop()); local [all...] |
H A D | RenderLineBoxList.cpp | 147 bool RenderLineBoxList::rangeIntersectsRect(RenderBoxModelObject* renderer, LayoutUnit logicalTop, LayoutUnit logicalBottom, const LayoutRect& rect, const LayoutPoint& offset) const argument 154 LayoutUnit physicalStart = block->flipForWritingMode(logicalTop); 189 LayoutUnit logicalTop = std::min<LayoutUnit>(box->logicalTopVisualOverflow(root.lineTop()), root.selectionTop()); local 192 return rangeIntersectsRect(renderer, logicalTop, logicalBottom, paintInfo.rect, offset);
|
H A D | RenderLineBoxList.h | 69 bool rangeIntersectsRect(RenderBoxModelObject*, LayoutUnit logicalTop, LayoutUnit logicalBottom, const LayoutRect&, const LayoutPoint&) const;
|
H A D | RenderListBox.cpp | 126 void RenderListBox::computeLogicalHeight(LayoutUnit, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const argument 134 RenderBox::computeLogicalHeight(height, logicalTop, computedValues);
|