/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderBoxRegionInfo.h | 38 RenderBoxRegionInfo(LayoutUnit logicalLeft, LayoutUnit logicalWidth, bool isShifted) argument 40 , m_logicalWidth(logicalWidth) 45 LayoutUnit logicalWidth() const { return m_logicalWidth; } function in class:WebCore::RenderBoxRegionInfo
|
H A D | RenderRubyText.cpp | 65 void RenderRubyText::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const 70 return RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); 73 if (maxPreferredLogicalWidth >= logicalWidth) 78 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); 83 logicalWidth -= inset;
|
H A D | AutoTableLayout.cpp | 96 if (cellLogicalWidth.isPositive() && !columnLayout.logicalWidth.isPercent()) { 97 int logicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(cellLogicalWidth.value()); local 98 if (columnLayout.logicalWidth.isFixed()) { 100 if ((logicalWidth > columnLayout.logicalWidth.value()) 101 || ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) { 102 columnLayout.logicalWidth.setValue(Fixed, logicalWidth); 106 columnLayout.logicalWidth 230 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / max(percent, epsilon); local 507 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 535 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 563 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 575 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 588 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 601 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 641 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 648 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 665 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 672 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 689 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local 696 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local [all...] |
H A D | RenderRubyText.h | 55 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
|
H A D | RenderTableCaption.cpp | 39 return cb->logicalWidth();
|
H A D | FixedTableLayout.cpp | 102 Length colStyleLogicalWidth = col->style()->logicalWidth(); 147 Length logicalWidth = cell->styleOrColLogicalWidth(); local 152 if (logicalWidth.isFixed() && logicalWidth.isPositive()) { 153 fixedBorderBoxLogicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(logicalWidth.value()); 154 logicalWidth.setValue(fixedBorderBoxLogicalWidth); 161 if (m_width[currentColumn].isAuto() && logicalWidth.type() != Auto) { 162 m_width[currentColumn] = logicalWidth; 187 Length tableLogicalWidth = m_table->style()->logicalWidth(); 203 if (m_table->style()->logicalWidth() [all...] |
H A D | RenderReplaced.cpp | 227 if (containingBlock->style()->logicalWidth().isSpecified()) 236 if (style()->logicalWidth().isSpecified()) 239 if (style()->logicalWidth().isAuto()) 266 return hasRelativeLogicalHeight() && style()->logicalWidth().isAuto() && !hasAutoHeightOrContainingBlockWithAutoHeight(); 320 if (intrinsicRatio && !isPercentageIntrinsicSize && !intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && style()->logicalHeight().isAuto()) { 384 if (style()->logicalWidth().isSpecified() || style()->logicalWidth().isIntrinsic()) 385 return computeReplacedLogicalWidthRespectingMinMaxWidth(computeReplacedLogicalWidthUsing(style()->logicalWidth()), shouldComputePreferred); 395 if (style()->logicalWidth().isAuto()) { 419 LayoutUnit logicalWidth; local [all...] |
H A D | RenderRubyBase.cpp | 146 void RenderRubyBase::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const 149 if (maxPreferredLogicalWidth >= logicalWidth) 153 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); 156 logicalWidth -= inset;
|
H A D | AutoTableLayout.h | 63 Length logicalWidth; member in struct:WebCore::FINAL::Layout
|
H A D | RenderRubyBase.h | 56 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
|
H A D | RenderTextControl.cpp | 109 LayoutUnit unitWidth = logicalWidth() - borderAndPaddingLogicalWidth(); 247 if (!style()->logicalWidth().isPercent()) 258 if (style()->logicalWidth().isFixed() && style()->logicalWidth().value() >= 0) 259 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(style()->logicalWidth().value());
|
H A D | RenderFieldset.cpp | 75 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2; 78 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend); 92 LayoutUnit centeredWidth = logicalWidth() - logicalWidthForChild(legend); 97 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend);
|
H A D | InlineBox.h | 49 InlineBox(RenderObject* obj, FloatPoint topLeft, float logicalWidth, bool firstLine, bool constructed, argument 56 , m_logicalWidth(logicalWidth) 200 float width() const { return isHorizontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight(); } 201 float height() const { return isHorizontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight() : logicalWidth(); } 208 float logicalRight() const { return logicalLeft() + logicalWidth(); } 234 float logicalWidth() const { return m_logicalWidth; } function in class:WebCore::InlineBox
|
H A D | RenderBox.cpp | 121 LayoutUnit logicalWidth = boxInfo->logicalWidth(); 132 logicalLeft -= (currentBox->logicalWidth() - currentBoxInfo->logicalWidth()) - currentBoxInfo->logicalLeft(); 142 return LayoutRect(logicalLeft, 0, logicalWidth, height()); 143 return LayoutRect(0, logicalLeft, width(), logicalWidth); 606 LayoutUnit RenderBox::constrainLogicalWidthInRegionByMinMax(LayoutUnit logicalWidth, LayoutUnit availableWidth, RenderBlock* cb, RenderRegion* region) const argument 610 logicalWidth = min(logicalWidth, computeLogicalWidthInRegionUsing(MaxSize, styleToUse->logicalMaxWidth(), availableWidth, cb, region)); 611 return max(logicalWidth, computeLogicalWidthInRegionUsin 1117 setOverrideContainingBlockContentLogicalWidth(LayoutUnit logicalWidth) argument 2407 computeLogicalWidthInRegionUsing(SizeType widthType, Length logicalWidth, LayoutUnit availableLogicalWidth, const RenderBlock* cb, RenderRegion* region) const argument 2959 computeReplacedLogicalWidthRespectingMinMaxWidth(LayoutUnit logicalWidth, ShouldComputePreferred shouldComputePreferred) const argument 3493 computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection, LayoutUnit containerLogicalWidth, LayoutUnit bordersPlusPadding, Length logicalLeft, Length logicalRight, Length marginLogicalLeft, Length marginLogicalRight, LogicalExtentComputedValues& computedValues) const argument [all...] |
H A D | RenderRubyRun.cpp | 293 int logicalWidth = this->logicalWidth(); local 298 logicalRightOverhang = min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
|
H A D | RenderFlowThread.cpp | 228 LayoutUnit logicalWidth = initialLogicalWidth(); local 232 logicalWidth = max(region->pageLogicalWidth(), logicalWidth); 234 setLogicalWidth(logicalWidth); 240 if (regionLogicalWidth != logicalWidth) { 241 LayoutUnit logicalLeft = style()->direction() == LTR ? LayoutUnit() : logicalWidth - regionLogicalWidth; 632 LayoutUnit oldLogicalWidth = oldInfo->logicalWidth(); 634 if (!newInfo || newInfo->logicalWidth() != oldLogicalWidth) 905 LayoutRect regionRect(style()->direction() == LTR ? LayoutUnit() : logicalWidth() - regionLogicalWidth, logicalHeight, regionLogicalWidth, regionLogicalHeight);
|
H A D | RenderListItem.cpp | 381 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelfPaintingLayer) { 382 newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVisualOverflowRect.x()); 386 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) { 387 newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLayoutOverflowRect.x());
|
H A D | RenderBlock.h | 173 : logicalWidth() - logicalRightOffsetForLineInRegion(position, shouldIndentText, region, logicalHeight); 178 : logicalWidth() - logicalRightOffsetForLineInRegion(position, shouldIndentText, region, logicalHeight); 208 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight); 213 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight); 327 return style()->isLeftToRightDirection() ? logicalLeftOffsetForContent(region) : logicalWidth() - logicalRightOffsetForContent(region); 331 return !style()->isLeftToRightDirection() ? logicalLeftOffsetForContent(region) : logicalWidth() - logicalRightOffsetForContent(region); 355 LayoutUnit startOffsetForContent() const { return style()->isLeftToRightDirection() ? logicalLeftOffsetForContent() : logicalWidth() - logicalRightOffsetForContent(); } 356 LayoutUnit endOffsetForContent() const { return !style()->isLeftToRightDirection() ? logicalLeftOffsetForContent() : logicalWidth() - logicalRightOffsetForContent(); } 422 virtual void adjustInlineDirectionLineBounds(int /* expansionOpportunityCount */, float& /* logicalLeft */, float& /* logicalWidth */) const { }
|
H A D | RenderTable.cpp | 98 if (style()->tableLayout() == TFIXED && !style()->logicalWidth().isAuto()) 262 Length styleLogicalWidth = style()->logicalWidth(); 286 setLogicalWidth(min<int>(logicalWidth(), computedMaxLogicalWidth)); 291 setLogicalWidth(max<int>(logicalWidth(), minPreferredLogicalWidth())); 297 setLogicalWidth(max<int>(logicalWidth(), computedMinLogicalWidth)); 309 computeInlineDirectionMargins(cb, containerLogicalWidthForAutoMargins, logicalWidth(), 323 ASSERT(logicalWidth().toInt() >= minPreferredLogicalWidth().toInt()); 427 LayoutUnit oldLogicalWidth = logicalWidth(); 432 if (logicalWidth() != oldLogicalWidth) {
|
H A D | RenderTextControlSingleLine.cpp | 177 innerSpinBox->setLogicalLocation(LayoutPoint(parentBox->logicalWidth() - innerSpinBox->logicalWidth() + paddingLogicalRight(), -paddingBefore())); 337 // Since the width of spinRenderer is not calculated yet, spinRenderer->logicalWidth() returns 0. 338 // So computedStyle()->logicalWidth() is used instead. 339 result += spinButton->computedStyle()->logicalWidth().value();
|
H A D | InlineFlowBox.cpp | 391 logicalLeft += text->logicalWidth(); 402 curr->setLogicalLeft(root()->block()->logicalWidth() - logicalLeft); 424 logicalLeft += curr->logicalWidth(); 1174 logicalOffsetOnLine += curr->logicalWidth(); 1177 totalLogicalWidth += curr->logicalWidth(); 1180 logicalOffsetOnLine += curr->logicalWidth(); 1183 totalLogicalWidth += curr->logicalWidth(); 1308 logicalOffsetOnLine += curr->logicalWidth(); 1311 totalLogicalWidth += curr->logicalWidth(); 1380 logicalOffsetOnLine += curr->logicalWidth(); [all...] |
H A D | InlineTextBox.cpp | 224 LayoutUnit logicalWidth = r.width(); local 226 logicalWidth = 0; 228 logicalWidth = logicalRight() - r.x(); 231 LayoutUnit width = isHorizontal() ? logicalWidth : selHeight; 232 LayoutUnit height = isHorizontal() ? selHeight : logicalWidth; 273 bool rtlFullTruncation = !flowIsLTR && ellipsisX >= logicalLeft() + logicalWidth(); 323 truncatedWidth += logicalWidth(); 526 FloatRect boxRect(boxOrigin, LayoutSize(logicalWidth(), logicalHeight())); 1410 if (lineOffset - logicalLeft() > logicalWidth())
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | ShapeInfo.h | 71 void setShapeSize(LayoutUnit logicalWidth, LayoutUnit logicalHeight) argument 77 logicalWidth += m_renderer->marginLogicalWidth(); 83 logicalWidth -= m_renderer->borderLogicalWidth(); 87 logicalWidth -= m_renderer->borderAndPaddingLogicalWidth(); 92 logicalWidth -= m_renderer->borderAndPaddingLogicalWidth(); 95 LayoutSize newLogicalSize(logicalWidth, logicalHeight);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | RenderSVGInline.cpp | 106 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box->logicalWidth(), box->logicalHeight()), false, wasFixed));
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGPreserveAspectRatio.cpp | 278 AffineTransform SVGPreserveAspectRatio::getCTM(float logicalX, float logicalY, float logicalWidth, float logicalHeight, float physicalWidth, float physicalHeight) const argument 286 double extendedLogicalWidth = logicalWidth;
|