/external/webkit/Source/WebCore/rendering/ |
H A D | RenderRubyText.cpp | 64 void RenderRubyText::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const argument 68 return RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); 80 logicalLeft += inset / 2;
|
H A D | RenderFieldset.cpp | 75 int logicalLeft; local 79 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2; 82 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend); 85 logicalLeft = borderStart() + paddingStart() + marginStartForChild(legend); 91 logicalLeft = borderStart() + paddingStart(); 97 logicalLeft = centeredWidth - centeredWidth / 2; 101 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend); 106 setLogicalLeftForChild(legend, logicalLeft);
|
H A D | RenderRubyBase.cpp | 202 void RenderRubyBase::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const argument 211 logicalLeft += inset / 2;
|
H A D | InlineBox.h | 235 // The logicalLeft position is the left edge of the line box in a horizontal line and the top edge in a vertical line. 236 float logicalLeft() const { return isHorizontal() ? m_x : m_y; } function in class:WebCore::InlineBox 237 float logicalRight() const { return logicalLeft() + logicalWidth(); } 245 int pixelSnappedLogicalLeft() const { return logicalLeft(); }
|
H A D | RenderBox.h | 57 int logicalLeft() const { return style()->isHorizontalWritingMode() ? x() : y(); } function in class:WebCore::RenderBox 58 int logicalRight() const { return logicalLeft() + logicalWidth(); } 446 Length logicalLeft, Length logicalRight, Length marginLogicalLeft, Length marginLogicalRight,
|
H A D | InlineFlowBox.cpp | 342 float InlineFlowBox::placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing, GlyphOverflowAndFallbackFontsMap& textBoxDataMap) argument 345 setLogicalLeft(logicalLeft); 347 float startLogicalLeft = logicalLeft; 348 logicalLeft += borderLogicalLeft() + paddingLogicalLeft(); 351 float maxLogicalRight = logicalLeft; 359 logicalLeft += rt->style(m_firstLine)->font().wordSpacing(); 362 text->setLogicalLeft(logicalLeft); 364 minLogicalLeft = min(logicalLeft, minLogicalLeft); 365 logicalLeft += text->logicalWidth(); 367 maxLogicalRight = max(logicalLeft, maxLogicalRigh [all...] |
H A D | RenderBlock.h | 125 RenderObject* selObj, int logicalLeft, int logicalTop, int logicalHeight, const PaintInfo*); 181 void setLogicalLeftForChild(RenderBox* child, int logicalLeft, ApplyLayoutDeltaMode = DoNotApplyLayoutDelta); 281 virtual void adjustInlineDirectionLineBounds(int /* expansionOpportunityCount */, float& /* logicalLeft */, float& /* logicalWidth */) const { } 454 void setLogicalLeftForFloat(FloatingObject* child, int logicalLeft) argument 457 child->setX(logicalLeft); 459 child->setY(logicalLeft);
|
H A D | RenderBlockLineLayout.cpp | 376 static void updateLogicalWidthForLeftAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument 389 logicalLeft -= (totalLogicalWidth - availableLogicalWidth); 392 static void updateLogicalWidthForRightAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument 403 logicalLeft += availableLogicalWidth - totalLogicalWidth; 411 logicalLeft += availableLogicalWidth - totalLogicalWidth; 414 static void updateLogicalWidthForCenterAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument 423 logicalLeft += max<float>((availableLogicalWidth - totalLogicalWidth) / 2, 0); 425 logicalLeft += totalLogicalWidth > availableLogicalWidth ? (availableLogicalWidth - totalLogicalWidth) : (availableLogicalWidth - totalLogicalWidth) / 2 - trailingSpaceWidth; 432 float logicalLeft = logicalLeftOffsetForLine(logicalHeight(), firstLine); local 433 float availableLogicalWidth = logicalRightOffsetForLine(logicalHeight(), firstLine) - logicalLeft; [all...] |
H A D | RenderBox.cpp | 1336 layer()->setStaticInlinePosition(lroundf(box->logicalLeft())); 2169 fromLeft = first->logicalLeft() + first->borderLogicalLeft(); 2170 fromRight = last->logicalLeft() + last->logicalWidth() - last->borderLogicalRight(); 2172 fromRight = first->logicalLeft() + first->logicalWidth() - first->borderLogicalRight(); 2173 fromLeft = last->logicalLeft() + last->borderLogicalLeft(); 2216 static void computeInlineStaticDistance(Length& logicalLeft, Length& logicalRight, const RenderBox* child, const RenderBoxModelObject* containerBlock, int containerLogicalWidth, argument 2219 if (!logicalLeft.isAuto() || !logicalRight.isAuto()) 2227 staticPosition += toRenderBox(curr)->logicalLeft(); 2229 logicalLeft.setValue(Fixed, staticPosition); 2236 staticPosition -= toRenderBox(curr)->logicalLeft(); 2291 Length logicalLeft = style()->logicalLeft(); local 2396 computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection, int containerLogicalWidth, int bordersPlusPadding, Length logicalLeft, Length logicalRight, Length marginLogicalLeft, Length marginLogicalRight, int& logicalWidthValue, int& marginLogicalLeftValue, int& marginLogicalRightValue, int& logicalLeftPos) argument 2850 Length logicalLeft = style()->logicalLeft(); local [all...] |
H A D | RenderLayer.cpp | 3305 int logicalLeft = columnBlock->logicalLeftOffsetForContent(); local 3320 int currLogicalLeftOffset = (isHorizontal ? colRect.x() : colRect.y()) - logicalLeft;
|
H A D | RenderBlock.cpp | 1308 addOverhangingFloats(block, -block->logicalLeft(), -block->logicalTop(), false); 1876 void RenderBlock::setLogicalLeftForChild(RenderBox* child, int logicalLeft, ApplyLayoutDeltaMode applyDelta) argument 1880 view()->addLayoutDelta(IntSize(child->x() - logicalLeft, 0)); 1881 child->setX(logicalLeft); 1884 view()->addLayoutDelta(IntSize(0, child->y() - logicalLeft)); 1885 child->setY(logicalLeft); 2112 maxFloatLogicalBottom = max(maxFloatLogicalBottom, addOverhangingFloats(toRenderBlock(child), -child->logicalLeft(), -child->logicalTop(), !childNeededLayout)); 2933 IntRect logicalRect(curr->logicalLeft(), selTop, curr->logicalWidth(), selTop + selHeight); 3000 result.uniteLeft(logicalLeftSelectionGap(rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, this, curr->logicalLeft(), curr->logicalTop(), curr->logicalHeight(), paintInfo)); 3027 int logicalLeft local 3039 logicalLeftSelectionGap(RenderBlock* rootBlock, const IntPoint& rootBlockPhysicalPosition, const IntSize& offsetFromRootBlock, RenderObject* selObj, int logicalLeft, int logicalTop, int logicalHeight, const PaintInfo* paintInfo) argument 3084 int logicalLeft = logicalLeftOffsetForLine(position, false); local 4058 int logicalLeft = logicalLeftOffsetForContent(); local 4159 int logicalLeft = parent->isHorizontalWritingMode() ? pointInChildCoordinates.x() : pointInChildCoordinates.y(); local 4533 int logicalLeft = logicalLeftOffsetForContent(); local 4590 int logicalLeft = logicalLeftOffsetForContent(); local [all...] |
/external/webkit/Source/WebCore/rendering/style/ |
H A D | RenderStyle.h | 381 Length logicalLeft() const { return isHorizontalWritingMode() ? left() : top(); } function in class:WebCore::RenderStyle 658 void getTextShadowInlineDirectionExtent(int& logicalLeft, int& logicalRight) { getShadowInlineDirectionExtent(textShadow(), logicalLeft, logicalRight); } local 678 void getBoxShadowInlineDirectionExtent(int& logicalLeft, int& logicalRight) { getShadowInlineDirectionExtent(boxShadow(), logicalLeft, logicalRight); } local 1343 void getShadowInlineDirectionExtent(const ShadowData* shadow, int& logicalLeft, int& logicalRight) const argument 1345 return isHorizontalWritingMode() ? getShadowHorizontalExtent(shadow, logicalLeft, logicalRight) : getShadowVerticalExtent(shadow, logicalLeft, logicalRight);
|