/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
|
H A D | BoxShapeTest.cpp | 61 EXPECT_FLOAT_EQ(expectedLeft, segment.logicalLeft); \
|
/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 | RenderRubyText.h | 53 virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const OVERRIDE;
|
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.h | 56 virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const OVERRIDE;
|
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 | 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 | 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 | InlineTextBox.cpp | 225 FloatPoint startingPoint = FloatPoint(logicalLeft(), selTop.toFloat()); 280 bool ltrFullTruncation = flowIsLTR && ellipsisX <= logicalLeft(); 281 bool rtlFullTruncation = !flowIsLTR && ellipsisX >= logicalLeft() + logicalWidth(); 290 bool rtlEllipsisWithinBox = !flowIsLTR && (ellipsisX > logicalLeft()); 301 ellipsisX = ltr ? logicalLeft() + visibleBoxWidth : logicalRight() - visibleBoxWidth; 310 return std::min(ellipsisX, logicalLeft()); 327 return logicalLeft() + widthOfVisibleText; 1164 if (logicalLeft() == 0) 1166 return logicalLeft() - root().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 | 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...] |
H A D | RootInlineBox.cpp | 129 if (ltr && (logicalLeft() + logicalWidth() + ellipsisWidth) <= blockRightEdge) { 130 ellipsisBox->setLogicalLeft(logicalLeft() + logicalWidth()); 309 &firstBox->parent()->renderer(), firstBox->logicalLeft(), selTop, selHeight, paintInfo)); 329 LayoutRect logicalRect(lastLogicalLeft, selTop, box->logicalLeft() - lastLogicalLeft, selHeight); 506 if (leftPosition <= firstLeaf->logicalLeft() && !firstLeaf->renderer().isListMarker() && (!onlyEditableLeaves || isEditableLeaf(firstLeaf))) 584 lineLayoutOverflow.shiftXEdgeTo(std::min<LayoutUnit>(lineLayoutOverflow.x(), logicalLeft() - endPadding)); 589 lineLayoutOverflow.shiftYEdgeTo(std::min<LayoutUnit>(lineLayoutOverflow.y(), logicalLeft() - endPadding));
|
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 | RenderListItem.cpp | 345 LayoutUnit markerOldLogicalLeft = m_marker->logicalLeft(); 350 lineOffset += o->logicalLeft();
|
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()));
|
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.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 | RenderRubyRun.cpp | 278 logicalLeftOverhang = std::min<int>(logicalLeftOverhang, rootInlineBox->logicalLeft());
|
/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
|
H A D | LengthBox.h | 75 const Length& logicalLeft(WritingMode) const;
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | LayoutBoxExtent.h | 59 LayoutUnit logicalLeft(WritingMode) const;
|
H A D | LayoutBoxExtent.cpp | 48 LayoutUnit LayoutBoxExtent::logicalLeft(WritingMode writingMode) const function in class:blink::LayoutBoxExtent
|