Home
last modified time | relevance | path

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

12

/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.cpp1336 layer()->setStaticInlinePosition(lroundf(box->logicalLeft())); in positionLineBox()
2169 fromLeft = first->logicalLeft() + first->borderLogicalLeft(); in containingBlockLogicalWidthForPositioned()
2170 fromRight = last->logicalLeft() + last->logicalWidth() - last->borderLogicalRight(); in containingBlockLogicalWidthForPositioned()
2172 fromRight = first->logicalLeft() + first->logicalWidth() - first->borderLogicalRight(); in containingBlockLogicalWidthForPositioned()
2173 fromLeft = last->logicalLeft() + last->borderLogicalLeft(); in containingBlockLogicalWidthForPositioned()
2216 static void computeInlineStaticDistance(Length& logicalLeft, Length& logicalRight, const RenderBox*… in computeInlineStaticDistance() argument
2219 if (!logicalLeft.isAuto() || !logicalRight.isAuto()) in computeInlineStaticDistance()
2227 staticPosition += toRenderBox(curr)->logicalLeft(); in computeInlineStaticDistance()
2229 logicalLeft.setValue(Fixed, staticPosition); in computeInlineStaticDistance()
2236 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()
DRenderRubyBase.cpp202 …:adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logical… in adjustInlineDirectionLineBounds() argument
211 logicalLeft += inset / 2; in adjustInlineDirectionLineBounds()
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()
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.cpp484 … firstTextBox()->root()->selectionBottom() && pointLineDirection < firstTextBox()->logicalLeft()) { in positionForPoint()
507 if (pointLineDirection == box->logicalLeft()) in positionForPoint()
517 if (!box->prevOnLine() && pointLineDirection < box->logicalLeft()) in positionForPoint()
559 float rootLeft = box->root()->logicalLeft(); in localCaretRect()
572 leftEdge = cb->logicalLeft(); in localCaretRect()
575 leftEdge = min(static_cast<float>(cb->logicalLeft()), rootLeft); in localCaretRect()
1347 if (curr == firstTextBox() || curr->logicalLeft() < logicalLeftSide) in linesBoundingBox()
1348 logicalLeftSide = curr->logicalLeft(); in linesBoundingBox()
DRenderBlock.cpp1308 … addOverhangingFloats(block, -block->logicalLeft(), -block->logicalTop(), false); in layoutBlock()
1876 void RenderBlock::setLogicalLeftForChild(RenderBox* child, int logicalLeft, ApplyLayoutDeltaMode ap… in setLogicalLeftForChild() argument
1880 view()->addLayoutDelta(IntSize(child->x() - logicalLeft, 0)); in setLogicalLeftForChild()
1881 child->setX(logicalLeft); in setLogicalLeftForChild()
1884 view()->addLayoutDelta(IntSize(0, child->y() - logicalLeft)); in setLogicalLeftForChild()
1885 child->setY(logicalLeft); in setLogicalLeftForChild()
2112 …FloatLogicalBottom, addOverhangingFloats(toRenderBlock(child), -child->logicalLeft(), -child->logi… in layoutBlockChild()
2933 IntRect logicalRect(curr->logicalLeft(), selTop, curr->logicalWidth(), selTop + selHeight); in inlineSelectionGaps()
3000 …rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, this, curr->logicalLeft(), curr->logica… in blockSelectionGaps()
3027 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.cpp1227 if (logicalLeft() == 0) in textPos()
1229 return logicalLeft() - root()->logicalLeft(); in textPos()
1243 if (lineOffset - logicalLeft() > logicalWidth()) in offsetForPosition()
1245 if (lineOffset - logicalLeft() < 0) in offsetForPosition()
1253 lineOffset - logicalLeft(), includePartialGlyphs); in offsetForPosition()
1265 return logicalLeft(); in positionForOffset()
1273 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()
446 … 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.cpp305 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.cpp3305 int logicalLeft = columnBlock->logicalLeftOffsetForContent(); in scrollTo() local
3320 int currLogicalLeftOffset = (isHorizontal ? colRect.x() : colRect.y()) - logicalLeft; in scrollTo()
/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
1343 …void getShadowInlineDirectionExtent(const ShadowData* shadow, int& logicalLeft, int& logicalRight)… in getShadowInlineDirectionExtent() argument
1345 …e() ? getShadowHorizontalExtent(shadow, logicalLeft, logicalRight) : getShadowVerticalExtent(shado… in getShadowInlineDirectionExtent()
/external/webkit/Source/WebKit/android/jni/
DWebViewCore.cpp1699 int left = root->logicalLeft(); in positionToTextRect()
/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):

12