/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | LengthBox.cpp | 36 const Length& LengthBox::logicalLeft(WritingMode writingMode) const function in class:blink::LengthBox
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderRubyText.cpp | 63 void RenderRubyText::adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const argument 68 return RenderBlockFlow::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); 80 logicalLeft += inset / 2;
|
H A D | RenderFieldset.cpp | 74 LayoutUnit logicalLeft; local 78 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2; 81 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend); 84 logicalLeft = borderStart() + paddingStart() + marginStartForChild(legend); 90 logicalLeft = borderStart() + paddingStart(); 96 logicalLeft = centeredWidth - centeredWidth / 2; 100 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend); 105 setLogicalLeftForChild(legend, logicalLeft);
|
H A D | RenderRubyBase.cpp | 136 void RenderRubyBase::adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const argument 145 logicalLeft += inset / 2;
|
H A D | InlineFlowBox.h | 125 // logicalLeft = left in a horizontal line and top in a vertical line. 176 float placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing); 178 float& logicalLeft, float& minLogicalLeft, float& maxLogicalRight, bool& needsWordSpacing); 179 void beginPlacingBoxRangesInInlineDirection(float logicalLeft) { setLogicalLeft(logicalLeft); } argument 180 void endPlacingBoxRangesInInlineDirection(float logicalLeft, float logicalRight, float minLogicalLeft, float maxLogicalRight) argument 182 setLogicalWidth(logicalRight - logicalLeft); 183 if (knownToHaveNoOverflow() && (minLogicalLeft < logicalLeft || maxLogicalRight > logicalRight)) 227 static_cast<LayoutUnit>(logicalLeft()); 258 LayoutUnit logicalLeftVisualOverflow() const { return m_overflow ? (isHorizontal() ? m_overflow->visualOverflowRect().x() : m_overflow->visualOverflowRect().y()) : static_cast<LayoutUnit>(logicalLeft()); } [all...] |
H A D | FloatingObjects.cpp | 452 LayoutUnit logicalLeft = m_renderer->logicalLeftForFloat(&floatingObject); local 453 if (logicalLeft < m_offset) { 454 m_offset = logicalLeft; 505 LayoutUnit logicalLeft = m_renderer->logicalLeftForFloat(&floatingObject); local 511 logicalLeft += shapeDeltas.leftMarginBoxDelta(); 513 if (logicalLeft < m_offset) { 514 m_offset = logicalLeft;
|
H A D | RenderBlockFlow.h | 137 void setLogicalLeftForFloat(FloatingObject* floatingObject, LayoutUnit logicalLeft) argument 140 floatingObject->setX(logicalLeft); 142 floatingObject->setY(logicalLeft); 230 void setLogicalLeftForChild(RenderBox* child, LayoutUnit logicalLeft); 297 void updateLogicalWidthForAlignment(const ETextAlign&, const RootInlineBox*, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float& availableLogicalWidth, unsigned expansionOpportunityCount); 480 BidiRun* computeInlineDirectionPositionsForSegment(RootInlineBox*, const LineInfo&, ETextAlign, float& logicalLeft,
|
H A D | InlineBox.h | 210 // The logicalLeft position is the left edge of the line box in a horizontal line and the top edge in a vertical line. 211 float logicalLeft() const { return isHorizontal() ? m_topLeft.x() : m_topLeft.y(); } function in class:blink::InlineBox 212 float logicalRight() const { return logicalLeft() + logicalWidth(); } 220 int pixelSnappedLogicalLeft() const { return logicalLeft(); }
|
H A D | InlineFlowBox.cpp | 362 float InlineFlowBox::placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing) argument 365 beginPlacingBoxRangesInInlineDirection(logicalLeft); 367 float startLogicalLeft = logicalLeft; 368 logicalLeft += borderLogicalLeft() + paddingLogicalLeft(); 371 float maxLogicalRight = logicalLeft; 373 placeBoxRangeInInlineDirection(firstChild(), 0, logicalLeft, minLogicalLeft, maxLogicalRight, needsWordSpacing); local 375 logicalLeft += borderLogicalRight() + paddingLogicalRight(); 376 endPlacingBoxRangesInInlineDirection(startLogicalLeft, logicalLeft, minLogicalLeft, maxLogicalRight); 377 return logicalLeft; 381 float& logicalLeft, floa 380 placeBoxRangeInInlineDirection(InlineBox* firstChild, InlineBox* lastChild, float& logicalLeft, float& minLogicalLeft, float& maxLogicalRight, bool& needsWordSpacing) argument [all...] |
H A D | RenderBox.h | 110 LayoutUnit logicalLeft() const { return style()->isHorizontalWritingMode() ? x() : y(); } function in class:blink::RenderBox 111 LayoutUnit logicalRight() const { return logicalLeft() + logicalWidth(); } 292 LayoutUnit marginLogicalLeft() const { return m_marginBox.logicalLeft(style()->writingMode()); } 683 const Length& logicalLeft, const Length& logicalRight, const Length& marginLogicalLeft,
|
H A D | RenderBlockLineLayout.cpp | 298 static void updateLogicalWidthForLeftAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument 311 logicalLeft -= (totalLogicalWidth - availableLogicalWidth); 314 static void updateLogicalWidthForRightAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument 325 logicalLeft += availableLogicalWidth - totalLogicalWidth; 333 logicalLeft += availableLogicalWidth - totalLogicalWidth; 336 static void updateLogicalWidthForCenterAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument 345 logicalLeft += std::max<float>((availableLogicalWidth - totalLogicalWidth) / 2, 0); 347 logicalLeft += totalLogicalWidth > availableLogicalWidth ? (availableLogicalWidth - totalLogicalWidth) : (availableLogicalWidth - totalLogicalWidth) / 2 - trailingSpaceWidth; 485 void RenderBlockFlow::updateLogicalWidthForAlignment(const ETextAlign& textAlign, const RootInlineBox* rootInlineBox, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float& availableLogicalWidth, unsigned expansionOpportunityCount) argument 500 updateLogicalWidthForLeftAlignedBlock(style()->isLeftToRightDirection(), trailingSpaceRun, logicalLeft, totalLogicalWidt 575 computeInlineDirectionPositionsForSegment(RootInlineBox* lineBox, const LineInfo& lineInfo, ETextAlign textAlign, float& logicalLeft, float& availableLogicalWidth, BidiRun* firstRun, BidiRun* trailingSpaceRun, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, VerticalPositionCache& verticalPositionCache, WordMeasurements& wordMeasurements) argument 1913 float logicalLeft = logicalLeftOffsetForLine(curr->lineTop(), firstLine).toFloat(); local 1962 float logicalLeft = 0; // We are only intersted in the delta from the base position. local 2037 float logicalLeft = logicalLeftOffsetForLine(logicalHeight(), false).toFloat(); local [all...] |
H A D | RenderBlockFlow.cpp | 395 LayoutUnit oldLeft = logicalLeft(); 496 layoutPositionedObjects(relayoutChildren || isDocumentElement(), oldLeft != logicalLeft() ? ForcedLayoutAfterContainingBlockMoved : DefaultLayout); 532 void RenderBlockFlow::setLogicalLeftForChild(RenderBox* child, LayoutUnit logicalLeft) argument 535 child->setX(logicalLeft); 537 child->setY(logicalLeft); 2538 LayoutUnit childLogicalLeft = child->logicalLeft(); 2767 LayoutRect logicalRect(curr->logicalLeft(), selTop, curr->logicalWidth(), selTop + selHeight); 2810 LayoutUnit logicalLeft = logicalLeftOffsetForLine(position, false); local 2811 if (logicalLeft == logicalLeftOffsetForContent()) 2816 logicalLeft [all...] |
H A D | RenderLayer.cpp | 2879 LayoutUnit logicalLeft = columnBlock->logicalLeftOffsetForContent(); local 2894 LayoutUnit currLogicalLeftOffset = (isHorizontal ? colRect.x() : colRect.y()) - logicalLeft;
|
H A D | RenderBlock.cpp | 1643 if (newLeft != box->logicalLeft()) 1983 result.uniteLeft(logicalLeftSelectionGap(rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, this, curr->logicalLeft(), curr->logicalTop(), curr->logicalHeight(), paintInfo)); 2018 LayoutUnit logicalLeft = std::max(lastLogicalLeft, logicalLeftSelectionOffset(rootBlock, logicalBottom)); 2020 LayoutUnit logicalWidth = logicalRight - logicalLeft; 2024 LayoutRect gapRect = rootBlock->logicalRectToPhysicalRect(rootBlockPhysicalPosition, LayoutRect(logicalLeft, logicalTop, logicalWidth, logicalHeight)); 2031 const RenderObject* selObj, LayoutUnit logicalLeft, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo* paintInfo) const 2035 LayoutUnit rootBlockLogicalRight = std::min(rootBlock->inlineDirectionOffset(offsetFromRootBlock) + logicalLeft, std::min(logicalRightSelectionOffset(rootBlock, logicalTop), logicalRightSelectionOffset(rootBlock, logicalTop + logicalHeight))); 2101 offset -= LayoutSize(toRenderBlock(object)->logicalLeft(), toRenderBlock(object)->logicalTop()); 2110 offset += LayoutSize(beforeBlock->logicalLeft(), beforeBlock->logicalTop()); 2115 offset += LayoutSize(beforeBlock->logicalLeft(), beforeBloc 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 2632 LayoutUnit logicalLeft = parent->isHorizontalWritingMode() ? pointInChildCoordinates.x() : pointInChildCoordinates.y(); local 3116 LayoutUnit logicalLeft = logicalLeftOffsetForContent(); local [all...] |
H A D | RenderBox.cpp | 1686 root.block().setStaticInlinePositionForChild(this, LayoutUnit::fromFloatRound(box->logicalLeft())); 1902 computedValues.m_position = logicalLeft(); 2720 fromLeft = first->logicalLeft() + first->borderLogicalLeft(); 2721 fromRight = last->logicalLeft() + last->logicalWidth() - last->borderLogicalRight(); 2723 fromRight = first->logicalLeft() + first->logicalWidth() - first->borderLogicalRight(); 2724 fromLeft = last->logicalLeft() + last->borderLogicalLeft(); 2770 static void computeInlineStaticDistance(Length& logicalLeft, Length& logicalRight, const RenderBox* child, const RenderBoxModelObject* containerBlock, LayoutUnit containerLogicalWidth) argument 2772 if (!logicalLeft.isAuto() || !logicalRight.isAuto()) 2780 staticPosition += toRenderBox(curr)->logicalLeft(); 2785 if (!curr->style()->logicalLeft() 2954 computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection, LayoutUnit containerLogicalWidth, LayoutUnit bordersPlusPadding, const Length& logicalLeft, const Length& logicalRight, const Length& marginLogicalLeft, const Length& marginLogicalRight, LogicalExtentComputedValues& computedValues) const argument 3417 Length logicalLeft = style()->logicalLeft(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | Shape.h | 46 : logicalLeft(0) 52 LineSegment(float logicalLeft, float logicalRight) argument 53 : logicalLeft(logicalLeft) 59 float logicalLeft; member in struct:blink::LineSegment
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | LayoutBoxExtent.cpp | 48 LayoutUnit LayoutBoxExtent::logicalLeft(WritingMode writingMode) const function in class:blink::LayoutBoxExtent
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | RenderStyle.h | 444 const Length& logicalLeft() const { return surround->offset.logicalLeft(writingMode()); } function in class:blink::RenderStyle 736 void getTextShadowInlineDirectionExtent(LayoutUnit& logicalLeft, LayoutUnit& logicalRight) { getShadowInlineDirectionExtent(textShadow(), logicalLeft, logicalRight); } local 806 void getBoxShadowInlineDirectionExtent(LayoutUnit& logicalLeft, LayoutUnit& logicalRight) { getShadowInlineDirectionExtent(boxShadow(), logicalLeft, logicalRight); } local 1749 void getShadowInlineDirectionExtent(const ShadowList* shadow, LayoutUnit& logicalLeft, LayoutUnit& logicalRight) const argument 1751 return isHorizontalWritingMode() ? getShadowHorizontalExtent(shadow, logicalLeft, logicalRight) : getShadowVerticalExtent(shadow, logicalLeft, logicalRight);
|