/external/chromium_org/third_party/WebKit/Source/platform/text/ |
H A D | TextDirection.h | 31 enum TextDirection { RTL, LTR }; enumerator in enum:blink::TextDirection 33 inline bool isLeftToRightDirection(TextDirection direction) { return direction == LTR; }
|
H A D | BidiResolverTest.cpp | 55 EXPECT_EQ(LTR, direction); 61 resolver.setStatus(BidiStatus(LTR, false)); 89 // Test strong LTR, non-BMP. (U+1D15F Musical symbol quarter note, strong LTR) 90 { { 0xD834, 0xDD5F }, 2, LTR, true }, 93 { { 0xD802, ' ' }, 2, LTR, false }, 102 { { 0xD802, 0xDC58 }, 1, LTR, false }, 105 { { 0xDC58, 0xD802 }, 2, LTR, false } 184 textRun.setDirection(LTR);
|
H A D | TextRun.h | 57 TextRun(const LChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true) argument 77 TextRun(const UChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true) argument 97 TextRun(const String& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, bool normalizeSpace = false) argument 125 TextRun(const StringView& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, bool normalizeSpace = false) argument 200 bool ltr() const { return m_direction == LTR; }
|
H A D | BidiCharacterRun.h | 64 TextDirection direction() const { return reversed(false) ? RTL : LTR; }
|
H A D | BidiResolver.h | 140 WTF::Unicode::Direction direction = textDirection == LTR ? WTF::Unicode::LeftToRight : WTF::Unicode::RightToLeft; 142 context = BidiContext::create(textDirection == LTR ? 0 : 1, direction, isOverride); 232 m_paragraphDirectionality = s.context->dir() == WTF::Unicode::LeftToRight ? LTR : RTL; 469 bool shouldReorder = trailingSpaceRun != (m_paragraphDirectionality == LTR ? runs.lastRun() : runs.firstRun()); 485 if (m_paragraphDirectionality == LTR) { 648 return LTR; 659 return LTR;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebTextRun.cpp | 40 return TextRun(text, 0, 0, TextRun::AllowTrailingExpansion, rtl ? RTL : LTR, directionalOverride);
|
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebTextDirection.h | 52 case LTR:
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | HTMLFormControlElementTest.cpp | 52 TextDirection subMessageDir = LTR; 56 EXPECT_EQ(LTR, subMessageDir); 66 EXPECT_EQ(LTR, messageDir);
|
H A D | HTMLFormControlElement.cpp | 430 TextDirection messageDir = LTR; 431 TextDirection subMessageDir = LTR;
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | VisiblePosition.cpp | 136 return primaryDirection == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyDistinctCandidate(m_deepPosition); 147 return primaryDirection == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyDistinctCandidate(m_deepPosition); 165 Position positionOnLeft = primaryDirection == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyDistinctCandidate(m_deepPosition); 192 if (primaryDirection == LTR ? box->root().getLogicalStartBoxWithNode(logicalStart) : box->root().getLogicalEndBoxWithNode(logicalStart)) { 195 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); 256 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); 301 return primaryDirection == LTR ? nextVisuallyDistinctCandidate(m_deepPosition) : previousVisuallyDistinctCandidate(m_deepPosition); 312 return primaryDirection == LTR ? nextVisuallyDistinctCandidate(m_deepPosition) : previousVisuallyDistinctCandidate(m_deepPosition); 330 Position positionOnRight = primaryDirection == LTR ? nextVisuallyDistinctCandidate(m_deepPosition) : previousVisuallyDistinctCandidate(m_deepPosition); 357 if (primaryDirection == LTR [all...] |
H A D | FrameSelection.cpp | 530 if (directionOfSelection() == LTR) 539 if (directionOfSelection() == LTR) 614 // it extends forward logically if the enclosing block is LTR direction, 618 if (directionOfEnclosingBlock() == LTR) 624 if (directionOfEnclosingBlock() == LTR) 630 if (directionOfEnclosingBlock() == LTR) 645 adjustPositionForUserSelectAll(pos, directionOfEnclosingBlock() == LTR); 685 adjustPositionForUserSelectAll(pos, directionOfEnclosingBlock() == LTR); 695 if (directionOfSelection() == LTR) 778 // it extends backward logically if the enclosing block is LTR directio [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | BidiRunForLine.cpp | 99 WTF::Unicode::Direction direction = textDirection == LTR 103 textDirection == LTR ? 0 : 1, direction, isOverride, FromStyleOrDOM);
|
H A D | RenderSliderContainer.cpp | 107 // render identically to LTR vertical sliders. We can remove this work around when 109 style()->setDirection(LTR);
|
H A D | RenderMarquee.cpp | 98 result = (dir == LTR) ? MRIGHT : MLEFT; 100 result = (dir == LTR) ? MLEFT : MRIGHT;
|
H A D | TextRunConstructor.cpp | 120 ? constructTextRunInternal(context, font, text->characters8() + offset, length, style, LTR, expansion) 121 : constructTextRunInternal(context, font, text->characters16() + offset, length, style, LTR, expansion);
|
H A D | HitTestResult.cpp | 212 dir = LTR; 229 dir = LTR;
|
H A D | InlineBox.h | 253 TextDirection direction() const { return bidiLevel() % 2 ? RTL : LTR; } 254 bool isLeftToRightDirection() const { return direction() == LTR; }
|
H A D | 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. 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()); 888 width = renderer().width(m_start, m_truncation, textPos(), isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); 1127 renderer().width(m_start, paintStart - m_start, textPos(), isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); 1130 renderer().width(paintStart, paintEnd - paintStart, textPos() + start, isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle());
|
H A D | RenderFlowThread.cpp | 230 LayoutRect columnSetRect(style()->direction() == LTR ? LayoutUnit() : logicalWidth() - columnSetLogicalWidth, logicalHeight, columnSetLogicalWidth, columnSetLogicalHeight);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | Character.cpp | 267 if (direction == LTR) { 293 if (direction == LTR) {
|
/external/chromium_org/third_party/WebKit/Source/modules/notifications/ |
H A D | Notification.cpp | 135 return dir() == "rtl" ? RTL : LTR;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSProperty.cpp | 60 if (direction == LTR) {
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | TextControlInnerElements.cpp | 89 style->setDirection(LTR);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | SVGTextMetricsBuilder.cpp | 105 BidiStatus status(LTR, false);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | Chrome.cpp | 311 toolTipDirection = LTR;
|