/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMarquee.cpp | 98 result = (dir == LTR) ? MRIGHT : MLEFT; 100 result = (dir == LTR) ? MLEFT : MRIGHT; 119 bool ltr = style()->isLeftToRightDirection(); local 121 LayoutUnit contentWidth = ltr ? maxPreferredLogicalWidth() : minPreferredLogicalWidth(); 122 if (ltr) 130 return std::max<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 132 return ltr ? contentWidth : clientWidth; 136 return std::min<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 138 return ltr ? -clientWidth : -contentWidth;
|
InlineFlowBox.cpp | 314 bool ltr = renderer().style()->isLeftToRightDirection(); local 322 else if (ltr && lineBoxList->firstLineBox() == this) 324 else if (!ltr && lineBoxList->lastLineBox() == this) 339 else if (ltr) { [all...] |
InlineTextBox.cpp | 274 // For LTR this is the left edge of the box, for RTL, the right edge in parent coordinates. 278 // LTR: the left edge of the ellipsis is to the left of our text run. 297 bool ltr = isLeftToRightDirection(); local 298 if (ltr != flowIsLTR) { 301 ellipsisX = ltr ? logicalLeft() + visibleBoxWidth : logicalRight() - visibleBoxWidth; 318 float widthOfVisibleText = renderer().width(m_start, offset, textPos(), flowIsLTR ? LTR : RTL, isFirstLineStyle()); 323 // e.g. In the case of an LTR inline box truncated in an RTL flow then we can 417 // e.g. In the case of LTR text truncated in an RTL Context, the correct behavior is: 423 LayoutUnit widthOfVisibleText = renderer().width(m_start, m_truncation, textPos(), isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); [all...] |
RenderBlockLineLayout.cpp | 317 // So even if text-align is right, if direction is LTR, wide lines should overflow out of the right 521 if (direction == LTR) 527 if (direction == LTR) 1906 bool ltr = style()->isLeftToRightDirection(); local 1943 bool ltr = style()->isLeftToRightDirection(); local [all...] |
RenderBlock.cpp | 2064 bool ltr = style()->isLeftToRightDirection(); local 3308 bool ltr = containingBlock ? containingBlock->style()->isLeftToRightDirection() : styleToUse->isLeftToRightDirection(); local [all...] |
RenderBox.cpp | 3702 bool ltr = box ? box->isLeftToRightDirection() : style()->isLeftToRightDirection(); local [all...] |
/external/chromium_org/ui/gfx/ |
render_text_unittest.cc | 37 // Various weak, LTR, RTL, and Bidi string cases with three characters each. 337 L"hop on pop", // Check LTR word boundaries. 450 // RLM marker added as "ab" have strong LTR directionality. 624 // Blank strings and those with no/weak directionality default to LTR. 627 // Strings that begin with strong LTR characters. 673 // Pure LTR. 696 // LTR-RTL 1021 bool ltr = (cases[i].expected_text_direction == base::i18n::LEFT_TO_RIGHT); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasRenderingContext2D.cpp | 81 static const char ltr[] = "ltr"; member in namespace:blink [all...] |
/external/libsepol/src/ |
policydb.c | 1279 role_trans_t *tr, *ltr = NULL; local 1340 if (ltr) 1341 free(ltr); 1342 ltr = tr; 1344 if (ltr) 1345 free(ltr); 2343 role_trans_t *tr, *ltr; local 3194 role_trans_rule_t *tr, *ltr; local [all...] |