Home
last modified time | relevance | path

Searched refs:isLeftToRightDirection (Results 1 – 25 of 56) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DLayoutBoxExtent.cpp93 return isLeftToRightDirection(direction) ? m_left : m_right; in start()
94 return isLeftToRightDirection(direction) ? m_top : m_bottom; in start()
100 return isLeftToRightDirection(direction) ? m_right : m_left; in end()
101 return isLeftToRightDirection(direction) ? m_bottom : m_top; in end()
149 if (isLeftToRightDirection(direction)) in setStart()
154 if (isLeftToRightDirection(direction)) in setStart()
164 if (isLeftToRightDirection(direction)) in setEnd()
169 if (isLeftToRightDirection(direction)) in setEnd()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderDetailsMarker.cpp43 if (style()->isLeftToRightDirection()) in orientation()
47 if (style()->isLeftToRightDirection()) in orientation()
51 if (style()->isLeftToRightDirection()) in orientation()
55 if (style()->isLeftToRightDirection()) in orientation()
DRenderTable.h63 return style()->isLeftToRightDirection() ? borderStart() : borderEnd(); in borderLeft()
70 return style()->isLeftToRightDirection() ? borderEnd() : borderStart(); in borderRight()
78 return style()->isLeftToRightDirection() ? borderStart() : borderEnd(); in borderTop()
85 return style()->isLeftToRightDirection() ? borderEnd() : borderStart(); in borderBottom()
98 return style()->isLeftToRightDirection() ? outerBorderStart() : outerBorderEnd(); in outerBorderLeft()
105 return style()->isLeftToRightDirection() ? outerBorderEnd() : outerBorderStart(); in outerBorderRight()
113 return style()->isLeftToRightDirection() ? outerBorderStart() : outerBorderEnd(); in outerBorderTop()
120 return style()->isLeftToRightDirection() ? outerBorderEnd() : outerBorderStart(); in outerBorderBottom()
DRenderBlockLineLayout.cpp197 …isOnlyRun = (!style()->isLeftToRightDirection() ? bidiRuns.lastRun() : bidiRuns.firstRun())->m_obj… in constructLine()
298 static void updateLogicalWidthForLeftAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpa… in updateLogicalWidthForLeftAlignedBlock() argument
302 if (isLeftToRightDirection) { in updateLogicalWidthForLeftAlignedBlock()
314 static void updateLogicalWidthForRightAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSp… in updateLogicalWidthForRightAlignedBlock() argument
319 if (isLeftToRightDirection) { in updateLogicalWidthForRightAlignedBlock()
336 static void updateLogicalWidthForCenterAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingS… in updateLogicalWidthForCenterAlignedBlock() argument
344 if (isLeftToRightDirection) in updateLogicalWidthForCenterAlignedBlock()
361 …tLine(), renderer->style()->isLeftToRightDirection() ? previousObject : nextObject, renderer->styl… in setMarginsForRubyRun()
500 …updateLogicalWidthForLeftAlignedBlock(style()->isLeftToRightDirection(), trailingSpaceRun, logical… in updateLogicalWidthForAlignment()
504 …updateLogicalWidthForRightAlignedBlock(style()->isLeftToRightDirection(), trailingSpaceRun, logica… in updateLogicalWidthForAlignment()
[all …]
DRenderBoxModelObject.cpp206 if (!style()->right().isAuto() && !containingBlock->style()->isLeftToRightDirection()) in relativePositionOffset()
541 if (!currentStyle->isLeftToRightDirection()) in localCaretRectForEmptyElement()
545 if (currentStyle->isLeftToRightDirection()) in localCaretRectForEmptyElement()
555 if (currentStyle->isLeftToRightDirection()) in localCaretRectForEmptyElement()
560 if (currentStyle->isLeftToRightDirection()) in localCaretRectForEmptyElement()
567 if (!currentStyle->isLeftToRightDirection()) in localCaretRectForEmptyElement()
DInlineTextBox.cpp297 bool ltr = isLeftToRightDirection(); in placeEllipsisBox()
414 … if (renderer().containingBlock()->style()->isLeftToRightDirection() != isLeftToRightDirection()) { in paint()
423 …VisibleText = renderer().width(m_start, m_truncation, textPos(), isLeftToRightDirection() ? LTR : … in paint()
426 … LayoutSize truncationOffset(isLeftToRightDirection() ? widthOfHiddenText : -widthOfHiddenText, 0); in paint()
888 …width = renderer().width(m_start, m_truncation, textPos(), isLeftToRightDirection() ? LTR : RTL, i… in paintDecoration()
889 if (!isLeftToRightDirection()) in paintDecoration()
1127 …renderer().width(m_start, paintStart - m_start, textPos(), isLeftToRightDirection() ? LTR : RTL, i… in paintCompositionUnderline()
1130 …er().width(paintStart, paintEnd - paintStart, textPos() + start, isLeftToRightDirection() ? LTR : … in paintCompositionUnderline()
1175 return isLeftToRightDirection() ? len() : 0; in offsetForPosition()
1177 return isLeftToRightDirection() ? 0 : len(); in offsetForPosition()
[all …]
DRenderTableCell.cpp328 bool rtl = !styleForCellFlow()->isLeftToRightDirection(); in clippedOverflowRectForPaintInvalidation()
861 …return styleForCellFlow->isLeftToRightDirection() ? section()->cachedCollapsedBorder(this, CBSStar… in cachedCollapsedLeftBorder()
868 …return styleForCellFlow->isLeftToRightDirection() ? section()->cachedCollapsedBorder(this, CBSEnd)… in cachedCollapsedRightBorder()
876 …return styleForCellFlow->isLeftToRightDirection() ? section()->cachedCollapsedBorder(this, CBSStar… in cachedCollapsedTopBorder()
883 …return styleForCellFlow->isLeftToRightDirection() ? section()->cachedCollapsedBorder(this, CBSEnd)… in cachedCollapsedBottomBorder()
932 … return styleForCellFlow->isLeftToRightDirection() ? borderHalfStart(outer) : borderHalfEnd(outer); in borderHalfLeft()
940 … return styleForCellFlow->isLeftToRightDirection() ? borderHalfEnd(outer) : borderHalfStart(outer); in borderHalfRight()
949 … return styleForCellFlow->isLeftToRightDirection() ? borderHalfStart(outer) : borderHalfEnd(outer); in borderHalfTop()
957 … return styleForCellFlow->isLeftToRightDirection() ? borderHalfEnd(outer) : borderHalfStart(outer); in borderHalfBottom()
964 …return (border.width() + ((styleForCellFlow()->isLeftToRightDirection() ^ outer) ? 1 : 0)) / 2; //… in borderHalfStart()
[all …]
DRenderMultiColumnSet.cpp343 if (style()->isLeftToRightDirection()) in columnRectAt()
400 bool isLeftmostColumn = style()->isLeftToRightDirection() ? isFirstColumn : isLastColumn; in flowThreadPortionOverflowRect()
401 bool isRightmostColumn = style()->isLeftToRightDirection() ? isLastColumn : isFirstColumn; in flowThreadPortionOverflowRect()
510 bool leftToRight = style()->isLeftToRightDirection(); in collectLayerFragments()
DRenderDeprecatedFlexibleBox.cpp45 if (m_box->style()->boxOrient() == HORIZONTAL && !m_box->style()->isLeftToRightDirection()) in FlexBoxIterator()
562 if (remainingSpace > 0 && ((style()->isLeftToRightDirection() && style()->boxPack() != Start) in layoutHorizontalBox()
563 || (!style()->isLeftToRightDirection() && style()->boxPack() != End))) { in layoutHorizontalBox()
691 if (!style()->isLeftToRightDirection()) in layoutVerticalBox()
697 if (style()->isLeftToRightDirection()) in layoutVerticalBox()
946 if (!srcBlock.style()->isLeftToRightDirection()) in applyLineClamp()
949 bool leftToRight = destBlock.style()->isLeftToRightDirection(); in applyLineClamp()
DInlineBox.h254 bool isLeftToRightDirection() const { return direction() == LTR; } in isLeftToRightDirection() function
255 …int caretLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOff… in caretLeftmostOffset()
256 …int caretRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOf… in caretRightmostOffset()
DRenderRubyRun.cpp282 startOverhang = style()->isLeftToRightDirection() ? logicalLeftOverhang : logicalRightOverhang; in getOverhang()
283 endOverhang = style()->isLeftToRightDirection() ? logicalRightOverhang : logicalLeftOverhang; in getOverhang()
DRenderTable.cpp515 … LayoutUnit sectionLogicalLeft = style()->isLeftToRightDirection() ? borderStart() : borderEnd(); in layout()
517 sectionLogicalLeft += style()->isLeftToRightDirection() ? paddingStart() : paddingEnd(); in layout()
928 return (borderWidth + (style()->isLeftToRightDirection() ? 0 : 1)) / 2; in calcBorderStart()
983 return (borderWidth + (style()->isLeftToRightDirection() ? 1 : 0)) / 2; in calcBorderEnd()
1059 borderWidth = (tb.width() + (style()->isLeftToRightDirection() ? 0 : 1)) / 2; in outerBorderStart()
1086 borderWidth = (tb.width() + (style()->isLeftToRightDirection() ? 1 : 0)) / 2; in outerBorderEnd()
DRenderSliderContainer.cpp137 else if (style()->isLeftToRightDirection()) in layout()
/external/chromium_org/third_party/WebKit/Source/platform/
DLengthBox.cpp81 return isLeftToRightDirection(direction) ? m_left : m_right; in start()
82 return isLeftToRightDirection(direction) ? m_top : m_bottom; in start()
88 return isLeftToRightDirection(direction) ? m_right : m_left; in end()
89 return isLeftToRightDirection(direction) ? m_bottom : m_top; in end()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DSliderThumbElement.cpp126 bool isLeftToRightDirection = renderBox()->style()->isLeftToRightDirection(); in setPositionFromPoint() local
145 position -= isLeftToRightDirection ? renderBox()->marginLeft() : renderBox()->marginRight(); in setPositionFromPoint()
150 const Decimal fraction = isVertical || !isLeftToRightDirection ? Decimal(1) - ratio : ratio; in setPositionFromPoint()
157 …double closestRatio = isVertical || !isLeftToRightDirection ? 1.0 - closestFraction : closestFract… in setPositionFromPoint()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShapeOutsideInfo.cpp222 if (style->isLeftToRightDirection()) in borderStartWithStyleForWritingMode()
227 if (style->isLeftToRightDirection()) in borderStartWithStyleForWritingMode()
236 if (style->isLeftToRightDirection()) in borderAndPaddingStartWithStyleForWritingMode()
241 if (style->isLeftToRightDirection()) in borderAndPaddingStartWithStyleForWritingMode()
293 …LayoutUnit logicalLeftMargin = containingBlock.style()->isLeftToRightDirection() ? containingBlock… in computeDeltasForContainingBlockLine()
297 …LayoutUnit logicalRightMargin = containingBlock.style()->isLeftToRightDirection() ? containingBloc… in computeDeltasForContainingBlockLine()
/external/chromium_org/third_party/WebKit/Source/core/paint/
DListMarkerPainter.cpp197 m_renderListMarker.style()->isLeftToRightDirection() ? suffix : ' ', in paint()
198 m_renderListMarker.style()->isLeftToRightDirection() ? ' ' : suffix in paint()
204 if (m_renderListMarker.style()->isLeftToRightDirection()) { in paint()
DMultiColumnSetPainter.cpp55 bool leftToRight = m_renderMultiColumnSet.style()->isLeftToRightDirection(); in paintColumnRules()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextDirection.h33 inline bool isLeftToRightDirection(TextDirection direction) { return direction == LTR; } in isLeftToRightDirection() function
/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisiblePosition.cpp142 …return box->isLeftToRightDirection() ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVis… in leftVisuallyDistinctCandidate()
153 …offset = box->isLeftToRightDirection() ? renderer->previousOffset(offset) : renderer->nextOffset(o… in leftVisuallyDistinctCandidate()
161 if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) { in leftVisuallyDistinctCandidate()
307 …return box->isLeftToRightDirection() ? nextVisuallyDistinctCandidate(m_deepPosition) : previousVis… in rightVisuallyDistinctCandidate()
318 …offset = box->isLeftToRightDirection() ? renderer->nextOffset(offset) : renderer->previousOffset(o… in rightVisuallyDistinctCandidate()
326 if (box->isLeftToRightDirection() ? offset > caretMaxOffset : offset < caretMinOffset) { in rightVisuallyDistinctCandidate()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPrintContext.cpp123 … inlineDirectionStart = view->style()->isLeftToRightDirection() ? docRect.x() : docRect.maxX(); in computePageRectsWithPageSizeInternal()
124 inlineDirectionEnd = view->style()->isLeftToRightDirection() ? docRect.maxX() : docRect.x(); in computePageRectsWithPageSizeInternal()
133 … inlineDirectionStart = view->style()->isLeftToRightDirection() ? docRect.y() : docRect.maxY(); in computePageRectsWithPageSizeInternal()
134 inlineDirectionEnd = view->style()->isLeftToRightDirection() ? docRect.maxY() : docRect.y(); in computePageRectsWithPageSizeInternal()
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
DLineWidth.cpp83 if (shouldIndentText() && m_block.style()->isLeftToRightDirection()) in shrinkAvailableWidthForNewFloatIfNeeded()
94 if (shouldIndentText() && !m_block.style()->isLeftToRightDirection()) in shrinkAvailableWidthForNewFloatIfNeeded()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.cpp1527 return isLeftToRightDirection() ? borderLeft() : borderRight(); in borderStart()
1528 return isLeftToRightDirection() ? borderTop() : borderBottom(); in borderStart()
1534 return isLeftToRightDirection() ? borderRight() : borderLeft(); in borderEnd()
1535 return isLeftToRightDirection() ? borderBottom() : borderTop(); in borderEnd()
1573 return isLeftToRightDirection() ? borderLeftWidth() : borderRightWidth(); in borderStartWidth()
1574 return isLeftToRightDirection() ? borderTopWidth() : borderBottomWidth(); in borderStartWidth()
1580 return isLeftToRightDirection() ? borderRightWidth() : borderLeftWidth(); in borderEndWidth()
1581 return isLeftToRightDirection() ? borderBottomWidth() : borderTopWidth(); in borderEndWidth()
1587 if (isLeftToRightDirection()) in setMarginStart()
1592 if (isLeftToRightDirection()) in setMarginStart()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGInlineText.cpp120 LayoutUnit x = box->isLeftToRightDirection() ? rect.x() : rect.maxX(); in localCaretRect()
125 LayoutUnit x = box->isLeftToRightDirection() ? rect.maxX() : rect.x(); in localCaretRect()
/external/chromium_org/third_party/WebKit/Source/core/css/
DPageRuleCollector.cpp47 if (!rootElementStyle->isLeftToRightDirection()) in isLeftPage()

123