Searched defs:logicalLeft (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DLengthBox.cpp36 Length LengthBox::logicalLeft(WritingMode writingMode) const function in class:WebCore::LengthBox
/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 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 DRenderRubyBase.cpp146 void RenderRubyBase::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const argument
155 logicalLeft += inset / 2;
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 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 DRenderFlowThread.cpp241 LayoutUnit logicalLeft = style()->direction() == LTR ? LayoutUnit() : logicalWidth - regionLogicalWidth; local
242 region->setRenderBoxRegionInfo(this, logicalLeft, regionLogicalWidth, false);
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 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 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 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 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 DRenderLayer.cpp4697 LayoutUnit logicalLeft = columnBlock->logicalLeftOffsetForContent(); local
4712 LayoutUnit currLogicalLeftOffset = (isHorizontal ? colRect.x() : colRect.y()) - 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
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DLayoutBoxExtent.cpp46 LayoutUnit LayoutBoxExtent::logicalLeft(WritingMode writingMode) const function in class:WebCore::LayoutBoxExtent
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.h421 Length logicalLeft() const { return surround->offset.logicalLeft(writingMode()); } function in class:WebCore::RenderStyle
703 void getTextShadowInlineDirectionExtent(LayoutUnit& logicalLeft, LayoutUnit& logicalRight) { getShadowInlineDirectionExtent(textShadow(), logicalLeft, logicalRight); } local
757 void getBoxShadowInlineDirectionExtent(LayoutUnit& logicalLeft, LayoutUnit& logicalRight) { getShadowInlineDirectionExtent(boxShadow(), logicalLeft, logicalRight); } local
1645 void getShadowInlineDirectionExtent(const ShadowData* shadow, LayoutUnit& logicalLeft, LayoutUnit& logicalRight) const argument
1647 return isHorizontalWritingMode() ? getShadowHorizontalExtent(shadow, logicalLeft, logicalRight) : getShadowVerticalExtent(shadow, logicalLeft, logicalRight);

Completed in 398 milliseconds