/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderRubyText.cpp | 63 void RenderRubyText::adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const 68 return RenderBlockFlow::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); 71 if (maxPreferredLogicalWidth >= logicalWidth) 76 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); 81 logicalWidth -= inset;
|
H A D | AutoTableLayout.cpp | 98 if (cellLogicalWidth.isPositive() && !columnLayout.logicalWidth.isPercent()) { 99 int logicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(cellLogicalWidth.value()); local 100 if (columnLayout.logicalWidth.isFixed()) { 102 if ((logicalWidth > columnLayout.logicalWidth.value()) 103 || ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) { 104 columnLayout.logicalWidth.setValue(Fixed, logicalWidth); 108 columnLayout.logicalWidth 234 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / std::max(percent, epsilon); local 526 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 554 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 582 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 594 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 607 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 620 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 660 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 667 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 684 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 691 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 708 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 715 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local [all...] |
H A D | FixedTableLayout.cpp | 100 Length colStyleLogicalWidth = col->style()->logicalWidth(); 140 Length logicalWidth = cell->styleOrColLogicalWidth(); local 143 if (logicalWidth.isCalculated()) 144 logicalWidth = Length(); // Make it Auto 150 if (logicalWidth.isFixed() && logicalWidth.isPositive()) { 151 fixedBorderBoxLogicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(logicalWidth.value()); 152 logicalWidth.setValue(fixedBorderBoxLogicalWidth); 159 if (m_width[currentColumn].isAuto() && logicalWidth.type() != Auto) { 160 m_width[currentColumn] = logicalWidth; [all...] |
H A D | RenderRubyBase.cpp | 136 void RenderRubyBase::adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const 139 if (maxPreferredLogicalWidth >= logicalWidth) 143 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); 146 logicalWidth -= inset;
|
H A D | RenderRubyText.h | 53 virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const OVERRIDE;
|
H A D | RenderTableCaption.cpp | 39 return cb->logicalWidth();
|
H A D | AutoTableLayout.h | 63 Length logicalWidth; member in struct:blink::FINAL::Layout
|
H A D | RenderReplaced.cpp | 235 return hasRelativeLogicalHeight() && style()->logicalWidth().isAuto() && !hasAutoHeightOrContainingBlockWithAutoHeight(); 279 if (intrinsicRatio && !intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && style()->logicalHeight().isAuto()) { 340 if (style()->logicalWidth().isSpecified() || style()->logicalWidth().isIntrinsic()) 341 return computeReplacedLogicalWidthRespectingMinMaxWidth(computeReplacedLogicalWidthUsing(style()->logicalWidth()), shouldComputePreferred); 350 if (style()->logicalWidth().isAuto()) { 376 LayoutUnit logicalWidth = containingBlock()->availableLogicalWidth(); 378 // This solves above equation for 'width' (== logicalWidth). 379 LayoutUnit marginStart = minimumValueForLength(style()->marginStart(), logicalWidth); 380 LayoutUnit marginEnd = minimumValueForLength(style()->marginEnd(), logicalWidth); [all...] |
H A D | RenderRubyBase.h | 56 virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const OVERRIDE;
|
H A D | RenderTextControl.cpp | 108 LayoutUnit unitWidth = logicalWidth() - borderAndPaddingLogicalWidth(); 251 if (!style()->logicalWidth().isPercent()) 263 if (styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0) 264 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalWidth().value());
|
H A D | RenderFieldset.cpp | 78 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2; 81 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend); 95 LayoutUnit centeredWidth = logicalWidth() - logicalWidthForChild(legend); 100 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend);
|
H A D | InlineBox.h | 53 InlineBox(RenderObject& obj, FloatPoint topLeft, float logicalWidth, bool firstLine, bool constructed, argument 60 , m_logicalWidth(logicalWidth) 204 float width() const { return isHorizontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight(); } 205 float height() const { return isHorizontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight() : logicalWidth(); } 212 float logicalRight() const { return logicalLeft() + logicalWidth(); } 238 float logicalWidth() const { return m_logicalWidth; } function in class:blink::InlineBox
|
H A D | RenderRubyRun.cpp | 274 int logicalWidth = this->logicalWidth(); local 279 logicalRightOverhang = std::min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
|
H A D | RenderListItem.cpp | 392 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelfPaintingLayer) { 393 newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVisualOverflowRect.x()); 397 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) { 398 newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLayoutOverflowRect.x());
|
H A D | RenderBox.cpp | 523 LayoutUnit RenderBox::constrainLogicalWidthByMinMax(LayoutUnit logicalWidth, LayoutUnit availableWidth, RenderBlock* cb) const argument 527 logicalWidth = std::min(logicalWidth, computeLogicalWidthUsing(MaxSize, styleToUse->logicalMaxWidth(), availableWidth, cb)); 528 return std::max(logicalWidth, computeLogicalWidthUsing(MinSize, styleToUse->logicalMinWidth(), availableWidth, cb)); 989 void RenderBox::setOverrideContainingBlockContentLogicalWidth(LayoutUnit logicalWidth) argument 993 gOverrideContainingBlockLogicalWidthMap->set(this, logicalWidth); 1892 maxWidth = std::max<float>(maxWidth, toRenderListMarker(itemMarker)->logicalWidth().toFloat()); 1901 computedValues.m_extent = logicalWidth(); 1933 Length logicalWidthLength = treatAsReplaced ? Length(computeReplacedLogicalWidth(), Fixed) : styleToUse->logicalWidth(); 1955 LayoutUnit preferredWidth = computeLogicalWidthUsing(MainOrPreferredSize, styleToUse->logicalWidth(), containerWidthInInlineDirectio 2026 computeLogicalWidthUsing(SizeType widthType, const Length& logicalWidth, LayoutUnit availableLogicalWidth, const RenderBlock* cb) const argument 2477 computeReplacedLogicalWidthRespectingMinMaxWidth(LayoutUnit logicalWidth, ShouldComputePreferred shouldComputePreferred) const argument 2954 computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection, LayoutUnit containerLogicalWidth, LayoutUnit bordersPlusPadding, const Length& logicalLeft, const Length& logicalRight, const Length& marginLogicalLeft, const Length& marginLogicalRight, LogicalExtentComputedValues& computedValues) const argument [all...] |
H A D | RenderBlockFlow.h | 82 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight); 87 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight); 151 void setLogicalWidthForFloat(FloatingObject* floatingObject, LayoutUnit logicalWidth) argument 154 floatingObject->setWidth(logicalWidth); 156 floatingObject->setHeight(logicalWidth);
|
H A D | InlineTextBox.cpp | 232 LayoutUnit logicalWidth = r.width(); local 234 logicalWidth = 0; 236 logicalWidth = logicalRight() - r.x(); 239 LayoutUnit width = isHorizontal() ? logicalWidth : selHeight; 240 LayoutUnit height = isHorizontal() ? selHeight : logicalWidth; 281 bool rtlFullTruncation = !flowIsLTR && ellipsisX >= logicalLeft() + logicalWidth(); 331 truncatedWidth += logicalWidth(); 438 FloatRect boxRect(boxOrigin, LayoutSize(logicalWidth(), logicalHeight())); 1174 if (lineOffset - logicalLeft() > logicalWidth())
|
H A D | RenderMultiColumnSet.h | 61 virtual LayoutUnit pageLogicalWidth() const OVERRIDE FINAL { return flowThread()->logicalWidth(); }
|
H A D | RenderTable.cpp | 266 Length styleLogicalWidth = style()->logicalWidth(); 288 setLogicalWidth(std::min<int>(logicalWidth(), computedMaxLogicalWidth)); 293 setLogicalWidth(std::max<int>(logicalWidth(), minPreferredLogicalWidth())); 299 setLogicalWidth(std::max<int>(logicalWidth(), computedMinLogicalWidth)); 304 computeMarginsForDirection(InlineDirection, cb, availableLogicalWidth, logicalWidth(), marginValues.m_start, marginValues.m_end, style()->marginStart(), style()->marginEnd()); 312 ASSERT(logicalWidth().toInt() >= minPreferredLogicalWidth().toInt()); 426 LayoutUnit oldLogicalWidth = logicalWidth(); 429 if (logicalWidth() != oldLogicalWidth) {
|
H A D | RenderBox.h | 111 LayoutUnit logicalRight() const { return logicalLeft() + logicalWidth(); } 114 LayoutUnit logicalWidth() const { return style()->isHorizontalWritingMode() ? width() : height(); } function in class:blink::RenderBox 439 bool sizesLogicalWidthToFitContent(const Length& logicalWidth) const; 443 LayoutUnit computeLogicalWidthUsing(SizeType, const Length& logicalWidth, LayoutUnit availableLogicalWidth, const RenderBlock* containingBlock) const; 448 LayoutUnit computeReplacedLogicalWidthRespectingMinMaxWidth(LayoutUnit logicalWidth, ShouldComputePreferred = ComputeActual) const; 681 void computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection,
|
H A D | RenderListMarker.cpp | 1303 LayoutUnit logicalWidth = 0; local 1310 logicalWidth = font.width(m_text); // no suffix for these types 1315 logicalWidth = (font.fontMetrics().ascent() * 2 / 3 + 1) / 2 + 2; 1393 logicalWidth = 0; 1398 logicalWidth = itemWidth + suffixSpaceWidth; 1403 m_minPreferredLogicalWidth = logicalWidth; 1404 m_maxPreferredLogicalWidth = logicalWidth;
|
H A D | RootInlineBox.cpp | 107 if (logicalWidth() - delta < ellipsisWidth) 120 ellipsisWidth - (markupBox ? markupBox->logicalWidth() : 0), logicalHeight(), 129 if (ltr && (logicalLeft() + logicalWidth() + ellipsisWidth) <= blockRightEdge) { 130 ellipsisBox->setLogicalLeft(logicalLeft() + logicalWidth()); 131 return logicalWidth() + ellipsisWidth;
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | InlineFlowBoxPainter.cpp | 117 logicalOffsetOnLine += curr->logicalWidth(); 120 totalLogicalWidth += curr->logicalWidth(); 123 logicalOffsetOnLine += curr->logicalWidth(); 126 totalLogicalWidth += curr->logicalWidth(); 237 logicalOffsetOnLine += curr->logicalWidth(); 240 totalLogicalWidth += curr->logicalWidth(); 305 logicalOffsetOnLine += curr->logicalWidth(); 308 totalLogicalWidth += curr->logicalWidth();
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGPreserveAspectRatio.cpp | 293 AffineTransform SVGPreserveAspectRatio::getCTM(float logicalX, float logicalY, float logicalWidth, float logicalHeight, float physicalWidth, float physicalHeight) const argument 295 ASSERT(logicalWidth); 306 double extendedLogicalWidth = logicalWidth;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | RenderSVGInline.cpp | 116 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box->logicalWidth(), box->logicalHeight()), false, wasFixed));
|