Home
last modified time | relevance | path

Searched refs:logicalHeight (Results 1 – 25 of 71) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBlock.h157 …youtUnit position, bool shouldIndentText, RenderRegion* region, LayoutUnit logicalHeight = 0) const
159 …LayoutUnit>(0, logicalRightOffsetForLineInRegion(position, shouldIndentText, region, logicalHeight)
160 - logicalLeftOffsetForLineInRegion(position, shouldIndentText, region, logicalHeight));
162 …youtUnit position, bool shouldIndentText, RenderRegion* region, LayoutUnit logicalHeight = 0) const
164 …ightOffsetForLine(position, logicalRightOffsetForContent(region), shouldIndentText, logicalHeight);
166 …youtUnit position, bool shouldIndentText, RenderRegion* region, LayoutUnit logicalHeight = 0) const
168 …lLeftOffsetForLine(position, logicalLeftOffsetForContent(region), shouldIndentText, logicalHeight);
170 …youtUnit position, bool shouldIndentText, RenderRegion* region, LayoutUnit logicalHeight = 0) const
172 …htDirection() ? logicalLeftOffsetForLineInRegion(position, shouldIndentText, region, logicalHeight)
173 …icalWidth() - logicalRightOffsetForLineInRegion(position, shouldIndentText, region, logicalHeight);
[all …]
DRenderSearchField.cpp65 lineHeight = max(lineHeight, decorationRenderer->logicalHeight()); in computeControlLogicalHeight()
71 lineHeight = max(lineHeight, cancelRenderer->logicalHeight()); in computeControlLogicalHeight()
79 return logicalHeight(); in computeLogicalHeightLimit()
87 if (containerRenderer->logicalHeight() <= contentLogicalHeight()) in centerContainerIfNeeded()
92 LayoutUnit logicalHeightDiff = containerRenderer->logicalHeight() - contentLogicalHeight(); in centerContainerIfNeeded()
DLineWidth.cpp56 LayoutUnit height = m_block.logicalHeight(); in updateAvailableWidth()
57 …LayoutUnit logicalHeight = m_block.minLineHeightForReplacedRenderer(m_isFirstLine, replacedHeight); in updateAvailableWidth() local
58 m_left = m_block.logicalLeftOffsetForLine(height, shouldIndentText(), logicalHeight); in updateAvailableWidth()
59 m_right = m_block.logicalRightOffsetForLine(height, shouldIndentText(), logicalHeight); in updateAvailableWidth()
71 LayoutUnit height = m_block.logicalHeight(); in shrinkAvailableWidthForNewFloatIfNeeded()
90 …->updateDeltasForContainingBlockLine(&m_block, previousFloat, m_block.logicalHeight(), lineHeight); in shrinkAvailableWidthForNewFloatIfNeeded()
97 …eInfo->updateDeltasForContainingBlockLine(&m_block, newFloat, m_block.logicalHeight(), lineHeight); in shrinkAvailableWidthForNewFloatIfNeeded()
150 LayoutUnit lastFloatLogicalBottom = m_block.logicalHeight(); in fitBelowFloats()
DRenderNamedFlowFragment.cpp90 bool hasAutoHeightStyle = styleToUse->logicalHeight().isAuto() in shouldHaveAutoLogicalHeight()
91 || styleToUse->logicalHeight().isFitContent() in shouldHaveAutoLogicalHeight()
92 || styleToUse->logicalHeight().isMaxContent() in shouldHaveAutoLogicalHeight()
93 || styleToUse->logicalHeight().isMinContent(); in shouldHaveAutoLogicalHeight()
DRenderTableSection.cpp56 row.logicalHeight = row.rowRenderer->style()->logicalHeight(); in setRowLogicalHeightToRowStyleLogicalHeight()
65 Length logicalHeight = cell->style()->logicalHeight(); in updateLogicalHeightForCell() local
66 if (logicalHeight.isPositive()) { in updateLogicalHeightForCell()
67 Length cRowLogicalHeight = row.logicalHeight; in updateLogicalHeightForCell()
68 switch (logicalHeight.type()) { in updateLogicalHeightForCell()
71 … || (cRowLogicalHeight.isPercent() && cRowLogicalHeight.percent() < logicalHeight.percent())) in updateLogicalHeightForCell()
72 row.logicalHeight = logicalHeight; in updateLogicalHeightForCell()
76 … || (cRowLogicalHeight.isFixed() && cRowLogicalHeight.value() < logicalHeight.value())) in updateLogicalHeightForCell()
77 row.logicalHeight = logicalHeight; in updateLogicalHeightForCell()
316 if (m_grid[row].logicalHeight.isPercent()) { in distributeExtraRowSpanHeightToPercentRows()
[all …]
DRenderTextControlSingleLine.cpp93 return containerElement() ? contentLogicalHeight() : logicalHeight(); in computeLogicalHeightLimit()
116 if (innerTextRenderer && !innerTextRenderer->style()->logicalHeight().isAuto()) { in layout()
120 if (viewPortRenderer && !viewPortRenderer->style()->logicalHeight().isAuto()) { in layout()
133 if (innerTextRenderer && innerTextRenderer->logicalHeight() > logicalHeightLimit) { in layout()
134 if (desiredLogicalHeight != innerTextRenderer->logicalHeight()) in layout()
149 LayoutUnit containerLogicalHeight = containerRenderer->logicalHeight(); in layout()
153 } else if (containerRenderer->logicalHeight() < contentLogicalHeight()) { in layout()
166 LayoutUnit logicalHeightDiff = innerTextRenderer->logicalHeight() - contentLogicalHeight(); in layout()
178 innerSpinBox->setLogicalHeight(logicalHeight() - borderBefore() - borderAfter()); in layout()
DRenderBlockFlow.cpp257 LayoutUnit previousHeight = logicalHeight(); in layoutBlock()
316 … if (lowestFloatLogicalBottom() > (logicalHeight() - toAdd) && expandsToEncloseOverhangingFloats()) in layoutBlock()
325 LayoutUnit oldHeight = logicalHeight(); in layoutBlock()
334 LayoutUnit newHeight = logicalHeight(); in layoutBlock()
503 setLogicalHeight(logicalHeight() + logicalHeightForChild(child)); in layoutBlockChild()
505 setLogicalHeight(logicalHeight() + marginAfterForChild(child)); in layoutBlockChild()
533 LayoutUnit newHeight = applyAfterBreak(child, logicalHeight(), marginInfo); in layoutBlockChild()
579 LayoutUnit spaceShortage = child->logicalHeight() - remainingLogicalHeight; in adjustBlockChildForPagination()
619 setLogicalHeight(logicalHeight() + (result - oldTop)); in adjustBlockChildForPagination()
849 …&& (blockStyle->logicalHeight().isAuto() && !blockStyle->logicalHeight().value()) && blockStyle->m… in MarginInfo()
[all …]
DRenderBlockLineLayout.cpp620 …lineLogicalLeft = block->logicalLeftOffsetForLine(block->logicalHeight(), shouldIndentText == Inde… in updateLogicalInlinePositions()
623 …lineLogicalRight = block->pixelSnappedLogicalRightOffsetForLine(block->logicalHeight(), shouldInde… in updateLogicalInlinePositions()
676 …ineLogicalRight, availableLogicalWidth, isFirstLine, shouldIndentText, renderBox->logicalHeight()); in computeInlineDirectionPositionsForLine()
759 …setLogicalHeight(lineBox->alignBoxesInBlockDirection(logicalHeight(), textBoxDataMap, verticalPosi… in computeBlockDirectionPositionsForLine()
770 r->m_box->setLogicalTop(logicalHeight()); in computeBlockDirectionPositionsForLine()
1063 void setRepaintRange(LayoutUnit logicalHeight) in setRepaintRange() argument
1066 m_repaintLogicalTop = m_repaintLogicalBottom = logicalHeight; in setRepaintRange()
1187 layoutState.setRepaintRange(logicalHeight()); in layoutRunsAndFloats()
1260 …LayoutUnit newLogicalHeight = block->logicalHeight() + (shapeContainingBlockHeight - (lineTop + sh… in pushShapeContentOverflowBelowTheContentBox()
1272 LayoutUnit lineTop = logicalHeight() + logicalOffsetFromShapeContainer.height(); in updateShapeAndSegmentsForCurrentLine()
[all …]
DRenderTextControl.cpp101 return logicalHeight() - borderAndPaddingLogicalHeight(); in textBlockLogicalHeight()
129 void RenderTextControl::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, Logic… in computeLogicalHeight() argument
135logicalHeight = computeControlLogicalHeight(innerTextBox->lineHeight(true, HorizontalLine, Positio… in computeLogicalHeight()
140 logicalHeight += scrollbarThickness(); in computeLogicalHeight()
143 RenderBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues); in computeLogicalHeight()
DRenderTable.cpp360 …eight = computeIntrinsicLogicalContentHeightUsing(styleLogicalHeight, logicalHeight() - borderAndP… in convertStyleLogicalHeightToComputedHeight()
373 …ion(LayoutPoint(caption->marginStart(), collapsedMarginBeforeForChild(caption) + logicalHeight())); in layoutCaption()
378 …ion(LayoutPoint(caption->marginStart(), collapsedMarginBeforeForChild(caption) + logicalHeight())); in layoutCaption()
383 …setLogicalHeight(logicalHeight() + caption->logicalHeight() + collapsedMarginBeforeForChild(captio… in layoutCaption()
446 …oldTableLogicalTop += m_captions[i]->logicalHeight() + m_captions[i]->marginBefore() + m_captions[… in layout()
484 if (logicalHeight() != oldTableLogicalTop) { in layout()
486 movedSectionLogicalTop = min(logicalHeight(), oldTableLogicalTop); in layout()
493 setLogicalHeight(logicalHeight() + borderAndPaddingBefore); in layout()
500 Length logicalHeightLength = style()->logicalHeight(); in layout()
524 setLogicalHeight(logicalHeight() + computedLogicalHeight); in layout()
[all …]
DRenderBox.cpp614 LayoutUnit RenderBox::constrainLogicalHeightByMinMax(LayoutUnit logicalHeight, LayoutUnit intrinsic… in constrainLogicalHeightByMinMax() argument
620 logicalHeight = min(logicalHeight, maxH); in constrainLogicalHeightByMinMax()
622 …return max(logicalHeight, computeLogicalHeightUsing(styleToUse->logicalMinHeight(), intrinsicConte… in constrainLogicalHeightByMinMax()
625 LayoutUnit RenderBox::constrainContentBoxLogicalHeightByMinMax(LayoutUnit logicalHeight, LayoutUnit… in constrainContentBoxLogicalHeightByMinMax() argument
631 logicalHeight = min(logicalHeight, maxH); in constrainContentBoxLogicalHeightByMinMax()
633 …return max(logicalHeight, computeContentLogicalHeight(styleToUse->logicalMinHeight(), intrinsicCon… in constrainContentBoxLogicalHeightByMinMax()
1124 void RenderBox::setOverrideContainingBlockContentLogicalHeight(LayoutUnit logicalHeight) in setOverrideContainingBlockContentLogicalHeight() argument
1128 gOverrideContainingBlockLogicalHeightMap->set(this, logicalHeight); in setOverrideContainingBlockContentLogicalHeight()
1893 Length logicalHeightLength = containingBlockStyle->logicalHeight(); in perpendicularContainingBlockLogicalHeight()
2671 computeLogicalHeight(logicalHeight(), logicalTop(), computedValues); in updateLogicalHeight()
[all …]
DInlineBox.h200 …zontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight(); } in width()
201 …isHorizontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight() : logicalWid… in height()
223 float logicalBottom() const { return logicalTop() + logicalHeight(); } in logicalBottom()
237 float logicalHeight() const;
239 … m_topLeft.y(), m_logicalWidth, logicalHeight()) : FloatRect(m_topLeft.y(), m_topLeft.x(), m_logic… in logicalFrameRect()
DRenderMeter.cpp62 void RenderMeter::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExte… in computeLogicalHeight() argument
64 RenderBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues); in computeLogicalHeight()
DRenderReplaced.cpp247 if (style()->logicalHeight().isAuto()) in hasReplacedLogicalHeight()
250 if (style()->logicalHeight().isSpecified()) { in hasReplacedLogicalHeight()
256 if (style()->logicalHeight().isIntrinsic()) in hasReplacedLogicalHeight()
320 …intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && style()->logicalHeight().isAuto()) { in computeAspectRatioInformationForRenderBox()
396 bool heightIsAuto = style()->logicalHeight().isAuto(); in computeReplacedLogicalWidth()
409 LayoutUnit logicalHeight = computeReplacedLogicalHeight(); in computeReplacedLogicalWidth() local
410 …urn computeReplacedLogicalWidthRespectingMinMaxWidth(roundToInt(round(logicalHeight * intrinsicRat… in computeReplacedLogicalWidth()
453 …edLogicalHeightRespectingMinMaxHeight(computeReplacedLogicalHeightUsing(style()->logicalHeight())); in computeReplacedLogicalHeight()
DRenderMultiColumnFlowThread.cpp55 void RenderMultiColumnFlowThread::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logical… in computeLogicalHeight() argument
58 computedValues.m_extent = logicalHeight; in computeLogicalHeight()
DRenderBlockFlow.h102 void setLogicalHeightForFloat(FloatingObject* floatingObject, LayoutUnit logicalHeight) in setLogicalHeightForFloat() argument
105 floatingObject->setHeight(logicalHeight); in setLogicalHeightForFloat()
107 floatingObject->setWidth(logicalHeight); in setLogicalHeightForFloat()
218 …rn parent() && !hasColumns() && containsFloats() && lowestFloatLogicalBottom() > logicalHeight(); } in hasOverhangingFloats()
235 …fsetForLine(LayoutUnit logicalTop, LayoutUnit fixedOffset, LayoutUnit logicalHeight) const OVERRID…
236 …fsetForLine(LayoutUnit logicalTop, LayoutUnit fixedOffset, LayoutUnit logicalHeight) const OVERRID…
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DBoxShape.cpp73 void BoxShape::getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList& r… in getExcludedIntervals() argument
76 if (marginBounds.isEmpty() || !lineOverlapsShapeMarginBounds(logicalTop, logicalHeight)) in getExcludedIntervals()
80 float y2 = logicalTop + logicalHeight; in getExcludedIntervals()
107 void BoxShape::getIncludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList& r… in getIncludedIntervals() argument
114 if (logicalTop < rect.y() || logicalTop + logicalHeight > rect.maxY()) in getIncludedIntervals()
DShapeInfo.h71 void setShapeSize(LayoutUnit logicalWidth, LayoutUnit logicalHeight) in setShapeSize() argument
76 logicalHeight += m_renderer->marginLogicalHeight(); in setShapeSize()
82 logicalHeight -= m_renderer->borderLogicalHeight(); in setShapeSize()
86 logicalHeight -= m_renderer->borderAndPaddingLogicalHeight(); in setShapeSize()
91 logicalHeight -= m_renderer->borderAndPaddingLogicalHeight(); in setShapeSize()
95 LayoutSize newLogicalSize(logicalWidth, logicalHeight); in setShapeSize()
DBoxShape.h49 …virtual void getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) c…
50 …virtual void getIncludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) c…
DRectangleShape.h54 …virtual void getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) c…
55 …virtual void getIncludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) c…
DRectangleShape.cpp76 void RectangleShape::getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentL… in getExcludedIntervals() argument
83 float y2 = logicalTop + logicalHeight; in getExcludedIntervals()
111 void RectangleShape::getIncludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentL… in getIncludedIntervals() argument
118 float y2 = logicalTop + logicalHeight; in getIncludedIntervals()
DShape.h72 …virtual void getIncludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) c…
73 …virtual void getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) c…
DPolygonShape.h96 …virtual void getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) c…
97 …virtual void getIncludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) c…
DRasterShape.h100 …virtual void getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) c…
101 …virtual void getIncludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) c…
DRasterShape.cpp283 void RasterShape::getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList… in getExcludedIntervals() argument
290 intervals.getExcludedIntervals(logicalTop, logicalTop + logicalHeight, excludedIntervals); in getExcludedIntervals()
294 void RasterShape::getIncludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList… in getIncludedIntervals() argument
301 intervals.getIncludedIntervals(logicalTop, logicalTop + logicalHeight, includedIntervals); in getIncludedIntervals()

123