Searched refs:m_affinity (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | VisibleSelection.cpp | 50 : m_affinity(DOWNSTREAM) in VisibleSelection() 60 , m_affinity(affinity) in VisibleSelection() 69 , m_affinity(affinity) in VisibleSelection() 78 , m_affinity(pos.affinity()) in VisibleSelection() 87 , m_affinity(base.affinity()) in VisibleSelection() 96 , m_affinity(affinity) in VisibleSelection() 259 m_base = VisiblePosition(m_base, m_affinity).deepEquivalent(); in setBaseAndExtentToDeepEquivalents() 264 m_extent = VisiblePosition(m_extent, m_affinity).deepEquivalent(); in setBaseAndExtentToDeepEquivalents() 299 VisiblePosition start = VisiblePosition(m_start, m_affinity); in setStartAndEndFromBaseAndExtentRespectingGranularity() 300 VisiblePosition originalEnd(m_end, m_affinity); in setStartAndEndFromBaseAndExtentRespectingGranularity() [all …]
|
D | VisiblePosition.h | 55 VisiblePosition() : m_affinity(VP_DEFAULT_AFFINITY) { } in VisiblePosition() 66 …EAffinity affinity() const { ASSERT(m_affinity == UPSTREAM || m_affinity == DOWNSTREAM); return m_… in affinity() 67 void setAffinity(EAffinity affinity) { m_affinity = affinity; } in setAffinity() 90 m_deepPosition.getInlineBoxAndOffset(m_affinity, inlineBox, caretOffset); in getInlineBoxAndOffset() 95 m_deepPosition.getInlineBoxAndOffset(m_affinity, primaryDirection, inlineBox, caretOffset); in getInlineBoxAndOffset() 120 EAffinity m_affinity; variable
|
D | VisibleSelection.h | 57 void setAffinity(EAffinity affinity) { m_affinity = affinity; } in setAffinity() 58 EAffinity affinity() const { return m_affinity; } in affinity() 139 EAffinity m_affinity; // the upstream/downstream affinity of the caret variable
|
D | VisiblePosition.cpp | 64 m_affinity = affinity; in init() 69 …if (m_affinity == UPSTREAM && (isNull() || inSameLine(VisiblePosition(position, DOWNSTREAM), *this… in init() 70 m_affinity = DOWNSTREAM; in init() 75 VisiblePosition next(nextVisuallyDistinctCandidate(m_deepPosition), m_affinity); in next() 103 if (prev.isNotNull() && m_affinity == UPSTREAM) { in previous() 135 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); in leftVisuallyDistinctCandidate() 172 … positionOnLeft.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnLeft, offsetOnLeft); in leftVisuallyDistinctCandidate() 300 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); in rightVisuallyDistinctCandidate() 337 … positionOnRight.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnRight, offsetOnRight); in rightVisuallyDistinctCandidate()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | Position.h | 323 : m_affinity(DOWNSTREAM) in PositionWithAffinity() 329 , m_affinity(affinity) in m_position() 333 EAffinity affinity() const { return m_affinity; } in affinity() 338 EAffinity m_affinity; variable
|