HomeSort by relevance Sort by last modified time
    Searched defs:ltr (Results 1 - 9 of 9) sorted by null

  /external/webkit/WebCore/platform/graphics/
TextRun.h 86 bool ltr() const { return !m_rtl; } function in class:WebCore::TextRun
  /external/webkit/WebCore/rendering/
RenderMarquee.cpp 89 result = (dir == LTR) ? MRIGHT : MLEFT;
91 result = (dir == LTR) ? MLEFT : MRIGHT;
113 bool ltr = s->direction() == LTR; local
115 int contentWidth = ltr ? box->rightmostPosition(true, false) : box->leftmostPosition(true, false);
116 if (ltr)
124 return max(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth));
126 return ltr ? contentWidth : clientWidth;
130 return min(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth));
132 return ltr ? -clientWidth : -contentWidth
    [all...]
RenderFlexibleBox.cpp 425 if (style()->direction() == LTR)
576 if (remainingSpace > 0 && ((style()->direction() == LTR && style()->boxPack() != BSTART) ||
622 else // END for LTR, START for RTL
713 if (style()->direction() != LTR)
745 if (srcBlock->style()->direction() != LTR)
747 if (destBlock->style()->direction() != LTR)
749 int ltr = true; local
754 int blockEdge = ltr ? blockRightEdge : blockLeftEdge;
755 if (!lastVisibleLine->canAccommodateEllipsis(ltr, blockEdge,
761 lastVisibleLine->placeEllipsis(anchorBox ? ellipsisAndSpaceStr : ellipsisStr, ltr, blockLeftEdge, blockRightEdge, totalWidth, anchorBox)
    [all...]
InlineFlowBox.cpp 208 bool ltr = renderer()->style()->direction() == LTR; local
214 if (ltr && lineBoxList->firstLineBox() == this)
216 else if (!ltr && lineBoxList->lastLineBox() == this)
223 // (2) If the last line box for the flow has an object following it on the line (ltr,
229 if (ltr) {
305 if (curr->renderer()->parent()->style()->direction() == LTR)
935 bool ltr = renderer()->style()->direction() == LTR; local
    [all...]
InlineTextBox.cpp 157 // For LTR this is the left edge of the box, for RTL, the right edge in parent coordinates.
161 // LTR: the left edge of the ellipsis is to the left of our text run.
180 bool ltr = direction() == LTR; local
181 if (ltr != flowIsLTR) {
184 ellipsisX = ltr ? m_x + visibleBoxWidth : m_x + m_width - visibleBoxWidth;
205 // e.g. In the case of an LTR inline box truncated in an RTL flow then we can
357 // e.g. In the case of LTR text truncated in an RTL Context, the correct behavior is:
366 tx += direction() == LTR ? widthOfHiddenText : -widthOfHiddenText;
    [all...]
RenderBlockLineLayout.cpp 59 bool leftSide = (child->style()->direction() == LTR) ? !endOfInline : endOfInline;
390 if (style()->direction() == LTR) {
412 if (style()->direction() == LTR) {
420 // So even if text-align is right, if direction is LTR, wide lines should overflow out of the right
422 if (style()->direction() == LTR) {
445 if (style()->direction() == LTR)
562 // and the current object is not float:right in LTR or not float:left in RTL,
563 // and text align is auto, or justify or left in LTR, or right in RTL, we
584 (((dir == LTR && cssfloat != FRIGHT) ||
587 ((ta == LEFT || ta == WEBKIT_LEFT) && (dir == LTR)) ||
1097 bool ltr = style()->direction() == LTR variable
2063 bool ltr = style()->direction() == LTR; local
    [all...]
RenderLayer.cpp 1813 bool ltr = renderer()->style()->direction() == LTR; local
    [all...]
RenderBlock.cpp 2248 bool ltr = style()->direction() == LTR; local
    [all...]
  /external/webkit/WebCore/platform/graphics/mac/
ComplexTextController.cpp 95 return m_run.ltr() ? m_end : 0;
97 return m_run.ltr() ? 0 : m_end;
111 if (m_run.ltr())
119 CFIndex hitIndex = hitGlyphStart + (hitGlyphEnd - hitGlyphStart) * (m_run.ltr() ? x / adjustedAdvance : 1 - x / adjustedAdvance);
158 x -= clusterWidth * (m_run.ltr() ? hitIndex - hitGlyphStart : hitGlyphEnd - hitIndex - 1);
161 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd);
163 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterEnd : clusterStart);
205 if (m_run.ltr()) {
237 if (m_run.ltr()) {
269 if (hasTrailingSoftHyphen && m_run.ltr())
366 bool ltr = m_run.ltr(); local
    [all...]

Completed in 434 milliseconds