Searched refs:isLeftToRightDirection (Results 1 - 25 of 46) sorted by relevance

12

/external/webkit/Source/WebCore/rendering/
H A DRenderTable.h60 return style()->isLeftToRightDirection() ? borderStart() : borderEnd();
67 return style()->isLeftToRightDirection() ? borderEnd() : borderStart();
75 return style()->isLeftToRightDirection() ? borderStart() : borderEnd();
82 return style()->isLeftToRightDirection() ? borderEnd() : borderStart();
95 return style()->isLeftToRightDirection() ? outerBorderStart() : outerBorderEnd();
102 return style()->isLeftToRightDirection() ? outerBorderEnd() : outerBorderStart();
110 return style()->isLeftToRightDirection() ? outerBorderStart() : outerBorderEnd();
117 return style()->isLeftToRightDirection() ? outerBorderEnd() : outerBorderStart();
H A DRenderDetailsMarker.cpp82 if (style()->isLeftToRightDirection())
86 if (style()->isLeftToRightDirection())
90 if (style()->isLeftToRightDirection())
94 if (style()->isLeftToRightDirection())
H A DInlineBox.h278 bool isLeftToRightDirection() const { return direction() == LTR; } function in class:WebCore::InlineBox
279 int caretLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOffset(); }
280 int caretRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOffset(); }
H A DInlineTextBox.cpp196 IntRect r = enclosingIntRect(f.selectionRectForText(TextRun(characters, len, textObj->allowTabs(), textPos(), m_expansion, expansionBehavior(), !isLeftToRightDirection(), m_dirOverride),
264 bool ltr = isLeftToRightDirection();
496 if (renderer()->containingBlock()->style()->isLeftToRightDirection() != isLeftToRightDirection()) {
509 tx += isLeftToRightDirection() ? widthOfHiddenText : -widthOfHiddenText;
511 ty += isLeftToRightDirection() ? widthOfHiddenText : -widthOfHiddenText;
653 TextRun textRun(characters, length, textRenderer()->allowTabs(), textPos(), m_expansion, expansionBehavior(), !isLeftToRightDirection(), m_dirOverride || styleToUse->visuallyOrdered());
829 !isLeftToRightDirection(), m_dirOverride || style->visuallyOrdered()),
853 !isLeftToRightDirection(), m_dirOverride || style->visuallyOrdered()),
888 if (!isLeftToRightDirection())
[all...]
H A DRenderFileUploadControl.cpp232 TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, !style()->isLeftToRightDirection(), style()->unicodeBidi() == Override);
239 if (style()->isLeftToRightDirection())
258 if (style()->isLeftToRightDirection())
H A DRenderBlockLineLayout.cpp308 isOnlyRun = (!style()->isLeftToRightDirection() ? bidiRuns.lastRun() : bidiRuns.firstRun())->m_object->isListMarker();
376 static void updateLogicalWidthForLeftAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument
380 if (isLeftToRightDirection) {
392 static void updateLogicalWidthForRightAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument
397 if (isLeftToRightDirection) {
414 static void updateLogicalWidthForCenterAlignedBlock(bool isLeftToRightDirection, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) argument
422 if (isLeftToRightDirection)
513 toRenderRubyRun(renderBox)->getOverhang(firstLine, renderBox->style()->isLeftToRightDirection() ? previousObject : nextObject, renderBox->style()->isLeftToRightDirection() ? nextObject : previousObject, startOverhang, endOverhang);
538 updateLogicalWidthForLeftAlignedBlock(style()->isLeftToRightDirection(), trailingSpaceRu
[all...]
H A DRenderTableCell.cpp256 bool rtl = !table()->style()->isLeftToRightDirection();
679 return tableStyle->isLeftToRightDirection() ? collapsedStartBorder() : collapsedEndBorder();
687 return tableStyle->isLeftToRightDirection() ? collapsedEndBorder() : collapsedStartBorder();
696 return tableStyle->isLeftToRightDirection() ? collapsedStartBorder() : collapsedEndBorder();
704 return tableStyle->isLeftToRightDirection() ? collapsedEndBorder() : collapsedStartBorder();
753 return tableStyle->isLeftToRightDirection() ? borderHalfStart(outer) : borderHalfEnd(outer);
761 return tableStyle->isLeftToRightDirection() ? borderHalfEnd(outer) : borderHalfStart(outer);
770 return tableStyle->isLeftToRightDirection() ? borderHalfStart(outer) : borderHalfEnd(outer);
778 return tableStyle->isLeftToRightDirection() ? borderHalfEnd(outer) : borderHalfStart(outer);
785 return (border.width() + ((table()->style()->isLeftToRightDirection()
[all...]
H A DRenderFlexibleBox.cpp49 if (m_box->style()->boxOrient() == HORIZONTAL && !m_box->style()->isLeftToRightDirection())
547 if (remainingSpace > 0 && ((style()->isLeftToRightDirection() && style()->boxPack() != BSTART)
548 || (!style()->isLeftToRightDirection() && style()->boxPack() != BEND))) {
605 if (!style()->isLeftToRightDirection())
672 if (!style()->isLeftToRightDirection())
678 if (style()->isLeftToRightDirection())
928 if (!srcBlock->style()->isLeftToRightDirection())
931 bool leftToRight = destBlock->style()->isLeftToRightDirection();
H A DRenderRubyRun.cpp298 startOverhang = style()->isLeftToRightDirection() ? logicalLeftOverhang : logicalRightOverhang;
299 endOverhang = style()->isLeftToRightDirection() ? logicalRightOverhang : logicalLeftOverhang;
H A DRenderListItem.cpp273 if (style()->isLeftToRightDirection()) {
376 if (!m_marker->style()->isLeftToRightDirection())
381 if (m_marker->style()->isLeftToRightDirection())
H A DRenderTable.cpp426 int sectionLogicalLeft = style()->isLeftToRightDirection() ? borderStart() : borderEnd();
428 sectionLogicalLeft += style()->isLeftToRightDirection() ? paddingStart() : paddingEnd();
898 return (borderWidth + (style()->isLeftToRightDirection() ? 0 : 1)) / 2;
956 return (borderWidth + (style()->isLeftToRightDirection() ? 1 : 0)) / 2;
1045 borderWidth = (tb.width() + (style()->isLeftToRightDirection() ? 0 : 1)) / 2;
1075 borderWidth = (tb.width() + (style()->isLeftToRightDirection() ? 1 : 0)) / 2;
H A DRenderBox.cpp134 return style()->isLeftToRightDirection() ? m_marginLeft : m_marginRight;
135 return style()->isLeftToRightDirection() ? m_marginTop : m_marginBottom;
141 return style()->isLeftToRightDirection() ? m_marginRight : m_marginLeft;
142 return style()->isLeftToRightDirection() ? m_marginBottom : m_marginTop;
148 if (style()->isLeftToRightDirection())
153 if (style()->isLeftToRightDirection())
163 if (style()->isLeftToRightDirection())
168 if (style()->isLeftToRightDirection())
437 if (style()->isLeftToRightDirection())
1771 bool pushToEndFromTextAlign = !marginEndLength.isAuto() && ((!containingBlockStyle->isLeftToRightDirection()
[all...]
H A DInlineIterator.h253 return m_obj->style()->isLeftToRightDirection() ? WTF::Unicode::LeftToRight : WTF::Unicode::RightToLeft;
H A DRenderFieldset.cpp76 if (style()->isLeftToRightDirection()) {
H A DRenderMarquee.cpp117 bool ltr = s->isLeftToRightDirection();
H A DRenderTableSection.cpp703 if (!style()->isLeftToRightDirection())
903 return (borderWidth + (table()->style()->isLeftToRightDirection() ? 0 : 1)) / 2;
947 return (borderWidth + (table()->style()->isLeftToRightDirection() ? 1 : 0)) / 2;
1105 if (!m_hasOverflowingCell && style()->isLeftToRightDirection()) {
1307 if (!style()->isLeftToRightDirection())
H A DRenderBlock.cpp1389 int overflowLeft = !style()->isLeftToRightDirection() ? min(0, lastRect.x()) : 0;
1390 int overflowRight = style()->isLeftToRightDirection() ? max(width(), lastRect.maxX()) : 0;
1397 int overflowTop = !style()->isLeftToRightDirection() ? min(0, lastRect.y()) : 0;
1398 int overflowBottom = style()->isLeftToRightDirection() ? max(height(), lastRect.maxY()) : 0;
1819 int startOff = style()->isLeftToRightDirection() ? logicalLeftOffsetForLine(logicalHeight(), false) : totalAvailableLogicalWidth - logicalRightOffsetForLine(logicalHeight(), false);
1835 setLogicalLeftForChild(child, style()->isLeftToRightDirection() ? newPosition : totalAvailableLogicalWidth - newPosition - logicalWidthForChild(child), ApplyLayoutDelta);
2337 int currLogicalLeftOffset = style()->isLeftToRightDirection() ? 0 : contentLogicalWidth();
2339 int ruleLogicalLeft = style()->isLeftToRightDirection() ? 0 : contentLogicalWidth();
2346 if (style()->isLeftToRightDirection()) {
2361 style()->isLeftToRightDirection()
[all...]
/external/webkit/Source/WebCore/rendering/style/
H A DRenderStyle.cpp1263 return isLeftToRightDirection() ? borderLeft() : borderRight();
1264 return isLeftToRightDirection() ? borderTop() : borderBottom();
1270 return isLeftToRightDirection() ? borderRight() : borderLeft();
1271 return isLeftToRightDirection() ? borderBottom() : borderTop();
1309 return isLeftToRightDirection() ? borderLeftWidth() : borderRightWidth();
1310 return isLeftToRightDirection() ? borderTopWidth() : borderBottomWidth();
1316 return isLeftToRightDirection() ? borderRightWidth() : borderLeftWidth();
1317 return isLeftToRightDirection() ? borderBottomWidth() : borderTopWidth();
1387 return isLeftToRightDirection() ? marginLeft() : marginRight();
1388 return isLeftToRightDirection()
[all...]
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGTextMetrics.cpp86 , !style->isLeftToRightDirection()
H A DRenderSVGInlineText.cpp120 int x = box->isLeftToRightDirection() ? rect.x() : rect.maxX();
125 int x = box->isLeftToRightDirection() ? rect.maxX() : rect.x();
H A DSVGTextChunkBuilder.cpp108 if (!style->isLeftToRightDirection())
/external/webkit/Source/WebCore/editing/
H A DVisiblePosition.cpp125 return box->isLeftToRightDirection() ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyDistinctCandidate(m_deepPosition);
127 offset = box->isLeftToRightDirection() ? renderer->previousOffset(offset) : renderer->nextOffset(offset);
135 if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) {
276 return box->isLeftToRightDirection() ? nextVisuallyDistinctCandidate(m_deepPosition) : previousVisuallyDistinctCandidate(m_deepPosition);
278 offset = box->isLeftToRightDirection() ? renderer->nextOffset(offset) : renderer->previousOffset(offset);
286 if (box->isLeftToRightDirection() ? offset > caretMaxOffset : offset < caretMinOffset) {
H A Dvisible_units.cpp1183 if (previousLeaf && !previousLeaf->isLeftToRightDirection())
1186 if (nextLeaf && !nextLeaf->isLeftToRightDirection()) {
1194 } while (nextLeaf && !nextLeaf->isLeftToRightDirection());
1208 if (nextLeaf && nextLeaf->isLeftToRightDirection())
1211 if (previousLeaf && previousLeaf->isLeftToRightDirection()) {
1219 } while (previousLeaf && previousLeaf->isLeftToRightDirection());
1232 if (box->direction() == RTL && (!previousLeaf || previousLeaf->isLeftToRightDirection()))
1234 else if (box->direction() == LTR && (!nextLeaf || !nextLeaf->isLeftToRightDirection()))
1494 int index = box->isLeftToRightDirection() ? greatestValueUnder(offset, blockDirection == LTR, orderedWordBoundaries) :
1534 int index = box->isLeftToRightDirection()
[all...]
/external/webkit/Source/WebCore/page/
H A DPrintContext.cpp134 inlineDirectionStart = view->style()->isLeftToRightDirection() ? docRect.x() : docRect.maxX();
135 inlineDirectionEnd = view->style()->isLeftToRightDirection() ? docRect.maxX() : docRect.x();
144 inlineDirectionStart = view->style()->isLeftToRightDirection() ? docRect.y() : docRect.maxY();
145 inlineDirectionEnd = view->style()->isLeftToRightDirection() ? docRect.maxY() : docRect.y();
/external/webkit/Source/WebCore/wml/
H A DWMLTableElement.cpp234 rtl = !style->isLeftToRightDirection();

Completed in 338 milliseconds

12