Home
last modified time | relevance | path

Searched refs:isHorizontalWritingMode (Results 1 – 25 of 43) sorted by relevance

12

/external/webkit/Source/WebCore/rendering/
DRenderBox.h57 int logicalLeft() const { return style()->isHorizontalWritingMode() ? x() : y(); } in logicalLeft()
59 int logicalTop() const { return style()->isHorizontalWritingMode() ? y() : x(); } in logicalTop()
61 int logicalWidth() const { return style()->isHorizontalWritingMode() ? width() : height(); } in logicalWidth()
62 int logicalHeight() const { return style()->isHorizontalWritingMode() ? height() : width(); } in logicalHeight()
66 if (style()->isHorizontalWritingMode()) in setLogicalLeft()
73 if (style()->isHorizontalWritingMode()) in setLogicalTop()
80 if (style()->isHorizontalWritingMode()) in setLogicalWidth()
87 if (style()->isHorizontalWritingMode()) in setLogicalHeight()
94 if (style()->isHorizontalWritingMode()) in setLogicalLocation()
141 …int logicalLeftLayoutOverflow() const { return style()->isHorizontalWritingMode() ? minXLayoutOver… in logicalLeftLayoutOverflow()
[all …]
DRenderTable.h59 if (style()->isHorizontalWritingMode()) in borderLeft()
66 if (style()->isHorizontalWritingMode()) in borderRight()
73 if (style()->isHorizontalWritingMode()) in borderTop()
80 if (style()->isHorizontalWritingMode()) in borderBottom()
94 if (style()->isHorizontalWritingMode()) in outerBorderLeft()
101 if (style()->isHorizontalWritingMode()) in outerBorderRight()
108 if (style()->isHorizontalWritingMode()) in outerBorderTop()
115 if (style()->isHorizontalWritingMode()) in outerBorderBottom()
DRenderBlock.h178 …int logicalWidthForChild(RenderBox* child) { return isHorizontalWritingMode() ? child->width() : c… in logicalWidthForChild()
179 …int logicalHeightForChild(RenderBox* child) { return isHorizontalWritingMode() ? child->height() :… in logicalHeightForChild()
180 …int logicalTopForChild(RenderBox* child) { return isHorizontalWritingMode() ? child->y() : child->… in logicalTopForChild()
225 …int logicalRightOffsetForContent() const { return isHorizontalWritingMode() ? borderLeft() + paddi… in logicalRightOffsetForContent()
226 …int logicalLeftOffsetForContent() const { return isHorizontalWritingMode() ? borderLeft() + paddin… in logicalLeftOffsetForContent()
442 …int logicalTopForFloat(const FloatingObject* child) const { return isHorizontalWritingMode() ? chi… in logicalTopForFloat()
443 …int logicalBottomForFloat(const FloatingObject* child) const { return isHorizontalWritingMode() ? … in logicalBottomForFloat()
444 …int logicalLeftForFloat(const FloatingObject* child) const { return isHorizontalWritingMode() ? ch… in logicalLeftForFloat()
445 …int logicalRightForFloat(const FloatingObject* child) const { return isHorizontalWritingMode() ? c… in logicalRightForFloat()
446 …int logicalWidthForFloat(const FloatingObject* child) const { return isHorizontalWritingMode() ? c… in logicalWidthForFloat()
[all …]
DRenderBox.cpp133 if (isHorizontalWritingMode()) in marginStart()
140 if (isHorizontalWritingMode()) in marginEnd()
147 if (isHorizontalWritingMode()) { in setMarginStart()
162 if (isHorizontalWritingMode()) { in setMarginEnd()
309 …if (isPositioned() && style()->hasStaticBlockPosition(isHorizontalWritingMode()) && oldStyle->marg… in styleDidChange()
347 viewRenderer->setHorizontalWritingMode(style()->isHorizontalWritingMode()); in styleDidChange()
350 …ent()->documentElement()->renderer()->setHorizontalWritingMode(style()->isHorizontalWritingMode()); in styleDidChange()
636 …led = l->scroll(logicalToPhysical(ScrollInlineDirectionBackward, isHorizontalWritingMode(), style(… in logicalScroll()
638 …if (l->scroll(logicalToPhysical(direction, isHorizontalWritingMode(), style()->isFlippedBlocksWrit… in logicalScroll()
1185 …return containingBlockStyle->isHorizontalWritingMode() ? view()->frameView()->visibleHeight() : vi… in perpendicularContainingBlockLogicalHeight()
[all …]
DRenderBoxModelObject.h50 …IntSize relativePositionLogicalOffset() const { return style()->isHorizontalWritingMode() ? relati… in relativePositionLogicalOffset()
93 …int borderAndPaddingLogicalLeft() const { return style()->isHorizontalWritingMode() ? borderLeft()… in borderAndPaddingLogicalLeft()
96 …int borderLogicalLeft() const { return style()->isHorizontalWritingMode() ? borderLeft() : borderT… in borderLogicalLeft()
97 …int borderLogicalRight() const { return style()->isHorizontalWritingMode() ? borderRight() : borde… in borderLogicalRight()
DRenderTableCell.cpp178 if (!includeIntrinsicPadding || !isHorizontalWritingMode()) in paddingTop()
186 if (!includeIntrinsicPadding || !isHorizontalWritingMode()) in paddingBottom()
194 if (!includeIntrinsicPadding || isHorizontalWritingMode()) in paddingLeft()
203 if (!includeIntrinsicPadding || isHorizontalWritingMode()) in paddingRight()
678 if (tableStyle->isHorizontalWritingMode()) in collapsedLeftBorder()
686 if (tableStyle->isHorizontalWritingMode()) in collapsedRightBorder()
694 if (tableStyle->isHorizontalWritingMode()) in collapsedTopBorder()
702 if (tableStyle->isHorizontalWritingMode()) in collapsedBottomBorder()
752 if (tableStyle->isHorizontalWritingMode()) in borderHalfLeft()
760 if (tableStyle->isHorizontalWritingMode()) in borderHalfRight()
[all …]
DRenderFieldset.cpp145 if (style()->isHorizontalWritingMode()) { in paintBoxDecorations()
170 if (style()->isHorizontalWritingMode()) { in paintBoxDecorations()
199 if (style()->isHorizontalWritingMode()) { in paintMask()
DRenderBlock.cpp1334 if (isHorizontalWritingMode()) in layoutBlock()
1373 if (isHorizontalWritingMode()) { in addOverflowFromChildren()
1410 if (isHorizontalWritingMode()) in computeOverflow()
1468 bool isHorizontal = isHorizontalWritingMode(); in adjustPositionedBlock()
1858 if (isHorizontalWritingMode()) { in setLogicalLeftForChild()
1871 if (isHorizontalWritingMode()) { in setLogicalTopForChild()
2204 …if (relayoutChildren || (r->style()->hasStaticBlockPosition(isHorizontalWritingMode()) && r->paren… in layoutPositionedObjects()
2323 int inlineDirectionSize = isHorizontalWritingMode() ? colRect.width() : colRect.height(); in paintColumnRules()
2336 …int ruleLeft = isHorizontalWritingMode() ? tx + ruleLogicalLeft - ruleWidth / 2 + ruleAdd : tx + b… in paintColumnRules()
2337 … int ruleRight = isHorizontalWritingMode() ? ruleLeft + ruleWidth : ruleLeft + contentWidth(); in paintColumnRules()
[all …]
DRenderTableSection.cpp712 …if (style()->isHorizontalWritingMode() && view()->layoutState()->pageLogicalHeight() && cell->heig… in setCellLogicalWidths()
1069 if (style()->isHorizontalWritingMode()) in setCellLogicalWidths()
1077 …int before = (style()->isHorizontalWritingMode() ? localRepaintRect.y() : localRepaintRect.x()) - … in setCellLogicalWidths()
1087 …int after = (style()->isHorizontalWritingMode() ? localRepaintRect.maxY() : localRepaintRect.maxX(… in setCellLogicalWidths()
1100 …int start = (style()->isHorizontalWritingMode() ? localRepaintRect.x() : localRepaintRect.y()) - o… in setCellLogicalWidths()
1106 …int end = (style()->isHorizontalWritingMode() ? localRepaintRect.maxX() : localRepaintRect.maxY())… in setCellLogicalWidths()
1285 if (style()->isHorizontalWritingMode()) in setCellLogicalWidths()
1291 int offsetInColumnDirection = style()->isHorizontalWritingMode() ? location.y() : location.x(); in setCellLogicalWidths()
1300 int offsetInRowDirection = style()->isHorizontalWritingMode() ? location.x() : location.y(); in setCellLogicalWidths()
DRenderView.h59 …int viewLogicalWidth() const { return style()->isHorizontalWritingMode() ? viewWidth() : viewHeigh… in viewLogicalWidth()
60 …int viewLogicalHeight() const { return style()->isHorizontalWritingMode() ? viewHeight() : viewWid… in viewLogicalHeight()
DInlineFlowBox.h217 if (!renderer()->isHorizontalWritingMode()) in logicalLayoutOverflowRect()
243 if (!renderer()->isHorizontalWritingMode()) in logicalVisualOverflowRect()
DRenderTable.cpp230 …asPerpendicularContainingBlock = cb->style()->isHorizontalWritingMode() != style()->isHorizontalWr… in computeLogicalWidth()
434 …calTop = min(logicalHeight(), section->logicalTop()) + (style()->isHorizontalWritingMode() ? secti… in layout()
466 if (style()->isHorizontalWritingMode()) in layout()
601 if (style()->isHorizontalWritingMode()) { in subtractCaptionRect()
1244 if (style()->isHorizontalWritingMode()) { in overflowClipRect()
DRenderInline.cpp491 bool isHorizontal = style()->isHorizontalWritingMode(); in culledInlineAbsoluteRects()
575 bool isHorizontal = style()->isHorizontalWritingMode(); in culledInlineAbsoluteQuads()
768 bool isHorizontal = style()->isHorizontalWritingMode(); in linesBoundingBox()
783 bool isHorizontal = style()->isHorizontalWritingMode(); in culledInlineBoundingBox()
895 bool isHorizontal = style()->isHorizontalWritingMode(); in culledInlineVisualOverflowBoundingBox()
954 if (!style()->isHorizontalWritingMode()) in linesVisualOverflowBoundingBox()
1318 if (!child->style()->hasStaticInlinePosition(style()->isHorizontalWritingMode())) in relativePositionedInlineOffset()
1329 if (!child->style()->hasStaticBlockPosition(style()->isHorizontalWritingMode())) in relativePositionedInlineOffset()
1332 return style()->isHorizontalWritingMode() ? logicalOffset : logicalOffset.transposedSize(); in relativePositionedInlineOffset()
DRenderCombineText.cpp93 if (style()->isHorizontalWritingMode()) in combineText()
DRenderListMarker.cpp1100 if (root->block()->style()->isHorizontalWritingMode()) in localSelectionRect()
1258 if (!style()->isHorizontalWritingMode()) { in paint()
1301 if (!style()->isHorizontalWritingMode()) in paint()
1357 …m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = style()->isHorizontalWritingMode() ? ima… in computePreferredLogicalWidths()
1687 if (!style()->isHorizontalWritingMode()) { in getRelativeMarkerRect()
DRenderFlexibleBox.cpp406 …setHeight(height() + lineHeight(true, style()->isHorizontalWritingMode() ? HorizontalLine : Vertic… in layoutHorizontalBox()
427 if (child->style()->hasStaticBlockPosition(style()->isHorizontalWritingMode())) in layoutHorizontalBox()
688 if (child->style()->hasStaticBlockPosition(style()->isHorizontalWritingMode())) in layoutVerticalBox()
738 …setHeight(height() + lineHeight(true, style()->isHorizontalWritingMode() ? HorizontalLine : Vertic… in layoutVerticalBox()
DRenderImage.cpp494 logicalWidth = style()->isHorizontalWritingMode() ? size.width() : size.height(); in computeReplacedLogicalWidth()
524 logicalHeight = style()->isHorizontalWritingMode() ? size.height() : size.width(); in computeReplacedLogicalHeight()
DRootInlineBox.cpp57 setIsHorizontal(block->isHorizontalWritingMode()); in RootInlineBox()
340 …logicalRect.move(renderer()->isHorizontalWritingMode() ? offsetFromRootBlock : IntSize(offsetFromR… in lineSelectionGap()
702 …LineDirectionMode lineDirection = parent->isHorizontalWritingMode() ? HorizontalLine : VerticalLin… in verticalPositionForBox()
DInlineBox.cpp298 if (block->style()->isHorizontalWritingMode()) in locationIncludingFlipping()
DRenderText.cpp355 if (style()->isHorizontalWritingMode()) in absoluteQuads()
575 …return style()->isHorizontalWritingMode() ? IntRect(left, top, caretWidth, height) : IntRect(top, … in localCaretRect()
1296 bool isHorizontal = style()->isHorizontalWritingMode(); in linesBoundingBox()
1326 if (!style()->isHorizontalWritingMode()) in linesVisualOverflowBoundingBox()
DRenderReplaced.cpp332 if (root->block()->style()->isHorizontalWritingMode()) in localSelectionRect()
/external/webkit/Source/WebCore/rendering/style/
DRenderStyle.cpp808 …roundedRect.includeLogicalEdges(radii, isHorizontalWritingMode(), includeLogicalLeftEdge, includeL… in getRoundedBorderFor()
815 bool horizontal = isHorizontalWritingMode(); in getRoundedInnerBorderFor()
838 …roundedRect.includeLogicalEdges(radii, isHorizontalWritingMode(), includeLogicalLeftEdge, includeL… in getRoundedInnerBorderFor()
1188 if (isHorizontalWritingMode()) in logicalWidth()
1195 if (isHorizontalWritingMode()) in logicalHeight()
1202 if (isHorizontalWritingMode()) in logicalMinWidth()
1209 if (isHorizontalWritingMode()) in logicalMaxWidth()
1216 if (isHorizontalWritingMode()) in logicalMinHeight()
1223 if (isHorizontalWritingMode()) in logicalMaxHeight()
1262 if (isHorizontalWritingMode()) in borderStart()
[all …]
DRenderStyle.h381 Length logicalLeft() const { return isHorizontalWritingMode() ? left() : top(); } in logicalLeft()
382 Length logicalRight() const { return isHorizontalWritingMode() ? right() : bottom(); } in logicalRight()
383 …Length logicalTop() const { return isHorizontalWritingMode() ? (isFlippedBlocksWritingMode() ? bot… in logicalTop()
384 …Length logicalBottom() const { return isHorizontalWritingMode() ? (isFlippedBlocksWritingMode() ? … in logicalBottom()
783 …bool isHorizontalWritingMode() const { return writingMode() == TopToBottomWritingMode || writingMo… in isHorizontalWritingMode() function
1384 …return isHorizontalWritingMode() ? getShadowHorizontalExtent(shadow, logicalLeft, logicalRight) : … in getShadowInlineDirectionExtent()
1388 …return isHorizontalWritingMode() ? getShadowVerticalExtent(shadow, logicalTop, logicalBottom) : ge… in getShadowBlockDirectionExtent()
/external/webkit/Source/WebCore/page/
DPrintContext.cpp73 bool isHorizontal = view->style()->isHorizontalWritingMode(); in computePageRects()
116 bool isHorizontal = view->style()->isHorizontalWritingMode(); in computePageRectsWithPageSizeInternal()
192 useViewWidth = m_frame->document()->renderView()->style()->isHorizontalWritingMode(); in computeAutomaticScaleFactor()
DFrameView.cpp2548 …float pageLogicalWidth = root->style()->isHorizontalWritingMode() ? pageSize.width() : pageSize.he… in forceLayoutForPagination()
2549 …float pageLogicalHeight = root->style()->isHorizontalWritingMode() ? pageSize.height() : pageSize.… in forceLayoutForPagination()
2561 …int docLogicalWidth = root->style()->isHorizontalWritingMode() ? root->docWidth() : root->docHeigh… in forceLayoutForPagination()
2569 …int docLogicalHeight = root->style()->isHorizontalWritingMode() ? root->docHeight() : root->docWid… in forceLayoutForPagination()
2570 … int docLogicalTop = root->style()->isHorizontalWritingMode() ? root->docTop() : root->docLeft(); in forceLayoutForPagination()
2571 …int docLogicalRight = root->style()->isHorizontalWritingMode() ? root->docRight() : root->docBotto… in forceLayoutForPagination()
2576 if (!root->style()->isHorizontalWritingMode()) in forceLayoutForPagination()
2777 return renderView->style()->isHorizontalWritingMode(); in isVerticalDocument()

12