HomeSort by relevance Sort by last modified time
    Searched refs:affinity (Results 1 - 25 of 50) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/editing/
TextAffinity.h 45 inline NSSelectionAffinity kit(WebCore::EAffinity affinity)
47 return static_cast<NSSelectionAffinity>(affinity);
50 inline WebCore::EAffinity core(NSSelectionAffinity affinity)
52 return static_cast<WebCore::EAffinity>(affinity);
VisibleSelection.h 57 void setAffinity(EAffinity affinity) { m_affinity = affinity; }
58 EAffinity affinity() const { return m_affinity; } function in class:WebCore::VisibleSelection
70 VisiblePosition visibleStart() const { return VisiblePosition(m_start, isRange() ? DOWNSTREAM : affinity()); }
71 VisiblePosition visibleEnd() const { return VisiblePosition(m_end, isRange() ? UPSTREAM : affinity()); }
72 VisiblePosition visibleBase() const { return VisiblePosition(m_base, isRange() ? (isBaseFirst() ? UPSTREAM : DOWNSTREAM) : affinity()); }
73 VisiblePosition visibleExtent() const { return VisiblePosition(m_extent, isRange() ? (isBaseFirst() ? DOWNSTREAM : UPSTREAM) : affinity()); }
139 EAffinity m_affinity; // the upstream/downstream affinity of the caret
149 return a.start() == b.start() && a.end() == b.end() && a.affinity() == b.affinity() && a.isBaseFirst() == b.isBaseFirst(
    [all...]
VisiblePosition.h 35 // VisiblePosition default affinity is downstream because
53 // NOTE: UPSTREAM affinity will be used only if pos is at end of a wrapped line,
66 EAffinity affinity() const { ASSERT(m_affinity == UPSTREAM || m_affinity == DOWNSTREAM); return m_affinity; } function in class:WebCore::VisiblePosition
67 void setAffinity(EAffinity affinity) { m_affinity = affinity; }
123 // FIXME: This shouldn't ignore affinity.
FrameSelection.cpp 124 setSelection(VisibleSelection(pos.deepEquivalent(), pos.deepEquivalent(), pos.affinity(), m_selection.isDirectional()), options, align);
131 setSelection(VisibleSelection(base.deepEquivalent(), extent.deepEquivalent(), base.affinity(), selectionHasDirection), options);
134 void FrameSelection::moveTo(const Position &pos, EAffinity affinity, EUserTriggered userTriggered)
137 setSelection(VisibleSelection(pos, affinity, m_selection.isDirectional()), options);
140 void FrameSelection::moveTo(const Range *r, EAffinity affinity, EUserTriggered userTriggered)
143 VisibleSelection selection = r ? VisibleSelection(r->startPosition(), r->endPosition(), affinity) : VisibleSelection(Position(), Position(), affinity);
147 void FrameSelection::moveTo(const Position &base, const Position &extent, EAffinity affinity, EUserTriggered userTriggered)
151 setSelection(VisibleSelection(base, extent, affinity, selectionHasDirection), options);
606 VisiblePosition pos(m_selection.extent(), m_selection.affinity());
    [all...]
MoveSelectionCommand.cpp 70 setEndingSelection(VisibleSelection(pos, endingSelection().affinity(), endingSelection().isDirectional()));
VisibleSelection.cpp 57 VisibleSelection::VisibleSelection(const Position& pos, EAffinity affinity, bool isDirectional)
60 , m_affinity(affinity)
66 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity, bool isDirectional)
69 , m_affinity(affinity)
78 , m_affinity(pos.affinity())
87 , m_affinity(base.affinity())
93 VisibleSelection::VisibleSelection(const Range* range, EAffinity affinity, bool isDirectional)
96 , m_affinity(affinity)
414 // Affinity only makes sense for a caret
InsertParagraphSeparatorCommand.cpp 155 EAffinity affinity = endingSelection().affinity(); local
162 affinity = endingSelection().affinity();
188 VisiblePosition visiblePos(insertionPosition, affinity);
344 // FIXME: We need the affinity for pos, but pos.downstream() does not give it
VisiblePosition.cpp 52 VisiblePosition::VisiblePosition(const Position &pos, EAffinity affinity)
54 init(pos, affinity);
59 init(positionWithAffinity.position(), positionWithAffinity.affinity());
62 void VisiblePosition::init(const Position& position, EAffinity affinity)
64 m_affinity = affinity;
68 // When not at a line wrap, make sure to end up with DOWNSTREAM affinity.
101 // we should always be able to make the affinity DOWNSTREAM, because going previous from an
570 // unless the affinity is upstream.
737 VisiblePosition startVisiblePosition(const Range *r, EAffinity affinity)
739 return VisiblePosition(r->startPosition(), affinity);
    [all...]
DeleteSelectionCommand.cpp 224 m_leadingWhitespace = m_upstreamStart.leadingWhitespacePosition(m_selectionToDelete.affinity());
230 Position pos = VisiblePosition(m_upstreamStart, m_selectionToDelete.affinity()).deepEquivalent();
236 bool hasLeadingWhitespaceBeforeAdjustment = m_upstreamStart.leadingWhitespacePosition(m_selectionToDelete.affinity(), true).isNotNull();
244 m_leadingWhitespace = m_upstreamStart.leadingWhitespacePosition(visiblePos.affinity());
    [all...]
FrameSelection.h 111 EAffinity affinity() const { return m_selection.affinity(); } function in class:WebCore::FrameSelection
RenderedPosition.cpp 82 RenderedPosition::RenderedPosition(const Position& position, EAffinity affinity)
91 position.getInlineBoxAndOffset(affinity, m_inlineBox, m_offset);
  /external/chromium_org/ui/gfx/
selection_model.cc 16 SelectionModel::SelectionModel(size_t position, LogicalCursorDirection affinity)
18 caret_affinity_(affinity) {}
21 LogicalCursorDirection affinity)
23 caret_affinity_(affinity) {}
selection_model.h 56 // is given by a "caret affinity" which is either CURSOR_BACKWARD (indicating
64 // selection. The |affinity| is meaningful only when the caret is positioned
67 SelectionModel(size_t position, LogicalCursorDirection affinity);
70 SelectionModel(const Range& selection, LogicalCursorDirection affinity);
85 // considering the effect on the caret affinity. This setter is exposed only
100 // caret position CURSOR_BACKWARD affinity CURSOR_FORWARD affinity
  /external/chromium_org/chrome/browser/autocomplete/
contact_provider_chromeos.cc 22 // Default affinity assigned to contacts whose |affinity| field is unset.
24 // getting affinity for contacts.
27 // Base match relevance assigned to a contact with an affinity of 0.0.
30 // Maximum boost to relevance for a contact with an affinity of 1.0.
72 float affinity)
79 affinity(affinity) {
98 // Affinity between the user and this contact, in the range [0.0, 1.0].
99 float affinity; member in struct:ContactProvider::ContactData
180 float affinity = local
    [all...]
  /external/kernel-headers/original/asm-mips/
irq.h 52 extern void plat_set_irq_affinity(unsigned int irq, cpumask_t affinity);
56 * IRQ affinity hook invoked at the beginning of interrupt dispatch
60 * inefficient on MIPS. Initial prototypes of SMTC IRQ affinity
61 * used a "fast path" per-IRQ-descriptor cache of affinity information
68 if (!cpu_isset(smp_processor_id(), irq_desc[irq].affinity)) { \
75 #else /* Not doing SMTC affinity */
133 * IRQ affinity, we have this variant that skips the affinity check.
  /external/clang/test/CodeGen/
decl.c 71 unsigned char affinity; member in struct:SelectDest
  /external/chromium_org/third_party/libjingle/source/talk/base/
cpumonitor_unittest.cc 112 // Set affinity (which cpu to run on), but respecting FLAG_affinity:
113 // -1 means no affinity - run on whatever cpu is available.
116 // so the range becomes affinity to affinity + N - 1
118 // the thread with affinity for a specified CPU more priority on that CPU.
119 bool SetThreadAffinity(BusyThread* t, int cpu, int affinity) {
121 if (affinity >= 0) {
123 1 << (cpu + affinity)) != FALSE;
141 int priority, double interval, int affinity) {
149 !SetThreadAffinity(threads[i], i, affinity)) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
Position.h 327 PositionWithAffinity(const Position& position, EAffinity affinity = DOWNSTREAM)
329 , m_affinity(affinity)
333 EAffinity affinity() const { return m_affinity; } function in class:WebCore::PositionWithAffinity
Position.cpp 481 Position Position::previousCharacterPosition(EAffinity affinity) const
488 bool atStartOfLine = isStartOfLine(VisiblePosition(*this, affinity));
509 Position Position::nextCharacterPosition(EAffinity affinity) const
516 bool atEndOfLine = isEndOfLine(VisiblePosition(*this, affinity));
    [all...]
  /frameworks/base/services/java/com/android/server/am/
TaskRecord.java 38 final String affinity; // The affinity name for this task, or null. field in class:TaskRecord
40 Intent affinityIntent; // Intent of affinity-moved activity that started this task.
68 affinity = info.taskAffinity;
460 if (affinity != null) {
461 pw.print(prefix); pw.print("affinity="); pw.println(affinity);
512 if (affinity != null) {
514 sb.append(affinity);
  /external/chromium_org/third_party/sqlite/src/src/
expr.c 18 ** Return the 'affinity' of the expression pExpr if any.
22 ** affinity of that column is returned. Otherwise, 0x00 is returned,
23 ** indicating no affinity for the expression.
26 ** have an affinity:
53 return pExpr->pTab->aCol[j].affinity;
55 return pExpr->affinity;
128 ** type affinity of the other operand. This routine returns the
129 ** type affinity that should be used for the comparison operator.
135 ** affinity, use that. Otherwise use no affinity
1612 char affinity; \/* Affinity of the LHS of the IN *\/ local
1800 char affinity; \/* Comparison affinity to use *\/ local
    [all...]
fkey.c 353 ** apply the affinity of the parent key). If this fails, then there
356 ** will have INTEGER affinity applied to it, which may not be correct. */
486 ** the parent key columns. The affinity of the parent key column should
498 /* Set the collation sequence and affinity of the LHS of each TK_EQ
506 pLeft->affinity = pCol->affinity;
510 pLeft->affinity = SQLITE_AFF_INTEGER;
533 pLeft->affinity = SQLITE_AFF_INTEGER;
    [all...]
vdbemem.c 1020 u8 affinity, /* Affinity to use */
    [all...]
  /external/kernel-headers/original/linux/
irq.h 79 * @set_affinity: set the CPU affinity on SMP machines
132 * @affinity: IRQ affinity on SMP
157 cpumask_t affinity; member in struct:irq_desc
195 irq_desc[irq].affinity = mask;
  /external/chromium_org/third_party/WebKit/Source/core/accessibility/
AXObjectCache.h 53 EAffinity affinity; member in struct:WebCore::TextMarkerData

Completed in 688 milliseconds

1 2