Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/editing/
DVisibleSelection.cpp44 : m_affinity(DOWNSTREAM) in VisibleSelection()
53 , m_affinity(affinity) in VisibleSelection()
61 , m_affinity(affinity) in VisibleSelection()
69 , m_affinity(pos.affinity()) in VisibleSelection()
77 , m_affinity(base.affinity()) in VisibleSelection()
85 , m_affinity(affinity) in VisibleSelection()
247 m_base = VisiblePosition(m_base, m_affinity).deepEquivalent(); in setBaseAndExtentToDeepEquivalents()
252 m_extent = VisiblePosition(m_extent, m_affinity).deepEquivalent(); in setBaseAndExtentToDeepEquivalents()
287 VisiblePosition start = VisiblePosition(m_start, m_affinity); in setStartAndEndFromBaseAndExtentRespectingGranularity()
288 VisiblePosition originalEnd(m_end, m_affinity); in setStartAndEndFromBaseAndExtentRespectingGranularity()
[all …]
DVisiblePosition.h55 VisiblePosition() : m_affinity(VP_DEFAULT_AFFINITY) { } in VisiblePosition()
65 …EAffinity affinity() const { ASSERT(m_affinity == UPSTREAM || m_affinity == DOWNSTREAM); return m_… in affinity()
66 void setAffinity(EAffinity affinity) { m_affinity = affinity; } in setAffinity()
86 m_deepPosition.getInlineBoxAndOffset(m_affinity, inlineBox, caretOffset); in getInlineBoxAndOffset()
91 m_deepPosition.getInlineBoxAndOffset(m_affinity, primaryDirection, inlineBox, caretOffset); in getInlineBoxAndOffset()
116 EAffinity m_affinity; variable
DVisibleSelection.h57 void setAffinity(EAffinity affinity) { m_affinity = affinity; } in setAffinity()
58 EAffinity affinity() const { return m_affinity; } in affinity()
128 EAffinity m_affinity; // the upstream/downstream affinity of the caret variable
DVisiblePosition.cpp54 m_affinity = affinity; in init()
59 …if (m_affinity == UPSTREAM && (isNull() || inSameLine(VisiblePosition(position, DOWNSTREAM), *this… in init()
60 m_affinity = DOWNSTREAM; in init()
67 VisiblePosition next(nextVisuallyDistinctCandidate(m_deepPosition), m_affinity); in next()
92 if (prev.isNotNull() && m_affinity == UPSTREAM) { in previous()
117 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); in leftVisuallyDistinctCandidate()
145 … positionOnLeft.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnLeft, offsetOnLeft); in leftVisuallyDistinctCandidate()
268 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); in rightVisuallyDistinctCandidate()
296 … positionOnRight.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnRight, offsetOnRight); in rightVisuallyDistinctCandidate()
/external/webkit/Source/WebCore/
DChangeLog-2005-08-2346333 * khtml/xml/dom_selection.h: Added EAffinity enum and m_affinity member variable.