Home
last modified time | relevance | path

Searched refs:logicalLeft (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderFieldset.cpp71 LayoutUnit logicalLeft; in layoutSpecialExcludedChild() local
75 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2; in layoutSpecialExcludedChild()
78logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend); in layoutSpecialExcludedChild()
81 logicalLeft = borderStart() + paddingStart() + marginStartForChild(legend); in layoutSpecialExcludedChild()
87 logicalLeft = borderStart() + paddingStart(); in layoutSpecialExcludedChild()
93 logicalLeft = centeredWidth - centeredWidth / 2; in layoutSpecialExcludedChild()
97logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logi… in layoutSpecialExcludedChild()
102 setLogicalLeftForChild(legend, logicalLeft); in layoutSpecialExcludedChild()
DRenderBoxRegionInfo.h38 RenderBoxRegionInfo(LayoutUnit logicalLeft, LayoutUnit logicalWidth, bool isShifted) in RenderBoxRegionInfo() argument
39 : m_logicalLeft(logicalLeft) in RenderBoxRegionInfo()
44 LayoutUnit logicalLeft() const { return m_logicalLeft; } in logicalLeft() function
DInlineFlowBox.h175 …float placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing, GlyphOverflowAndFallb…
176 …eInInlineDirection(InlineBox* firstChild, InlineBox* lastChild, float& logicalLeft, float& minLogi…
177 void beginPlacingBoxRangesInInlineDirection(float logicalLeft) { setLogicalLeft(logicalLeft); } in beginPlacingBoxRangesInInlineDirection() argument
178 …void endPlacingBoxRangesInInlineDirection(float logicalLeft, float logicalRight, float minLogicalL… in endPlacingBoxRangesInInlineDirection() argument
180 setLogicalWidth(logicalRight - logicalLeft); in endPlacingBoxRangesInInlineDirection()
181 … if (knownToHaveNoOverflow() && (minLogicalLeft < logicalLeft || maxLogicalRight > logicalRight)) in endPlacingBoxRangesInInlineDirection()
225 static_cast<LayoutUnit>(logicalLeft()); in logicalLeftLayoutOverflow()
256 …rflowRect().x() : m_overflow->visualOverflowRect().y()) : static_cast<LayoutUnit>(logicalLeft()); } in logicalLeftVisualOverflow()
291 return FloatRect(logicalLeft(), lineTop, logicalWidth(), lineBottom - lineTop); in logicalFrameRectIncludingLineHeight()
DRenderRubyText.cpp65 …:adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logical… in adjustInlineDirectionLineBounds() argument
70 …return RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logica… in adjustInlineDirectionLineBounds()
82 logicalLeft += inset / 2; in adjustInlineDirectionLineBounds()
DRenderBlockLineLayout.cpp377 …edBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLo… in updateLogicalWidthForLeftAlignedBlock() argument
390 logicalLeft -= (totalLogicalWidth - availableLogicalWidth); in updateLogicalWidthForLeftAlignedBlock()
393 …edBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLo… in updateLogicalWidthForRightAlignedBlock() argument
404 logicalLeft += availableLogicalWidth - totalLogicalWidth; in updateLogicalWidthForRightAlignedBlock()
412 logicalLeft += availableLogicalWidth - totalLogicalWidth; in updateLogicalWidthForRightAlignedBlock()
415 …edBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLo… in updateLogicalWidthForCenterAlignedBlock() argument
424 logicalLeft += max<float>((availableLogicalWidth - totalLogicalWidth) / 2, 0); in updateLogicalWidthForCenterAlignedBlock()
426logicalLeft += totalLogicalWidth > availableLogicalWidth ? (availableLogicalWidth - totalLogicalWi… in updateLogicalWidthForCenterAlignedBlock()
567 … const RootInlineBox* rootInlineBox, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLo… in updateLogicalWidthForAlignment() argument
582 …rLeftAlignedBlock(style()->isLeftToRightDirection(), trailingSpaceRun, logicalLeft, totalLogicalWi… in updateLogicalWidthForAlignment()
[all …]
DInlineFlowBox.cpp359 float InlineFlowBox::placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing, GlyphOv… in placeBoxesInInlineDirection() argument
362 beginPlacingBoxRangesInInlineDirection(logicalLeft); in placeBoxesInInlineDirection()
364 float startLogicalLeft = logicalLeft; in placeBoxesInInlineDirection()
365 logicalLeft += borderLogicalLeft() + paddingLogicalLeft(); in placeBoxesInInlineDirection()
368 float maxLogicalRight = logicalLeft; in placeBoxesInInlineDirection()
370 …placeBoxRangeInInlineDirection(firstChild(), 0, logicalLeft, minLogicalLeft, maxLogicalRight, need… in placeBoxesInInlineDirection()
372 logicalLeft += borderLogicalRight() + paddingLogicalRight(); in placeBoxesInInlineDirection()
373 …endPlacingBoxRangesInInlineDirection(startLogicalLeft, logicalLeft, minLogicalLeft, maxLogicalRigh… in placeBoxesInInlineDirection()
374 return logicalLeft; in placeBoxesInInlineDirection()
377 …eInInlineDirection(InlineBox* firstChild, InlineBox* lastChild, float& logicalLeft, float& minLogi… in placeBoxRangeInInlineDirection() argument
[all …]
DRenderBox.cpp122 LayoutUnit logicalLeft = boxInfo->logicalLeft(); in borderBoxRectInRegion() local
130 logicalLeft += currentBoxInfo->logicalLeft(); in borderBoxRectInRegion()
132logicalLeft -= (currentBox->logicalWidth() - currentBoxInfo->logicalWidth()) - currentBoxInfo->log… in borderBoxRectInRegion()
142 return LayoutRect(logicalLeft, 0, logicalWidth, height()); in borderBoxRectInRegion()
143 return LayoutRect(0, logicalLeft, width(), logicalWidth); in borderBoxRectInRegion()
2046 …PositionForChild(this, root->lineTopWithLeading(), LayoutUnit::fromFloatRound(box->logicalLeft())); in positionLineBox()
2270 computedValues.m_position = logicalLeft(); in computeLogicalWidthInRegion()
2609 …LayoutUnit logicalLeftDelta = isOutOfFlowPositioned() ? logicalLeftInRegion - logicalLeft() : star… in renderBoxRegionInfo()
2611 LayoutUnit oldLogicalRight = containingBlockLogicalWidth - (logicalLeft() + logicalWidth()); in renderBoxRegionInfo()
3218 fromLeft = first->logicalLeft() + first->borderLogicalLeft(); in containingBlockLogicalWidthForPositioned()
[all …]
DRenderRubyBase.cpp146 …:adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logical… in adjustInlineDirectionLineBounds() argument
155 logicalLeft += inset / 2; in adjustInlineDirectionLineBounds()
DInlineTextBox.cpp217 FloatPoint startingPoint = FloatPoint(logicalLeft(), selTop); in localSelectionRect()
272 bool ltrFullTruncation = flowIsLTR && ellipsisX <= logicalLeft(); in placeEllipsisBox()
273 bool rtlFullTruncation = !flowIsLTR && ellipsisX >= logicalLeft() + logicalWidth(); in placeEllipsisBox()
282 bool rtlEllipsisWithinBox = !flowIsLTR && (ellipsisX > logicalLeft()); in placeEllipsisBox()
293 ellipsisX = ltr ? logicalLeft() + visibleBoxWidth : logicalRight() - visibleBoxWidth; in placeEllipsisBox()
302 return min(ellipsisX, logicalLeft()); in placeEllipsisBox()
319 return logicalLeft() + widthOfVisibleText; in placeEllipsisBox()
1400 if (logicalLeft() == 0) in textPos()
1402 return logicalLeft() - root()->logicalLeft(); in textPos()
1410 if (lineOffset - logicalLeft() > logicalWidth()) in offsetForPosition()
[all …]
DRenderRubyText.h55 …virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, fl…
DRenderBlockFlow.h95 void setLogicalLeftForFloat(FloatingObject* floatingObject, LayoutUnit logicalLeft) in setLogicalLeftForFloat() argument
98 floatingObject->setX(logicalLeft); in setLogicalLeftForFloat()
100 floatingObject->setY(logicalLeft); in setLogicalLeftForFloat()
245 …t ETextAlign&, const RootInlineBox*, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLo…
413 …InlineDirectionPositionsForSegment(RootInlineBox*, const LineInfo&, ETextAlign, float& logicalLeft,
DRenderRubyBase.h56 …virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, fl…
DInlineBox.h207 float logicalLeft() const { return isHorizontal() ? m_topLeft.x() : m_topLeft.y(); } in logicalLeft() function
208 float logicalRight() const { return logicalLeft() + logicalWidth(); } in logicalRight()
216 int pixelSnappedLogicalLeft() const { return logicalLeft(); } in pixelSnappedLogicalLeft()
DRootInlineBox.cpp140 if (ltr && (logicalLeft() + logicalWidth() + ellipsisWidth) <= blockRightEdge) { in placeEllipsis()
141 ellipsisBox->setLogicalLeft(logicalLeft() + logicalWidth()); in placeEllipsis()
437 … firstBox->parent()->renderer(), firstBox->logicalLeft(), selTop, selHeight, paintInfo)); in lineSelectionGap()
455 … LayoutRect logicalRect(lastLogicalLeft, selTop, box->logicalLeft() - lastLogicalLeft, selHeight); in lineSelectionGap()
630 …if (leftPosition <= firstLeaf->logicalLeft() && !firstLeaf->renderer()->isListMarker() && (!onlyEd… in closestLeafChildForLogicalLeftPosition()
708 …lineLayoutOverflow.shiftXEdgeTo(min<LayoutUnit>(lineLayoutOverflow.x(), logicalLeft() - endPadding… in paddedLayoutOverflowRect()
713 …lineLayoutOverflow.shiftYEdgeTo(min<LayoutUnit>(lineLayoutOverflow.y(), logicalLeft() - endPadding… in paddedLayoutOverflowRect()
DRenderBlock.cpp1674 void RenderBlock::setLogicalLeftForChild(RenderBox* child, LayoutUnit logicalLeft, ApplyLayoutDelta… in setLogicalLeftForChild() argument
1678 view()->addLayoutDelta(LayoutSize(child->x() - logicalLeft, 0)); in setLogicalLeftForChild()
1679 child->setX(logicalLeft); in setLogicalLeftForChild()
1682 view()->addLayoutDelta(LayoutSize(0, child->y() - logicalLeft)); in setLogicalLeftForChild()
1683 child->setY(logicalLeft); in setLogicalLeftForChild()
1809 LayoutUnit oldLeft = box->logicalLeft(); in markFixedPositionObjectForLayoutIfNeeded()
1811 if (box->logicalLeft() != oldLeft) in markFixedPositionObjectForLayoutIfNeeded()
2569 …rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, this, curr->logicalLeft(), curr->logica… in blockSelectionGaps()
2596 …LayoutUnit logicalLeft = max(lastLogicalLeft, logicalLeftSelectionOffset(rootBlock, logicalBottom)… in blockSelectionGap() local
2598 LayoutUnit logicalWidth = logicalRight - logicalLeft; in blockSelectionGap()
[all …]
DFloatingObjects.cpp460 LayoutUnit logicalLeft = m_renderer->logicalLeftForFloat(floatingObject); in updateOffsetIfNeeded() local
461 if (logicalLeft < m_offset) { in updateOffsetIfNeeded()
462 m_offset = logicalLeft; in updateOffsetIfNeeded()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShape.h43 LineSegment(float logicalLeft, float logicalRight) in LineSegment()
44 : logicalLeft(logicalLeft) in LineSegment()
49 float logicalLeft; member
DShapeOutsideInfo.cpp73 …LayoutUnit rawLeftMarginBoxDelta = segments.first().logicalLeft + containingBlock->marginStartForC… in updateDeltasForContainingBlockLine()
DShapeInfo.cpp92 segments[i].logicalLeft += logicalLeftOffset(); in computeSegmentsForLine()
DBoxShapeTest.cpp59 EXPECT_EQ(expectedLeft, result[0].logicalLeft); \
DShapeInsideInfo.cpp67 m_segments[i].logicalLeft -= lineOffset.width(); in updateSegmentsForLine()
/external/chromium_org/third_party/WebKit/Source/platform/
DLengthBox.cpp36 Length LengthBox::logicalLeft(WritingMode writingMode) const in logicalLeft() function in WebCore::LengthBox
DLengthBox.h77 Length logicalLeft(WritingMode) const;
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DLayoutBoxExtent.h59 LayoutUnit logicalLeft(WritingMode) const;
DLayoutBoxExtent.cpp48 LayoutUnit LayoutBoxExtent::logicalLeft(WritingMode writingMode) const in logicalLeft() function in WebCore::LayoutBoxExtent

12