Searched refs:LTR (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DTextDirection.h31 enum TextDirection { RTL, LTR }; enumerator in enum:blink::TextDirection
33 inline bool isLeftToRightDirection(TextDirection direction) { return direction == LTR; }
H A DBidiResolverTest.cpp55 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 DTextRun.h57 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 DBidiCharacterRun.h64 TextDirection direction() const { return reversed(false) ? RTL : LTR; }
H A DBidiResolver.h140 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 DWebTextRun.cpp40 return TextRun(text, 0, 0, TextRun::AllowTrailingExpansion, rtl ? RTL : LTR, directionalOverride);
/external/chromium_org/third_party/WebKit/public/web/
H A DWebTextDirection.h52 case LTR:
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLFormControlElementTest.cpp52 TextDirection subMessageDir = LTR;
56 EXPECT_EQ(LTR, subMessageDir);
66 EXPECT_EQ(LTR, messageDir);
H A DHTMLFormControlElement.cpp430 TextDirection messageDir = LTR;
431 TextDirection subMessageDir = LTR;
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DVisiblePosition.cpp136 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 DFrameSelection.cpp530 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 DBidiRunForLine.cpp99 WTF::Unicode::Direction direction = textDirection == LTR
103 textDirection == LTR ? 0 : 1, direction, isOverride, FromStyleOrDOM);
H A DRenderSliderContainer.cpp107 // render identically to LTR vertical sliders. We can remove this work around when
109 style()->setDirection(LTR);
H A DRenderMarquee.cpp98 result = (dir == LTR) ? MRIGHT : MLEFT;
100 result = (dir == LTR) ? MLEFT : MRIGHT;
H A DTextRunConstructor.cpp120 ? constructTextRunInternal(context, font, text->characters8() + offset, length, style, LTR, expansion)
121 : constructTextRunInternal(context, font, text->characters16() + offset, length, style, LTR, expansion);
H A DHitTestResult.cpp212 dir = LTR;
229 dir = LTR;
H A DInlineBox.h253 TextDirection direction() const { return bidiLevel() % 2 ? RTL : LTR; }
254 bool isLeftToRightDirection() const { return direction() == LTR; }
H A DInlineTextBox.cpp274 // 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 DRenderFlowThread.cpp230 LayoutRect columnSetRect(style()->direction() == LTR ? LayoutUnit() : logicalWidth() - columnSetLogicalWidth, logicalHeight, columnSetLogicalWidth, columnSetLogicalHeight);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DCharacter.cpp267 if (direction == LTR) {
293 if (direction == LTR) {
/external/chromium_org/third_party/WebKit/Source/modules/notifications/
H A DNotification.cpp135 return dir() == "rtl" ? RTL : LTR;
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSProperty.cpp60 if (direction == LTR) {
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
H A DTextControlInnerElements.cpp89 style->setDirection(LTR);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextMetricsBuilder.cpp105 BidiStatus status(LTR, false);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DChrome.cpp311 toolTipDirection = LTR;

Completed in 700 milliseconds

12