Home
last modified time | relevance | path

Searched refs:primaryDirection (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisiblePosition.cpp130 TextDirection primaryDirection = p.primaryDirection(); in leftVisuallyDistinctCandidate() local
135 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); in leftVisuallyDistinctCandidate()
137 …return primaryDirection == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyD… in leftVisuallyDistinctCandidate()
148 …return primaryDirection == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyD… in leftVisuallyDistinctCandidate()
166 …Position positionOnLeft = primaryDirection == LTR ? previousVisuallyDistinctCandidate(m_deepPositi… in leftVisuallyDistinctCandidate()
172 … positionOnLeft.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnLeft, offsetOnLeft); in leftVisuallyDistinctCandidate()
190 if (box->direction() == primaryDirection) { in leftVisuallyDistinctCandidate()
193 …if (primaryDirection == LTR ? box->root()->getLogicalStartBoxWithNode(logicalStart) : box->root()-… in leftVisuallyDistinctCandidate()
196 … offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); in leftVisuallyDistinctCandidate()
216 if (box->direction() == primaryDirection) in leftVisuallyDistinctCandidate()
[all …]
DVisiblePosition.h93 …void getInlineBoxAndOffset(TextDirection primaryDirection, InlineBox*& inlineBox, int& caretOffset… in getInlineBoxAndOffset() argument
95 m_deepPosition.getInlineBoxAndOffset(m_affinity, primaryDirection, inlineBox, caretOffset); in getInlineBoxAndOffset()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPosition.cpp1089 getInlineBoxAndOffset(affinity, primaryDirection(), inlineBox, caretOffset); in getInlineBoxAndOffset()
1149 void Position::getInlineBoxAndOffset(EAffinity affinity, TextDirection primaryDirection, InlineBox*… in getInlineBoxAndOffset() argument
1167 equivalent.getInlineBoxAndOffset(UPSTREAM, primaryDirection, inlineBox, caretOffset); in getInlineBoxAndOffset()
1213 if (inlineBox->direction() == primaryDirection) { in getInlineBoxAndOffset()
1300 TextDirection Position::primaryDirection() const in primaryDirection() function in WebCore::Position
1302 TextDirection primaryDirection = LTR; in primaryDirection() local
1305 primaryDirection = r->style()->direction(); in primaryDirection()
1310 return primaryDirection; in primaryDirection()
DPosition.h187 …void getInlineBoxAndOffset(EAffinity, TextDirection primaryDirection, InlineBox*&, int& caretOffse…
189 TextDirection primaryDirection() const;
/external/chromium_org/third_party/WebKit/Source/web/
DWebViewImpl.cpp2379 …start = selection.start().primaryDirection() == RTL ? WebTextDirectionRightToLeft : WebTextDirecti… in selectionTextDirection()
2380 …end = selection.end().primaryDirection() == RTL ? WebTextDirectionRightToLeft : WebTextDirectionLe… in selectionTextDirection()