Searched refs:logicalLeft (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderBoxRegionInfo.h38 RenderBoxRegionInfo(LayoutUnit logicalLeft, LayoutUnit logicalWidth, bool isShifted) argument
39 : m_logicalLeft(logicalLeft)
44 LayoutUnit logicalLeft() const { return m_logicalLeft; } function in class:WebCore::RenderBoxRegionInfo
H A DRenderRubyText.cpp65 void RenderRubyText::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const argument
70 return RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth);
82 logicalLeft += inset / 2;
H A DRenderRubyText.h53 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
H A DRenderRubyBase.h56 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
H A DRenderFieldset.cpp71 LayoutUnit logicalLeft; local
75 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2;
78 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend);
81 logicalLeft = borderStart() + paddingStart() + marginStartForChild(legend);
87 logicalLeft = borderStart() + paddingStart();
93 logicalLeft = centeredWidth - centeredWidth / 2;
97 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend);
102 setLogicalLeftForChild(legend, logicalLeft);
H A DInlineFlowBox.h124 // logicalLeft = left in a horizontal line and top in a vertical line.
175 float placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing, GlyphOverflowAndFallbackFontsMap&);
176 float placeBoxRangeInInlineDirection(InlineBox* firstChild, InlineBox* lastChild, float& logicalLeft, float& minLogicalLeft, float& maxLogicalRight, bool& needsWordSpacing, GlyphOverflowAndFallbackFontsMap&);
177 void beginPlacingBoxRangesInInlineDirection(float logicalLeft) { setLogicalLeft(logicalLeft); } argument
178 void endPlacingBoxRangesInInlineDirection(float logicalLeft, float logicalRight, float minLogicalLeft, float maxLogicalRight) argument
180 setLogicalWidth(logicalRight - logicalLeft);
181 if (knownToHaveNoOverflow() && (minLogicalLeft < logicalLeft || maxLogicalRight > logicalRight))
225 static_cast<LayoutUnit>(logicalLeft());
256 LayoutUnit logicalLeftVisualOverflow() const { return m_overflow ? (isHorizontal() ? m_overflow->visualOverflowRect().x() : m_overflow->visualOverflowRect().y()) : static_cast<LayoutUnit>(logicalLeft()); }
[all...]
H A DRenderRubyBase.cpp146 void RenderRubyBase::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const argument
155 logicalLeft += inset / 2;
H A DInlineFlowBox.cpp359 float InlineFlowBox::placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing, GlyphOverflowAndFallbackFontsMap& textBoxDataMap) argument
362 beginPlacingBoxRangesInInlineDirection(logicalLeft);
364 float startLogicalLeft = logicalLeft;
365 logicalLeft += borderLogicalLeft() + paddingLogicalLeft();
368 float maxLogicalRight = logicalLeft;
370 placeBoxRangeInInlineDirection(firstChild(), 0, logicalLeft, minLogicalLeft, maxLogicalRight, needsWordSpacing, textBoxDataMap); local
372 logicalLeft += borderLogicalRight() + paddingLogicalRight();
373 endPlacingBoxRangesInInlineDirection(startLogicalLeft, logicalLeft, minLogicalLeft, maxLogicalRight);
374 return logicalLeft;
377 float InlineFlowBox::placeBoxRangeInInlineDirection(InlineBox* firstChild, InlineBox* lastChild, float& logicalLeft, floa argument
[all...]
H A DRenderBlockLineLayout.cpp154 m_left = max<float>(m_segment->logicalLeft, m_left);
700 static void updateLogicalWidthForLeftAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument
713 logicalLeft -= (totalLogicalWidth - availableLogicalWidth);
716 static void updateLogicalWidthForRightAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument
727 logicalLeft += availableLogicalWidth - totalLogicalWidth;
735 logicalLeft += availableLogicalWidth - totalLogicalWidth;
738 static void updateLogicalWidthForCenterAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument
747 logicalLeft += max<float>((availableLogicalWidth - totalLogicalWidth) / 2, 0);
749 logicalLeft += totalLogicalWidth > availableLogicalWidth ? (availableLogicalWidth - totalLogicalWidth) : (availableLogicalWidth - totalLogicalWidth) / 2 - trailingSpaceWidth;
913 void RenderBlock::updateLogicalWidthForAlignment(const ETextAlign& textAlign, BidiRun* trailingSpaceRun, float& logicalLeft, floa argument
1000 float logicalLeft = max<float>(roundToInt(segments[0].logicalLeft), lineLogicalLeft); local
1038 computeInlineDirectionPositionsForSegment(RootInlineBox* lineBox, const LineInfo& lineInfo, ETextAlign textAlign, float& logicalLeft, float& availableLogicalWidth, BidiRun* firstRun, BidiRun* trailingSpaceRun, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, VerticalPositionCache& verticalPositionCache, WordMeasurements& wordMeasurements) argument
3335 float logicalLeft = pixelSnappedLogicalLeftOffsetForLine(curr->lineTop(), firstLine); local
3383 float logicalLeft = 0; // We are only intersted in the delta from the base position. local
3457 float logicalLeft = logicalLeftOffsetForLine(logicalHeight(), false); local
[all...]
H A DRenderBox.cpp120 LayoutUnit logicalLeft = boxInfo->logicalLeft(); local
129 logicalLeft += currentBoxInfo->logicalLeft();
131 logicalLeft -= (currentBox->logicalWidth() - currentBoxInfo->logicalWidth()) - currentBoxInfo->logicalLeft();
142 return LayoutRect(logicalLeft, 0, logicalWidth, height());
143 return LayoutRect(0, logicalLeft, width(), logicalWidth);
1893 root->block()->setStaticInlinePositionForChild(this, root->lineTopWithLeading(), LayoutUnit::fromFloatRound(box->logicalLeft()));
2115 computedValues.m_position = logicalLeft();
3100 computeInlineStaticDistance(Length& logicalLeft, Length& logicalRight, const RenderBox* child, const RenderBoxModelObject* containerBlock, LayoutUnit containerLogicalWidth, RenderRegion* region) argument
3294 computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection, LayoutUnit containerLogicalWidth, LayoutUnit bordersPlusPadding, Length logicalLeft, Length logicalRight, Length marginLogicalLeft, Length marginLogicalRight, LogicalExtentComputedValues& computedValues) const argument
3776 Length logicalLeft = style()->logicalLeft(); local
[all...]
H A DInlineBox.h207 // The logicalLeft position is the left edge of the line box in a horizontal line and the top edge in a vertical line.
208 float logicalLeft() const { return isHorizontal() ? m_topLeft.x() : m_topLeft.y(); } function in class:WebCore::InlineBox
209 float logicalRight() const { return logicalLeft() + logicalWidth(); }
217 int pixelSnappedLogicalLeft() const { return logicalLeft(); }
H A DInlineTextBox.cpp213 FloatPoint startingPoint = FloatPoint(logicalLeft(), selTop);
1423 if (logicalLeft() == 0)
1425 return logicalLeft() - root()->logicalLeft();
1433 if (lineOffset - logicalLeft() > logicalWidth())
1435 if (lineOffset - logicalLeft() < 0)
1443 return font.offsetForPosition(constructTextRun(style, font), lineOffset - logicalLeft(), includePartialGlyphs);
1452 return logicalLeft();
1463 return font.selectionRectForText(constructTextRun(styleToUse, font), IntPoint(logicalLeft(), 0), 0, from, to).maxX();
H A DRenderListItem.cpp321 LayoutUnit markerOldLogicalLeft = m_marker->logicalLeft();
326 lineOffset += o->logicalLeft();
H A DRenderBox.h78 LayoutUnit logicalLeft() const { return style()->isHorizontalWritingMode() ? x() : y(); } function in class:WebCore::RenderBox
79 LayoutUnit logicalRight() const { return logicalLeft() + logicalWidth(); }
257 LayoutUnit marginLogicalLeft() const { return m_marginBox.logicalLeft(style()->writingMode()); }
651 Length logicalLeft, Length logicalRight, Length marginLogicalLeft, Length marginLogicalRight,
H A DRenderRubyRun.cpp296 logicalLeftOverhang = min<int>(logicalLeftOverhang, rootInlineBox->logicalLeft());
H A DRenderBlock.h239 RenderObject* selObj, LayoutUnit logicalLeft, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo*);
340 void setLogicalLeftForChild(RenderBox* child, LayoutUnit logicalLeft, ApplyLayoutDeltaMode = DoNotApplyLayoutDelta);
353 void updateLogicalWidthForAlignment(const ETextAlign&, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float& availableLogicalWidth, int expansionOpportunityCount);
522 virtual void adjustInlineDirectionLineBounds(int /* expansionOpportunityCount */, float& /* logicalLeft */, float& /* logicalWidth */) const { }
774 void setLogicalLeftForFloat(FloatingObject* child, LayoutUnit logicalLeft) argument
777 child->setX(logicalLeft);
779 child->setY(logicalLeft);
863 BidiRun* computeInlineDirectionPositionsForSegment(RootInlineBox*, const LineInfo&, ETextAlign, float& logicalLeft,
H A DRenderBlock.cpp2426 void RenderBlock::setLogicalLeftForChild(RenderBox* child, LayoutUnit logicalLeft, ApplyLayoutDeltaMode applyDelta) argument
2430 view()->addLayoutDelta(LayoutSize(child->x() - logicalLeft, 0));
2431 child->setX(logicalLeft);
2434 view()->addLayoutDelta(LayoutSize(0, child->y() - logicalLeft));
2435 child->setY(logicalLeft);
2769 LayoutUnit oldLeft = box->logicalLeft();
2771 if (box->logicalLeft() != oldLeft)
3542 LayoutRect logicalRect(curr->logicalLeft(), selTop, curr->logicalWidth(), selTop + selHeight);
3609 result.uniteLeft(logicalLeftSelectionGap(rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, this, curr->logicalLeft(), curr->logicalTop(), curr->logicalHeight(), paintInfo));
3636 LayoutUnit logicalLeft
3648 logicalLeftSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, RenderObject* selObj, LayoutUnit logicalLeft, LayoutUnit logicalTop, LayoutUnit logicalHeight, const PaintInfo* paintInfo) argument
3693 LayoutUnit logicalLeft = logicalLeftOffsetForLine(position, false); local
5191 LayoutUnit logicalLeft = parent->isHorizontalWritingMode() ? pointInChildCoordinates.x() : pointInChildCoordinates.y(); local
5755 LayoutUnit logicalLeft = logicalLeftOffsetForContent(); local
[all...]
H A DRenderText.cpp490 if (pointLineDirection <= box->logicalLeft()) {
504 if (!box->prevLeafChildIgnoringLineBreak() && pointLineDirection < box->logicalLeft())
671 float rootLeft = box->root()->logicalLeft();
1519 if (curr == firstTextBox() || curr->logicalLeft() < logicalLeftSide)
1520 logicalLeftSide = curr->logicalLeft();
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DShape.h42 LineSegment(float logicalLeft, float logicalRight) argument
43 : logicalLeft(logicalLeft)
48 float logicalLeft; member in struct:WebCore::LineSegment
H A DShapeInfo.cpp67 m_segments[i].logicalLeft += logicalLeftOffset;
H A DShapeOutsideInfo.cpp52 m_leftSegmentMarginBoxDelta = m_segments[0].logicalLeft + m_renderer->marginStart();
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DLengthBox.cpp36 Length LengthBox::logicalLeft(WritingMode writingMode) const function in class:WebCore::LengthBox
H A DLengthBox.h75 Length logicalLeft(WritingMode) const;
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DLayoutBoxExtent.h58 LayoutUnit logicalLeft(WritingMode) const;
H A DLayoutBoxExtent.cpp46 LayoutUnit LayoutBoxExtent::logicalLeft(WritingMode writingMode) const function in class:WebCore::LayoutBoxExtent

Completed in 2479 milliseconds

12