Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/rendering/
DRenderTable.h60 return style()->isLeftToRightDirection() ? borderStart() : borderEnd(); in borderLeft()
67 return style()->isLeftToRightDirection() ? borderEnd() : borderStart(); in borderRight()
75 return style()->isLeftToRightDirection() ? borderStart() : borderEnd(); in borderTop()
82 return style()->isLeftToRightDirection() ? borderEnd() : borderStart(); in borderBottom()
95 return style()->isLeftToRightDirection() ? outerBorderStart() : outerBorderEnd(); in outerBorderLeft()
102 return style()->isLeftToRightDirection() ? outerBorderEnd() : outerBorderStart(); in outerBorderRight()
110 return style()->isLeftToRightDirection() ? outerBorderStart() : outerBorderEnd(); in outerBorderTop()
117 return style()->isLeftToRightDirection() ? outerBorderEnd() : outerBorderStart(); in outerBorderBottom()
DRenderDetailsMarker.cpp82 if (style()->isLeftToRightDirection()) in orientation()
86 if (style()->isLeftToRightDirection()) in orientation()
90 if (style()->isLeftToRightDirection()) in orientation()
94 if (style()->isLeftToRightDirection()) in orientation()
DInlineTextBox.cpp196 …tObj->allowTabs(), textPos(), m_expansion, expansionBehavior(), !isLeftToRightDirection(), m_dirOv… in selectionRect()
264 bool ltr = isLeftToRightDirection(); in placeEllipsisBox()
496 …if (renderer()->containingBlock()->style()->isLeftToRightDirection() != isLeftToRightDirection()) { in paint()
509 tx += isLeftToRightDirection() ? widthOfHiddenText : -widthOfHiddenText; in paint()
511 ty += isLeftToRightDirection() ? widthOfHiddenText : -widthOfHiddenText; in paint()
653 …er()->allowTabs(), textPos(), m_expansion, expansionBehavior(), !isLeftToRightDirection(), m_dirOv… in paint()
829 … !isLeftToRightDirection(), m_dirOverride || style->visuallyOrdered()), in paintSelection()
853 … !isLeftToRightDirection(), m_dirOverride || style->visuallyOrdered()), in paintCompositionBackground()
888 if (!isLeftToRightDirection()) in paintDecoration()
1014 …er()->allowTabs(), textPos(), m_expansion, expansionBehavior(), !isLeftToRightDirection(), m_dirOv… in paintSpellingOrGrammarMarker()
[all …]
DRenderTableCell.cpp256 bool rtl = !table()->style()->isLeftToRightDirection(); in clippedOverflowRectForRepaint()
679 return tableStyle->isLeftToRightDirection() ? collapsedStartBorder() : collapsedEndBorder(); in collapsedLeftBorder()
687 return tableStyle->isLeftToRightDirection() ? collapsedEndBorder() : collapsedStartBorder(); in collapsedRightBorder()
696 return tableStyle->isLeftToRightDirection() ? collapsedStartBorder() : collapsedEndBorder(); in collapsedTopBorder()
704 return tableStyle->isLeftToRightDirection() ? collapsedEndBorder() : collapsedStartBorder(); in collapsedBottomBorder()
753 return tableStyle->isLeftToRightDirection() ? borderHalfStart(outer) : borderHalfEnd(outer); in borderHalfLeft()
761 return tableStyle->isLeftToRightDirection() ? borderHalfEnd(outer) : borderHalfStart(outer); in borderHalfRight()
770 return tableStyle->isLeftToRightDirection() ? borderHalfStart(outer) : borderHalfEnd(outer); in borderHalfTop()
778 return tableStyle->isLeftToRightDirection() ? borderHalfEnd(outer) : borderHalfStart(outer); in borderHalfBottom()
785 …return (border.width() + ((table()->style()->isLeftToRightDirection() ^ outer) ? 1 : 0)) / 2; // G… in borderHalfStart()
[all …]
DRenderBlockLineLayout.cpp308 …isOnlyRun = (!style()->isLeftToRightDirection() ? bidiRuns.lastRun() : bidiRuns.firstRun())->m_obj… in constructLine()
376 static void updateLogicalWidthForLeftAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpa… in updateLogicalWidthForLeftAlignedBlock() argument
380 if (isLeftToRightDirection) { in updateLogicalWidthForLeftAlignedBlock()
392 static void updateLogicalWidthForRightAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSp… in updateLogicalWidthForRightAlignedBlock() argument
397 if (isLeftToRightDirection) { in updateLogicalWidthForRightAlignedBlock()
414 static void updateLogicalWidthForCenterAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingS… in updateLogicalWidthForCenterAlignedBlock() argument
422 if (isLeftToRightDirection) in updateLogicalWidthForCenterAlignedBlock()
513 …tLine, renderBox->style()->isLeftToRightDirection() ? previousObject : nextObject, renderBox->styl… in computeInlineDirectionPositionsForLine()
538 …updateLogicalWidthForLeftAlignedBlock(style()->isLeftToRightDirection(), trailingSpaceRun, logical… in computeInlineDirectionPositionsForLine()
552 if (style()->isLeftToRightDirection()) { in computeInlineDirectionPositionsForLine()
[all …]
DRenderFlexibleBox.cpp49 if (m_box->style()->boxOrient() == HORIZONTAL && !m_box->style()->isLeftToRightDirection()) in FlexBoxIterator()
547 if (remainingSpace > 0 && ((style()->isLeftToRightDirection() && style()->boxPack() != BSTART) in layoutHorizontalBox()
548 || (!style()->isLeftToRightDirection() && style()->boxPack() != BEND))) { in layoutHorizontalBox()
605 if (!style()->isLeftToRightDirection()) in layoutVerticalBox()
672 if (!style()->isLeftToRightDirection()) in layoutVerticalBox()
678 if (style()->isLeftToRightDirection()) in layoutVerticalBox()
928 if (!srcBlock->style()->isLeftToRightDirection()) in applyLineClamp()
931 bool leftToRight = destBlock->style()->isLeftToRightDirection(); in applyLineClamp()
DInlineBox.h278 bool isLeftToRightDirection() const { return direction() == LTR; } in isLeftToRightDirection() function
279 …int caretLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOff… in caretLeftmostOffset()
280 …int caretRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOf… in caretRightmostOffset()
DRenderFileUploadControl.cpp232 … length, false, 0, 0, TextRun::AllowTrailingExpansion, !style()->isLeftToRightDirection(), style()… in paintObject()
239 if (style()->isLeftToRightDirection()) in paintObject()
258 if (style()->isLeftToRightDirection()) in paintObject()
DRenderRubyRun.cpp298 startOverhang = style()->isLeftToRightDirection() ? logicalLeftOverhang : logicalRightOverhang; in getOverhang()
299 endOverhang = style()->isLeftToRightDirection() ? logicalRightOverhang : logicalLeftOverhang; in getOverhang()
DRenderListItem.cpp273 if (style()->isLeftToRightDirection()) { in positionListMarker()
376 if (!m_marker->style()->isLeftToRightDirection()) in markerTextWithSuffix()
381 if (m_marker->style()->isLeftToRightDirection()) in markerTextWithSuffix()
DRenderBox.cpp134 return style()->isLeftToRightDirection() ? m_marginLeft : m_marginRight; in marginStart()
135 return style()->isLeftToRightDirection() ? m_marginTop : m_marginBottom; in marginStart()
141 return style()->isLeftToRightDirection() ? m_marginRight : m_marginLeft; in marginEnd()
142 return style()->isLeftToRightDirection() ? m_marginBottom : m_marginTop; in marginEnd()
148 if (style()->isLeftToRightDirection()) in setMarginStart()
153 if (style()->isLeftToRightDirection()) in setMarginStart()
163 if (style()->isLeftToRightDirection()) in setMarginEnd()
168 if (style()->isLeftToRightDirection()) in setMarginEnd()
437 if (style()->isLeftToRightDirection()) in scrollWidth()
1771 …extAlign = !marginEndLength.isAuto() && ((!containingBlockStyle->isLeftToRightDirection() && conta… in computeInlineDirectionMargins()
[all …]
DRenderTable.cpp426 int sectionLogicalLeft = style()->isLeftToRightDirection() ? borderStart() : borderEnd(); in layout()
428 sectionLogicalLeft += style()->isLeftToRightDirection() ? paddingStart() : paddingEnd(); in layout()
898 return (borderWidth + (style()->isLeftToRightDirection() ? 0 : 1)) / 2; in calcBorderStart()
956 return (borderWidth + (style()->isLeftToRightDirection() ? 1 : 0)) / 2; in calcBorderEnd()
1045 borderWidth = (tb.width() + (style()->isLeftToRightDirection() ? 0 : 1)) / 2; in outerBorderStart()
1075 borderWidth = (tb.width() + (style()->isLeftToRightDirection() ? 1 : 0)) / 2; in outerBorderEnd()
DRenderBlock.cpp1389 int overflowLeft = !style()->isLeftToRightDirection() ? min(0, lastRect.x()) : 0; in addOverflowFromChildren()
1390 … int overflowRight = style()->isLeftToRightDirection() ? max(width(), lastRect.maxX()) : 0; in addOverflowFromChildren()
1397 int overflowTop = !style()->isLeftToRightDirection() ? min(0, lastRect.y()) : 0; in addOverflowFromChildren()
1398 … int overflowBottom = style()->isLeftToRightDirection() ? max(height(), lastRect.maxY()) : 0; in addOverflowFromChildren()
1819 …int startOff = style()->isLeftToRightDirection() ? logicalLeftOffsetForLine(logicalHeight(), false… in determineLogicalLeftPositionForChild()
1835 …setLogicalLeftForChild(child, style()->isLeftToRightDirection() ? newPosition : totalAvailableLogi… in determineLogicalLeftPositionForChild()
2337 int currLogicalLeftOffset = style()->isLeftToRightDirection() ? 0 : contentLogicalWidth(); in paintColumnRules()
2339 int ruleLogicalLeft = style()->isLeftToRightDirection() ? 0 : contentLogicalWidth(); in paintColumnRules()
2346 if (style()->isLeftToRightDirection()) { in paintColumnRules()
2361 … style()->isLeftToRightDirection() ? BSLeft : BSRight, ruleColor, ruleStyle, 0, 0); in paintColumnRules()
[all …]
DRenderFieldset.cpp76 if (style()->isLeftToRightDirection()) { in layoutSpecialExcludedChild()
DRenderTableSection.cpp703 if (!style()->isLeftToRightDirection()) in setCellLogicalWidths()
903 return (borderWidth + (table()->style()->isLeftToRightDirection() ? 0 : 1)) / 2; in setCellLogicalWidths()
947 return (borderWidth + (table()->style()->isLeftToRightDirection() ? 1 : 0)) / 2; in setCellLogicalWidths()
1105 if (!m_hasOverflowingCell && style()->isLeftToRightDirection()) { in setCellLogicalWidths()
1307 if (!style()->isLeftToRightDirection()) in setCellLogicalWidths()
DInlineIterator.h253 …return m_obj->style()->isLeftToRightDirection() ? WTF::Unicode::LeftToRight : WTF::Unicode::RightT… in direction()
DRenderMarquee.cpp117 bool ltr = s->isLeftToRightDirection(); in computePosition()
/external/webkit/Source/WebCore/rendering/style/
DRenderStyle.cpp1263 return isLeftToRightDirection() ? borderLeft() : borderRight(); in borderStart()
1264 return isLeftToRightDirection() ? borderTop() : borderBottom(); in borderStart()
1270 return isLeftToRightDirection() ? borderRight() : borderLeft(); in borderEnd()
1271 return isLeftToRightDirection() ? borderBottom() : borderTop(); in borderEnd()
1309 return isLeftToRightDirection() ? borderLeftWidth() : borderRightWidth(); in borderStartWidth()
1310 return isLeftToRightDirection() ? borderTopWidth() : borderBottomWidth(); in borderStartWidth()
1316 return isLeftToRightDirection() ? borderRightWidth() : borderLeftWidth(); in borderEndWidth()
1317 return isLeftToRightDirection() ? borderBottomWidth() : borderTopWidth(); in borderEndWidth()
1387 return isLeftToRightDirection() ? marginLeft() : marginRight(); in marginStart()
1388 return isLeftToRightDirection() ? marginTop() : marginBottom(); in marginStart()
[all …]
/external/webkit/Source/WebCore/editing/
DVisiblePosition.cpp125 …return box->isLeftToRightDirection() ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVis… in leftVisuallyDistinctCandidate()
127 …offset = box->isLeftToRightDirection() ? renderer->previousOffset(offset) : renderer->nextOffset(o… in leftVisuallyDistinctCandidate()
135 if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) { in leftVisuallyDistinctCandidate()
276 …return box->isLeftToRightDirection() ? nextVisuallyDistinctCandidate(m_deepPosition) : previousVis… in rightVisuallyDistinctCandidate()
278 …offset = box->isLeftToRightDirection() ? renderer->nextOffset(offset) : renderer->previousOffset(o… in rightVisuallyDistinctCandidate()
286 if (box->isLeftToRightDirection() ? offset > caretMaxOffset : offset < caretMinOffset) { in rightVisuallyDistinctCandidate()
Dvisible_units.cpp1183 if (previousLeaf && !previousLeaf->isLeftToRightDirection()) in leftmostPositionInRTLBoxInLTRBlock()
1186 if (nextLeaf && !nextLeaf->isLeftToRightDirection()) { in leftmostPositionInRTLBoxInLTRBlock()
1194 } while (nextLeaf && !nextLeaf->isLeftToRightDirection()); in leftmostPositionInRTLBoxInLTRBlock()
1208 if (nextLeaf && nextLeaf->isLeftToRightDirection()) in rightmostPositionInLTRBoxInRTLBlock()
1211 if (previousLeaf && previousLeaf->isLeftToRightDirection()) { in rightmostPositionInLTRBoxInRTLBlock()
1219 } while (previousLeaf && previousLeaf->isLeftToRightDirection()); in rightmostPositionInLTRBoxInRTLBlock()
1232 if (box->direction() == RTL && (!previousLeaf || previousLeaf->isLeftToRightDirection())) in lastWordBreakInBox()
1234 else if (box->direction() == LTR && (!nextLeaf || !nextLeaf->isLeftToRightDirection())) in lastWordBreakInBox()
1494 …int index = box->isLeftToRightDirection() ? greatestValueUnder(offset, blockDirection == LTR, orde… in leftWordPosition()
1534 …int index = box->isLeftToRightDirection() ? smallestOffsetAbove(offset, blockDirection == LTR, ord… in rightWordPosition()
/external/webkit/Source/WebCore/page/
DPrintContext.cpp134 … inlineDirectionStart = view->style()->isLeftToRightDirection() ? docRect.x() : docRect.maxX(); in computePageRectsWithPageSizeInternal()
135 inlineDirectionEnd = view->style()->isLeftToRightDirection() ? docRect.maxX() : docRect.x(); in computePageRectsWithPageSizeInternal()
144 … inlineDirectionStart = view->style()->isLeftToRightDirection() ? docRect.y() : docRect.maxY(); in computePageRectsWithPageSizeInternal()
145 inlineDirectionEnd = view->style()->isLeftToRightDirection() ? docRect.maxY() : docRect.y(); in computePageRectsWithPageSizeInternal()
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGInlineText.cpp120 int x = box->isLeftToRightDirection() ? rect.x() : rect.maxX(); in localCaretRect()
125 int x = box->isLeftToRightDirection() ? rect.maxX() : rect.x(); in localCaretRect()
DSVGTextMetrics.cpp86 , !style->isLeftToRightDirection() in constructTextRun()
DSVGTextChunkBuilder.cpp108 if (!style->isLeftToRightDirection()) in addTextChunk()
/external/webkit/Source/WebCore/wml/
DWMLTableElement.cpp234 rtl = !style->isLeftToRightDirection(); in alignCells()

12