/external/webkit/Source/WebCore/rendering/ |
RenderRubyText.cpp | 64 void RenderRubyText::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const 68 return RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); 71 if (maxPreferredLogicalWidth >= logicalWidth) 76 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); 81 logicalWidth -= inset;
|
RenderRubyText.h | 51 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
|
AutoTableLayout.cpp | 91 if (cellLogicalWidth.value() > 0 && columnLayout.logicalWidth.type() != Percent) { 92 int logicalWidth = cell->computeBorderBoxLogicalWidth(cellLogicalWidth.value()); 93 if (columnLayout.logicalWidth.isFixed()) { 95 if ((logicalWidth > columnLayout.logicalWidth.value()) || 96 ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) { 97 columnLayout.logicalWidth.setValue(logicalWidth); 101 columnLayout.logicalWidth.setValue(Fixed, logicalWidth) [all...] |
AutoTableLayout.h | 60 Length logicalWidth;
|
RenderRubyBase.h | 53 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
|
RenderImage.cpp | 451 switch (style()->logicalWidth().type()) { 489 int logicalWidth; 491 logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth()); 494 logicalWidth = style()->isHorizontalWritingMode() ? size.width() : size.height(); 496 logicalWidth = 0; // If the image is relatively-sized, set the width to 0 until there is a set container size. 498 logicalWidth = calcAspectRatioLogicalWidth(); 501 int maxLogicalWidth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplacedLogicalWidthUsing(style()->logicalMaxWidth()); 504 logicalWidth = max(minLogicalWidth, min(logicalWidth, maxLogicalWidth)) [all...] |
RenderRubyBase.cpp | 202 void RenderRubyBase::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const 205 if (maxPreferredLogicalWidth >= logicalWidth) 209 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); 212 logicalWidth -= inset;
|
RenderReplaced.cpp | 201 int logicalWidth; 203 logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth()); 205 logicalWidth = calcAspectRatioLogicalWidth(); 207 logicalWidth = intrinsicLogicalWidth(); 210 int maxLogicalWidth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplacedLogicalWidthUsing(style()->logicalMaxWidth()); 212 return max(minLogicalWidth, min(logicalWidth, maxLogicalWidth)); 297 if (lineDirectionPosition <= box->logicalLeft() + (box->logicalWidth() / 2))
|
FixedTableLayout.cpp | 95 grpWidth = col->style()->logicalWidth(); 97 Length w = col->style()->logicalWidth(); 205 int tableLogicalWidth = m_table->style()->logicalWidth().isFixed() ? m_table->style()->logicalWidth().value() - bordersPaddingAndSpacing : 0; 225 if (m_table->document()->inQuirksMode() && m_table->style()->logicalWidth().isPercent() && maxWidth < TABLE_MAX_WIDTH) 231 int tableLogicalWidth = m_table->logicalWidth() - m_table->bordersPaddingAndSpacingInRowDirection();
|
InlineBox.h | 72 InlineBox(RenderObject* obj, float x, float y, float logicalWidth, bool firstLine, bool constructed, 80 , m_logicalWidth(logicalWidth) 232 float width() const { return isHorizontal() ? logicalWidth() : logicalHeight(); } 233 float height() const { return isHorizontal() ? logicalHeight() : logicalWidth(); } 237 float logicalRight() const { return logicalLeft() + logicalWidth(); } 261 float logicalWidth() const { return m_logicalWidth; }
|
RenderFieldset.cpp | 79 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2; 82 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend); 96 int centeredWidth = logicalWidth() - logicalWidthForChild(legend); 101 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend);
|
RenderRubyRun.cpp | 287 int logicalWidth = this->logicalWidth(); 295 logicalRightOverhang = min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
|
RenderBox.cpp | [all...] |
RenderListItem.cpp | 304 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelfPaintingLayer) { 305 newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVisualOverflowRect.x()); 309 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) { 310 newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLayoutOverflowRect.x());
|
RenderInline.cpp | 525 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(), 531 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight()); 543 result = FloatRect(offset.width() + childText->x(), offset.height() + logicalTop, childText->logicalWidth(), logicalHeight); 545 result = FloatRect(offset.width() + logicalTop, offset.height() + childText->y(), logicalHeight, childText->logicalWidth()); 609 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(), 615 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight()); 627 result = FloatRect(childText->x(), logicalTop, childText->logicalWidth(), logicalHeight); 629 result = FloatRect(logicalTop, childText->y(), logicalHeight, childText->logicalWidth()); [all...] |
InlineFlowBox.cpp | 365 logicalLeft += text->logicalWidth(); 376 curr->setLogicalLeft(root()->block()->logicalWidth() - logicalLeft); 398 logicalLeft += curr->logicalWidth(); [all...] |
RenderTable.cpp | 93 if (style()->tableLayout() == TFIXED && !style()->logicalWidth().isAuto()) 233 LengthType logicalWidthType = style()->logicalWidth().type(); 234 if (logicalWidthType > Relative && style()->logicalWidth().isPositive()) { 236 setLogicalWidth(style()->logicalWidth().calcMinValue(containerWidthInInlineDirection)); 237 setLogicalWidth(max(minPreferredLogicalWidth(), logicalWidth())); 253 setLogicalWidth(max(logicalWidth(), minPreferredLogicalWidth())); 264 computeInlineDirectionMargins(cb, availableLogicalWidth, logicalWidth()); 304 int oldLogicalWidth = logicalWidth(); 336 if (m_caption && logicalWidth() != oldLogicalWidth) [all...] |
RootInlineBox.cpp | 94 if (logicalWidth() - delta < ellipsisWidth) 107 ellipsisWidth - (markupBox ? markupBox->logicalWidth() : 0), logicalHeight(), 116 if (ltr && (x() + logicalWidth() + ellipsisWidth) <= blockRightEdge) { 117 ellipsisBox->m_x = x() + logicalWidth(); 155 FloatRect rootRect(0, selectionTop(), logicalWidth(), selectionHeight()); 173 FloatRect rootRect(tx + x(), ty + selectionTop(), logicalWidth(), selectionHeight()); [all...] |
InlineTextBox.cpp | 198 int logicalWidth = r.width(); 200 logicalWidth = 0; 202 logicalWidth = m_logicalWidth - r.x(); 205 int width = isHorizontal() ? logicalWidth : selHeight; 206 int height = isHorizontal() ? selHeight : logicalWidth; 522 FloatRect boxRect(boxOrigin, IntSize(logicalWidth(), logicalHeight())); [all...] |
RenderBox.h | 34 enum LogicalWidthType { LogicalWidth, MinLogicalWidth, MaxLogicalWidth }; 58 int logicalRight() const { return logicalLeft() + logicalWidth(); } 61 int logicalWidth() const { return style()->isHorizontalWritingMode() ? width() : height(); } 442 void computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection,
|
RenderBlockLineLayout.cpp | 382 trailingSpaceRun->m_box->setLogicalWidth(max<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogicalWidth + availableLogicalWidth)); 399 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth(); 408 trailingSpaceRun->m_box->setLogicalWidth(max<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogicalWidth + availableLogicalWidth)); 409 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth(); 418 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth(); 419 trailingSpaceWidth = min(trailingSpaceRun->m_box->logicalWidth(), (availableLogicalWidth - totalLogicalWidth + 1) / 2); 522 totalLogicalWidth += r->m_box->logicalWidth(); 544 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth(); 554 trailingSpaceRun->m_box->setLogicalWidth(max<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogicalWidth + availableLogicalWidth)); [all...] |
RenderListMarker.cpp | [all...] |
InlineFlowBox.h | 261 return FloatRect(logicalLeft(), lineTop, logicalWidth(), lineBottom - lineTop);
|
/external/webkit/Source/WebCore/rendering/svg/ |
RenderSVGInline.cpp | 93 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box->logicalWidth(), box->logicalHeight())));
|
RenderSVGRoot.cpp | 82 if (!style()->logicalWidth().isPercent())
|