Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/rendering/
DRenderFieldset.cpp75 int logicalLeft; in layoutSpecialExcludedChild() local
79 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2; in layoutSpecialExcludedChild()
82logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend); in layoutSpecialExcludedChild()
85 logicalLeft = borderStart() + paddingStart() + marginStartForChild(legend); in layoutSpecialExcludedChild()
91 logicalLeft = borderStart() + paddingStart(); in layoutSpecialExcludedChild()
97 logicalLeft = centeredWidth - centeredWidth / 2; in layoutSpecialExcludedChild()
101logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logi… in layoutSpecialExcludedChild()
106 setLogicalLeftForChild(legend, logicalLeft); in layoutSpecialExcludedChild()
DRenderRubyText.cpp64 …:adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logical… in adjustInlineDirectionLineBounds() argument
68 …return RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logica… in adjustInlineDirectionLineBounds()
80 logicalLeft += inset / 2; in adjustInlineDirectionLineBounds()
DInlineFlowBox.cpp342 float InlineFlowBox::placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing, GlyphOv… in placeBoxesInInlineDirection() argument
345 setLogicalLeft(logicalLeft); in placeBoxesInInlineDirection()
347 float startLogicalLeft = logicalLeft; in placeBoxesInInlineDirection()
348 logicalLeft += borderLogicalLeft() + paddingLogicalLeft(); in placeBoxesInInlineDirection()
351 float maxLogicalRight = logicalLeft; in placeBoxesInInlineDirection()
359 logicalLeft += rt->style(m_firstLine)->font().wordSpacing(); in placeBoxesInInlineDirection()
362 text->setLogicalLeft(logicalLeft); in placeBoxesInInlineDirection()
364 minLogicalLeft = min(logicalLeft, minLogicalLeft); in placeBoxesInInlineDirection()
365 logicalLeft += text->logicalWidth(); in placeBoxesInInlineDirection()
367 maxLogicalRight = max(logicalLeft, maxLogicalRight); in placeBoxesInInlineDirection()
[all …]
DRenderBox.cpp1331 layer()->setStaticInlinePosition(lroundf(box->logicalLeft())); in positionLineBox()
2157 fromLeft = first->logicalLeft() + first->borderLogicalLeft(); in containingBlockLogicalWidthForPositioned()
2158 fromRight = last->logicalLeft() + last->logicalWidth() - last->borderLogicalRight(); in containingBlockLogicalWidthForPositioned()
2160 fromRight = first->logicalLeft() + first->logicalWidth() - first->borderLogicalRight(); in containingBlockLogicalWidthForPositioned()
2161 fromLeft = last->logicalLeft() + last->borderLogicalLeft(); in containingBlockLogicalWidthForPositioned()
2204 static void computeInlineStaticDistance(Length& logicalLeft, Length& logicalRight, const RenderBox*… in computeInlineStaticDistance() argument
2207 if (!logicalLeft.isAuto() || !logicalRight.isAuto()) in computeInlineStaticDistance()
2215 staticPosition += toRenderBox(curr)->logicalLeft(); in computeInlineStaticDistance()
2217 logicalLeft.setValue(Fixed, staticPosition); in computeInlineStaticDistance()
2224 staticPosition -= toRenderBox(curr)->logicalLeft(); in computeInlineStaticDistance()
[all …]
DInlineFlowBox.h164 …float placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing, GlyphOverflowAndFallb…
200 …izontal() ? m_overflow->minXLayoutOverflow() : m_overflow->minYLayoutOverflow()) : logicalLeft(); } in logicalLeftLayoutOverflow()
226 …izontal() ? m_overflow->minXVisualOverflow() : m_overflow->minYVisualOverflow()) : logicalLeft(); } in logicalLeftVisualOverflow()
261 return FloatRect(logicalLeft(), lineTop, logicalWidth(), lineBottom - lineTop); in logicalFrameRectIncludingLineHeight()
DInlineBox.h236 float logicalLeft() const { return isHorizontal() ? m_x : m_y; } in logicalLeft() function
237 float logicalRight() const { return logicalLeft() + logicalWidth(); } in logicalRight()
245 int pixelSnappedLogicalLeft() const { return logicalLeft(); } in pixelSnappedLogicalLeft()
DRenderRubyBase.cpp202 …:adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logical… in adjustInlineDirectionLineBounds() argument
211 logicalLeft += inset / 2; in adjustInlineDirectionLineBounds()
DRenderRubyText.h51 …virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, fl…
DRenderBlockLineLayout.cpp376 …edBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLo… in updateLogicalWidthForLeftAlignedBlock() argument
389 logicalLeft -= (totalLogicalWidth - availableLogicalWidth); in updateLogicalWidthForLeftAlignedBlock()
392 …edBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLo… in updateLogicalWidthForRightAlignedBlock() argument
403 logicalLeft += availableLogicalWidth - totalLogicalWidth; in updateLogicalWidthForRightAlignedBlock()
411 logicalLeft += availableLogicalWidth - totalLogicalWidth; in updateLogicalWidthForRightAlignedBlock()
414 …edBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLo… in updateLogicalWidthForCenterAlignedBlock() argument
423 logicalLeft += max<float>((availableLogicalWidth - totalLogicalWidth) / 2, 0); in updateLogicalWidthForCenterAlignedBlock()
425logicalLeft += totalLogicalWidth > availableLogicalWidth ? (availableLogicalWidth - totalLogicalWi… in updateLogicalWidthForCenterAlignedBlock()
432 float logicalLeft = logicalLeftOffsetForLine(logicalHeight(), firstLine); in computeInlineDirectionPositionsForLine() local
433 … float availableLogicalWidth = logicalRightOffsetForLine(logicalHeight(), firstLine) - logicalLeft; in computeInlineDirectionPositionsForLine()
[all …]
DRenderRubyBase.h53 …virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, fl…
DRenderListItem.cpp255 int markerOldLogicalLeft = m_marker->logicalLeft(); in positionListMarker()
260 lineOffset += o->logicalLeft(); in positionListMarker()
297 …markerLogicalLeft = m_marker->logicalLeft() + paddingStart() + borderStart() + m_marker->marginEnd… in positionListMarker()
DRenderText.cpp449 … firstTextBox()->root()->selectionBottom() && pointLineDirection < firstTextBox()->logicalLeft()) { in positionForPoint()
472 if (pointLineDirection == box->logicalLeft()) in positionForPoint()
482 if (!box->prevOnLine() && pointLineDirection < box->logicalLeft()) in positionForPoint()
524 float rootLeft = box->root()->logicalLeft(); in localCaretRect()
537 leftEdge = cb->logicalLeft(); in localCaretRect()
540 leftEdge = min(static_cast<float>(cb->logicalLeft()), rootLeft); in localCaretRect()
1290 if (curr == firstTextBox() || curr->logicalLeft() < logicalLeftSide) in linesBoundingBox()
1291 logicalLeftSide = curr->logicalLeft(); in linesBoundingBox()
DRenderBlock.cpp1293 … addOverhangingFloats(block, -block->logicalLeft(), -block->logicalTop(), false); in layoutBlock()
1856 void RenderBlock::setLogicalLeftForChild(RenderBox* child, int logicalLeft, ApplyLayoutDeltaMode ap… in setLogicalLeftForChild() argument
1860 view()->addLayoutDelta(IntSize(child->x() - logicalLeft, 0)); in setLogicalLeftForChild()
1861 child->setX(logicalLeft); in setLogicalLeftForChild()
1864 view()->addLayoutDelta(IntSize(0, child->y() - logicalLeft)); in setLogicalLeftForChild()
1865 child->setY(logicalLeft); in setLogicalLeftForChild()
2092 …FloatLogicalBottom, addOverhangingFloats(toRenderBlock(child), -child->logicalLeft(), -child->logi… in layoutBlockChild()
2909 IntRect logicalRect(curr->logicalLeft(), selTop, curr->logicalWidth(), selTop + selHeight); in inlineSelectionGaps()
2976 …rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, this, curr->logicalLeft(), curr->logica… in blockSelectionGaps()
3003 int logicalLeft = max(lastLogicalLeft, logicalLeftSelectionOffset(rootBlock, logicalBottom)); in blockSelectionGap() local
[all …]
DRenderBlock.h125 … RenderObject* selObj, int logicalLeft, int logicalTop, int logicalHeight, const PaintInfo*);
181 …void setLogicalLeftForChild(RenderBox* child, int logicalLeft, ApplyLayoutDeltaMode = DoNotApplyLa…
454 void setLogicalLeftForFloat(FloatingObject* child, int logicalLeft) in setLogicalLeftForFloat() argument
457 child->setX(logicalLeft); in setLogicalLeftForFloat()
459 child->setY(logicalLeft); in setLogicalLeftForFloat()
DInlineTextBox.cpp1222 if (logicalLeft() == 0) in textPos()
1224 return logicalLeft() - root()->logicalLeft(); in textPos()
1238 if (lineOffset - logicalLeft() > logicalWidth()) in offsetForPosition()
1240 if (lineOffset - logicalLeft() < 0) in offsetForPosition()
1248 lineOffset - logicalLeft(), includePartialGlyphs); in offsetForPosition()
1260 return logicalLeft(); in positionForOffset()
1268 IntPoint(logicalLeft(), 0), 0, from, to).maxX(); in positionForOffset()
DRenderBox.h57 int logicalLeft() const { return style()->isHorizontalWritingMode() ? x() : y(); } in logicalLeft() function
58 int logicalRight() const { return logicalLeft() + logicalWidth(); } in logicalRight()
444 … Length logicalLeft, Length logicalRight, Length marginLogicalLeft, Length marginLogicalRight,
DRenderRubyRun.cpp294 logicalLeftOverhang = min<int>(logicalLeftOverhang, rootInlineBox->logicalLeft()); in getOverhang()
DRootInlineBox.cpp321 … firstBox->parent()->renderer(), firstBox->logicalLeft(), selTop, selHeight, paintInfo)); in lineSelectionGap()
339 … IntRect logicalRect(lastLogicalLeft, selTop, box->logicalLeft() - lastLogicalLeft, selHeight); in lineSelectionGap()
469 …if (leftPosition <= firstLeaf->logicalLeft() && !firstLeaf->renderer()->isListMarker() && (!onlyEd… in closestLeafChildForLogicalLeftPosition()
DRenderReplaced.cpp297 if (lineDirectionPosition <= box->logicalLeft() + (box->logicalWidth() / 2)) in positionForPoint()
DRenderInline.cpp762 if (curr == firstLineBox() || curr->logicalLeft() < logicalLeftSide) in linesBoundingBox()
763 logicalLeftSide = curr->logicalLeft(); in linesBoundingBox()
1311 inlinePosition = lroundf(firstLineBox()->logicalLeft()); in relativePositionedInlineOffset()
DRenderLayer.cpp3284 int logicalLeft = columnBlock->logicalLeftOffsetForContent(); in hitTestChildLayerColumns() local
3299 int currLogicalLeftOffset = (isHorizontal ? colRect.x() : colRect.y()) - logicalLeft; in hitTestChildLayerColumns()
/external/webkit/Source/WebCore/rendering/style/
DRenderStyle.h381 Length logicalLeft() const { return isHorizontalWritingMode() ? left() : top(); } in logicalLeft() function
658 …adowInlineDirectionExtent(int& logicalLeft, int& logicalRight) { getShadowInlineDirectionExtent(te… in getTextShadowInlineDirectionExtent() argument
678 …hadowInlineDirectionExtent(int& logicalLeft, int& logicalRight) { getShadowInlineDirectionExtent(b… in getBoxShadowInlineDirectionExtent() argument
1382 …void getShadowInlineDirectionExtent(const ShadowData* shadow, int& logicalLeft, int& logicalRight)… in getShadowInlineDirectionExtent() argument
1384 …e() ? getShadowHorizontalExtent(shadow, logicalLeft, logicalRight) : getShadowVerticalExtent(shado… in getShadowInlineDirectionExtent()
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1622553 Changing RenderText::localCaretRect to clip to its containing block's logicalLeft and
22554 logicalRightLayoutOverflow instead of simply using logicalLeft and logicalRight, as this
23060 Changing RenderText::localCaretRect to clip to its containing block's logicalLeft and
23061 logicalRightLayoutOverflow instead of simply using logicalLeft and logicalRight, as this
DChangeLog-2010-12-067576 …Fix the position of outside markers by setting its logicalLeft member. Embedded markers need speci…
7577 …First, the total width of markers should be calculated. Subtracting it from logicalLeft we get the…
21206 (WebCore::InlineBox::logicalLeft):
38386 (WebCore::RenderBox::logicalLeft):
45863 (WebCore::RenderBox::logicalLeft):
48204 Add logicalLeft/Top getter/setters to line boxes.
48207 (WebCore::InlineBox::logicalLeft):
DChangeLog40346 …Change logicalLeft/RightOffsetForLine to iterate backwards instead of forwards and to stop the mom…
61290 (WebCore::InheritedFlags::logicalLeft):
65112 (WebCore::InlineBox::logicalLeft):