Searched defs:logicalWidth (Results 1 - 17 of 17) sorted by relevance

/external/webkit/Source/WebCore/rendering/
H A DAutoTableLayout.h60 Length logicalWidth; member in struct:WebCore::AutoTableLayout::Layout
H A DRenderRubyRun.cpp287 int logicalWidth = this->logicalWidth(); local
295 logicalRightOverhang = min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
H A DAutoTableLayout.cpp91 if (cellLogicalWidth.value() > 0 && columnLayout.logicalWidth.type() != Percent) {
92 int logicalWidth = cell->computeBorderBoxLogicalWidth(cellLogicalWidth.value()); local
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
244 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / max(percent, epsilon); local
510 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
541 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
568 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
579 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
593 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
606 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
619 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
658 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
664 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
680 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
686 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
702 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
708 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
724 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
730 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
[all...]
H A DRenderReplaced.cpp209 int logicalWidth; local
211 logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth());
213 logicalWidth = calcAspectRatioLogicalWidth();
215 logicalWidth = intrinsicLogicalWidth();
218 int maxLogicalWidth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplacedLogicalWidthUsing(style()->logicalMaxWidth());
220 return max(minLogicalWidth, min(logicalWidth, maxLogicalWidth));
305 if (lineDirectionPosition <= box->logicalLeft() + (box->logicalWidth() / 2))
H A DInlineBox.h72 InlineBox(RenderObject* obj, float x, float y, float logicalWidth, bool firstLine, bool constructed, argument
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; } function in class:WebCore::InlineBox
H A DRenderImage.cpp451 switch (style()->logicalWidth().type()) {
489 int logicalWidth; local
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, maxLogicalWidt
537 int logicalWidth; local
[all...]
H A DRenderTreeAsText.cpp493 // FIXME: For now use an "enclosingIntRect" model for x, y and logicalWidth, although this makes it harder
497 int logicalWidth = ceilf(run.m_x + run.m_logicalWidth) - x; local
503 ts << "text run at (" << x << "," << y << ") width " << logicalWidth; local
H A DRenderBox.h58 int logicalRight() const { return logicalLeft() + logicalWidth(); }
61 int logicalWidth() const { return style()->isHorizontalWritingMode() ? width() : height(); } function in class:WebCore::RenderBox
444 void computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection,
H A DInlineTextBox.cpp199 int logicalWidth = r.width(); local
201 logicalWidth = 0;
203 logicalWidth = m_logicalWidth - r.x();
206 int width = isHorizontal() ? logicalWidth : selHeight;
207 int height = isHorizontal() ? selHeight : logicalWidth;
523 FloatRect boxRect(boxOrigin, IntSize(logicalWidth(), logicalHeight()));
870 FloatRect rootRect(tx + r->x(), ty + selectionTop(), r->logicalWidth(), selectionHeight());
871 FloatRect textRect(tx + x(), rootRect.y(), logicalWidth(), rootRect.height());
1243 if (lineOffset - logicalLeft() > logicalWidth())
H A DRenderBlock.h281 virtual void adjustInlineDirectionLineBounds(int /* expansionOpportunityCount */, float& /* logicalLeft */, float& /* logicalWidth */) const { }
468 void setLogicalWidthForFloat(FloatingObject* child, int logicalWidth) argument
471 child->setWidth(logicalWidth);
473 child->setHeight(logicalWidth);
H A DRenderInline.cpp525 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());
814 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(),
820 childLine->logicalWidth()
950 int logicalWidth = logicalRightSide - logicalLeftSide; local
[all...]
H A DRenderListMarker.cpp1363 int logicalWidth = 0; local
1371 logicalWidth = font.width(m_text); // no suffix for these types
1377 logicalWidth = (fontMetrics.ascent() * 2 / 3 + 1) / 2 + 2;
1456 logicalWidth = 0;
1461 logicalWidth = itemWidth + suffixSpaceWidth;
1466 m_minPreferredLogicalWidth = logicalWidth;
1467 m_maxPreferredLogicalWidth = logicalWidth;
H A DRenderText.cpp329 IntRect r = IntRect(box->x(), box->y(), box->logicalWidth(), box->logicalHeight());
565 *extraWidthToEndOfLine = (box->root()->logicalWidth() + rootLeft) - (left + 1);
1379 int logicalWidth = logicalRightSide - logicalLeftSide; local
1382 IntRect rect(logicalLeftSide, logicalTop, logicalWidth, logicalHeight);
H A DRenderBox.cpp1071 FloatRect rootRect(tx + r->x(), ty + r->selectionTop(), r->logicalWidth(), r->selectionHeight());
1587 Length logicalWidthLength = (treatAsReplaced) ? Length(computeReplacedLogicalWidth(), Fixed) : style()->logicalWidth();
1631 if (logicalWidth() > maxLogicalWidth) {
1639 if (logicalWidth() < minLogicalWidth) {
1647 setLogicalWidth(max(logicalWidth(), minPreferredLogicalWidth()));
1648 logicalWidthLength = Length(logicalWidth(), Fixed);
1656 computeInlineDirectionMargins(cb, containerLogicalWidth, logicalWidth());
1674 if (!hasPerpendicularContainingBlock && containerLogicalWidth && containerLogicalWidth != (logicalWidth() + marginStart() + marginEnd())
1676 cb->setMarginEndForChild(this, containerLogicalWidth - logicalWidth() - cb->marginStartForChild(this));
1681 int logicalWidthResult = logicalWidth();
1682 Length logicalWidth; local
2000 int logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth()); 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
[all...]
H A DRenderBlock.cpp1198 int oldWidth = logicalWidth();
1206 if (oldWidth != logicalWidth() || oldColumnWidth != desiredColumnWidth())
2933 IntRect logicalRect(curr->logicalLeft(), selTop, curr->logicalWidth(), selTop + selHeight);
3029 int logicalWidth = logicalRight - logicalLeft; local
3030 if (logicalWidth <= 0)
3033 IntRect gapRect = rootBlock->logicalRectToPhysicalRect(rootBlockPhysicalPosition, IntRect(logicalLeft, logicalTop, logicalWidth, logicalHeight));
4244 if (pointLogicalTop >= logicalHeight() || (pointLogicalTop >= 0 && pointLogicalLeft >= logicalWidth()))
4627 if (!isTableCell() && style()->logicalWidth().isFixed() && style()->logicalWidth().value() > 0)
4628 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = computeContentBoxLogicalWidth(style()->logicalWidth()
[all...]
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGRenderTreeAsText.cpp438 // FIXME: For now use an int for logicalWidth, although this makes it harder
440 int logicalWidth = ceilf(box->x() + box->logicalWidth()) - box->x(); local
441 ts << " at (" << text.x() << "," << text.y() << ") size " << logicalWidth << "x" << box->logicalHeight();
/external/webkit/Source/WebCore/rendering/style/
H A DRenderStyle.cpp1186 Length RenderStyle::logicalWidth() const function in class:WebCore::RenderStyle

Completed in 3136 milliseconds