/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | AutoTableLayout.cpp | 96 … if (cellLogicalWidth.isPositive() && !columnLayout.logicalWidth.isPercent()) { in recalcColumn() 97 … int logicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(cellLogicalWidth.value()); in recalcColumn() local 98 if (columnLayout.logicalWidth.isFixed()) { in recalcColumn() 100 if ((logicalWidth > columnLayout.logicalWidth.value()) in recalcColumn() 101 … || ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) { in recalcColumn() 102 columnLayout.logicalWidth.setValue(Fixed, logicalWidth); in recalcColumn() 106 columnLayout.logicalWidth.setValue(Fixed, logicalWidth); in recalcColumn() 113 …idth.isPositive() && (!columnLayout.logicalWidth.isPercent() || cellLogicalWidth.value() > columnL… in recalcColumn() 114 columnLayout.logicalWidth = cellLogicalWidth; in recalcColumn() 128 if (columnLayout.logicalWidth.isFixed()) { in recalcColumn() [all …]
|
D | RenderReplaced.cpp | 227 if (containingBlock->style()->logicalWidth().isSpecified()) in firstContainingBlockWithLogicalWidth() 236 if (style()->logicalWidth().isSpecified()) in hasReplacedLogicalWidth() 239 if (style()->logicalWidth().isAuto()) in hasReplacedLogicalWidth() 266 …return hasRelativeLogicalHeight() && style()->logicalWidth().isAuto() && !hasAutoHeightOrContainin… in needsPreferredWidthsRecalculation() 320 …&& !isPercentageIntrinsicSize && !intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && s… in computeAspectRatioInformationForRenderBox() 384 if (style()->logicalWidth().isSpecified() || style()->logicalWidth().isIntrinsic()) in computeReplacedLogicalWidth() 385 …lWidthRespectingMinMaxWidth(computeReplacedLogicalWidthUsing(style()->logicalWidth()), shouldCompu… in computeReplacedLogicalWidth() 395 if (style()->logicalWidth().isAuto()) { in computeReplacedLogicalWidth() 419 LayoutUnit logicalWidth; in computeReplacedLogicalWidth() local 421 …logicalWidth = blockWithWidth->computeReplacedLogicalWidthRespectingMinMaxWidth(blockWithWidth->co… in computeReplacedLogicalWidth() [all …]
|
D | RenderRubyText.cpp | 65 …neDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const in adjustInlineDirectionLineBounds() 70 …RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); in adjustInlineDirectionLineBounds() 73 if (maxPreferredLogicalWidth >= logicalWidth) in adjustInlineDirectionLineBounds() 78 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); in adjustInlineDirectionLineBounds() 83 logicalWidth -= inset; in adjustInlineDirectionLineBounds()
|
D | FixedTableLayout.cpp | 102 Length colStyleLogicalWidth = col->style()->logicalWidth(); in calcWidthArray() 147 Length logicalWidth = cell->styleOrColLogicalWidth(); in calcWidthArray() local 152 if (logicalWidth.isFixed() && logicalWidth.isPositive()) { in calcWidthArray() 153 … fixedBorderBoxLogicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(logicalWidth.value()); in calcWidthArray() 154 logicalWidth.setValue(fixedBorderBoxLogicalWidth); in calcWidthArray() 161 if (m_width[currentColumn].isAuto() && logicalWidth.type() != Auto) { in calcWidthArray() 162 m_width[currentColumn] = logicalWidth; in calcWidthArray() 187 Length tableLogicalWidth = m_table->style()->logicalWidth(); in applyPreferredLogicalWidthQuirks() 203 if (m_table->style()->logicalWidth().isPercent() && maxWidth < tableMaxWidth) in applyPreferredLogicalWidthQuirks() 209 …int tableLogicalWidth = m_table->logicalWidth() - m_table->bordersPaddingAndSpacingInRowDirection(… in layout()
|
D | RenderBoxRegionInfo.h | 38 RenderBoxRegionInfo(LayoutUnit logicalLeft, LayoutUnit logicalWidth, bool isShifted) in RenderBoxRegionInfo() argument 40 , m_logicalWidth(logicalWidth) in RenderBoxRegionInfo() 45 LayoutUnit logicalWidth() const { return m_logicalWidth; } in logicalWidth() function
|
D | RenderRubyBase.cpp | 146 …neDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const in adjustInlineDirectionLineBounds() 149 if (maxPreferredLogicalWidth >= logicalWidth) in adjustInlineDirectionLineBounds() 153 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); in adjustInlineDirectionLineBounds() 156 logicalWidth -= inset; in adjustInlineDirectionLineBounds()
|
D | RenderTextControl.cpp | 109 LayoutUnit unitWidth = logicalWidth() - borderAndPaddingLogicalWidth(); in textBlockLogicalWidth() 247 if (!style()->logicalWidth().isPercent()) in computeIntrinsicLogicalWidths() 258 if (style()->logicalWidth().isFixed() && style()->logicalWidth().value() >= 0) in computePreferredLogicalWidths() 259 …xPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(style()->logicalWidth().value()); in computePreferredLogicalWidths()
|
D | RenderFieldset.cpp | 75 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2; in layoutSpecialExcludedChild() 78 … logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend); in layoutSpecialExcludedChild() 92 LayoutUnit centeredWidth = logicalWidth() - logicalWidthForChild(legend); in layoutSpecialExcludedChild() 97 …logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logi… in layoutSpecialExcludedChild()
|
D | InlineBox.h | 49 …InlineBox(RenderObject* obj, FloatPoint topLeft, float logicalWidth, bool firstLine, bool construc… in InlineBox() argument 56 , m_logicalWidth(logicalWidth) in InlineBox() 200 …float width() const { return isHorizontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtual… in width() 201 …zontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight() : logicalWidth(); } in height() 208 float logicalRight() const { return logicalLeft() + logicalWidth(); } in logicalRight() 234 float logicalWidth() const { return m_logicalWidth; } in logicalWidth() function
|
D | RenderBox.cpp | 121 LayoutUnit logicalWidth = boxInfo->logicalWidth(); in borderBoxRectInRegion() local 132 …logicalLeft -= (currentBox->logicalWidth() - currentBoxInfo->logicalWidth()) - currentBoxInfo->log… in borderBoxRectInRegion() 142 return LayoutRect(logicalLeft, 0, logicalWidth, height()); in borderBoxRectInRegion() 143 return LayoutRect(0, logicalLeft, width(), logicalWidth); in borderBoxRectInRegion() 606 LayoutUnit RenderBox::constrainLogicalWidthInRegionByMinMax(LayoutUnit logicalWidth, LayoutUnit ava… in constrainLogicalWidthInRegionByMinMax() argument 610 …logicalWidth = min(logicalWidth, computeLogicalWidthInRegionUsing(MaxSize, styleToUse->logicalMaxW… in constrainLogicalWidthInRegionByMinMax() 611 …return max(logicalWidth, computeLogicalWidthInRegionUsing(MinSize, styleToUse->logicalMinWidth(), … in constrainLogicalWidthInRegionByMinMax() 1117 void RenderBox::setOverrideContainingBlockContentLogicalWidth(LayoutUnit logicalWidth) in setOverrideContainingBlockContentLogicalWidth() argument 1121 gOverrideContainingBlockLogicalWidthMap->set(this, logicalWidth); in setOverrideContainingBlockContentLogicalWidth() 1867 return max<LayoutUnit>(0, result - (cb->logicalWidth() - boxInfo->logicalWidth())); in containingBlockLogicalWidthForContentInRegion() [all …]
|
D | RenderRubyRun.cpp | 293 int logicalWidth = this->logicalWidth(); in getOverhang() local 298 …logicalRightOverhang = min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight()… in getOverhang()
|
D | RenderBlock.h | 173 …: logicalWidth() - logicalRightOffsetForLineInRegion(position, shouldIndentText, region, logicalHe… 178 …: logicalWidth() - logicalRightOffsetForLineInRegion(position, shouldIndentText, region, logicalHe… 208 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight); 213 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight); 327 …e()->isLeftToRightDirection() ? logicalLeftOffsetForContent(region) : logicalWidth() - logicalRigh… in startOffsetForContent() 331 …e()->isLeftToRightDirection() ? logicalLeftOffsetForContent(region) : logicalWidth() - logicalRigh… in endOffsetForContent() 355 …n style()->isLeftToRightDirection() ? logicalLeftOffsetForContent() : logicalWidth() - logicalRigh… in startOffsetForContent() 356 … !style()->isLeftToRightDirection() ? logicalLeftOffsetForContent() : logicalWidth() - logicalRigh… in endOffsetForContent()
|
D | RenderTableCaption.cpp | 39 return cb->logicalWidth(); in containingBlockLogicalWidthForContent()
|
D | RenderRubyText.h | 55 …eDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
|
D | RenderFlowThread.cpp | 228 LayoutUnit logicalWidth = initialLogicalWidth(); in updateLogicalWidth() local 232 logicalWidth = max(region->pageLogicalWidth(), logicalWidth); in updateLogicalWidth() 234 setLogicalWidth(logicalWidth); in updateLogicalWidth() 240 if (regionLogicalWidth != logicalWidth) { in updateLogicalWidth() 241 …LayoutUnit logicalLeft = style()->direction() == LTR ? LayoutUnit() : logicalWidth - regionLogical… in updateLogicalWidth() 632 LayoutUnit oldLogicalWidth = oldInfo->logicalWidth(); in logicalWidthChangedInRegionsForBlock() 634 if (!newInfo || newInfo->logicalWidth() != oldLogicalWidth) in logicalWidthChangedInRegionsForBlock() 905 …LayoutRect regionRect(style()->direction() == LTR ? LayoutUnit() : logicalWidth() - regionLogicalW… in updateRegionsFlowThreadPortionRect()
|
D | RenderListItem.cpp | 381 …if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelf… in positionListMarker() 382 …newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVis… in positionListMarker() 386 … if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) { in positionListMarker() 387 …newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLay… in positionListMarker()
|
D | RenderRubyBase.h | 56 …eDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
|
D | AutoTableLayout.h | 63 Length logicalWidth; member
|
D | RenderTable.cpp | 98 if (style()->tableLayout() == TFIXED && !style()->logicalWidth().isAuto()) in styleDidChange() 262 Length styleLogicalWidth = style()->logicalWidth(); in updateLogicalWidth() 286 setLogicalWidth(min<int>(logicalWidth(), computedMaxLogicalWidth)); in updateLogicalWidth() 291 setLogicalWidth(max<int>(logicalWidth(), minPreferredLogicalWidth())); in updateLogicalWidth() 297 setLogicalWidth(max<int>(logicalWidth(), computedMinLogicalWidth)); in updateLogicalWidth() 309 computeInlineDirectionMargins(cb, containerLogicalWidthForAutoMargins, logicalWidth(), in updateLogicalWidth() 323 ASSERT(logicalWidth().toInt() >= minPreferredLogicalWidth().toInt()); in updateLogicalWidth() 427 LayoutUnit oldLogicalWidth = logicalWidth(); in layout() 432 if (logicalWidth() != oldLogicalWidth) { in layout()
|
D | RenderTextControlSingleLine.cpp | 177 …nnerSpinBox->setLogicalLocation(LayoutPoint(parentBox->logicalWidth() - innerSpinBox->logicalWidth… in layout() 339 result += spinButton->computedStyle()->logicalWidth().value(); in preferredContentLogicalWidth()
|
D | InlineFlowBox.cpp | 391 logicalLeft += text->logicalWidth(); in placeBoxRangeInInlineDirection() 402 curr->setLogicalLeft(root()->block()->logicalWidth() - logicalLeft); in placeBoxRangeInInlineDirection() 424 logicalLeft += curr->logicalWidth(); in placeBoxRangeInInlineDirection() 1174 logicalOffsetOnLine += curr->logicalWidth(); in paintFillLayer() 1177 totalLogicalWidth += curr->logicalWidth(); in paintFillLayer() 1180 logicalOffsetOnLine += curr->logicalWidth(); in paintFillLayer() 1183 totalLogicalWidth += curr->logicalWidth(); in paintFillLayer() 1308 logicalOffsetOnLine += curr->logicalWidth(); in paintBoxDecorations() 1311 totalLogicalWidth += curr->logicalWidth(); in paintBoxDecorations() 1380 logicalOffsetOnLine += curr->logicalWidth(); in paintMask() [all …]
|
D | RenderListMarker.cpp | 1492 LayoutUnit logicalWidth = 0; in computePreferredLogicalWidths() local 1499 logicalWidth = font.width(m_text); // no suffix for these types in computePreferredLogicalWidths() 1504 logicalWidth = (font.fontMetrics().ascent() * 2 / 3 + 1) / 2 + 2; in computePreferredLogicalWidths() 1582 logicalWidth = 0; in computePreferredLogicalWidths() 1587 logicalWidth = itemWidth + suffixSpaceWidth; in computePreferredLogicalWidths() 1592 m_minPreferredLogicalWidth = logicalWidth; in computePreferredLogicalWidths() 1593 m_maxPreferredLogicalWidth = logicalWidth; in computePreferredLogicalWidths()
|
D | InlineTextBox.cpp | 224 LayoutUnit logicalWidth = r.width(); in localSelectionRect() local 226 logicalWidth = 0; in localSelectionRect() 228 logicalWidth = logicalRight() - r.x(); in localSelectionRect() 231 LayoutUnit width = isHorizontal() ? logicalWidth : selHeight; in localSelectionRect() 232 LayoutUnit height = isHorizontal() ? selHeight : logicalWidth; in localSelectionRect() 273 bool rtlFullTruncation = !flowIsLTR && ellipsisX >= logicalLeft() + logicalWidth(); in placeEllipsisBox() 323 truncatedWidth += logicalWidth(); in placeEllipsisBox() 526 FloatRect boxRect(boxOrigin, LayoutSize(logicalWidth(), logicalHeight())); in paint() 1410 if (lineOffset - logicalLeft() > logicalWidth()) in offsetForPosition()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
D | ShapeInfo.h | 71 void setShapeSize(LayoutUnit logicalWidth, LayoutUnit logicalHeight) in setShapeSize() argument 77 logicalWidth += m_renderer->marginLogicalWidth(); in setShapeSize() 83 logicalWidth -= m_renderer->borderLogicalWidth(); in setShapeSize() 87 logicalWidth -= m_renderer->borderAndPaddingLogicalWidth(); in setShapeSize() 92 logicalWidth -= m_renderer->borderAndPaddingLogicalWidth(); in setShapeSize() 95 LayoutSize newLogicalSize(logicalWidth, logicalHeight); in setShapeSize()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGPreserveAspectRatio.cpp | 278 AffineTransform SVGPreserveAspectRatio::getCTM(float logicalX, float logicalY, float logicalWidth, … in getCTM() argument 286 double extendedLogicalWidth = logicalWidth; in getCTM()
|