/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 | 63 void setAffinity(EAffinity affinity) { m_affinity = affinity; } 64 EAffinity affinity() const { return m_affinity; } function in class:WebCore::VisibleSelection 76 VisiblePosition visibleStart() const { return VisiblePosition(m_start, isRange() ? DOWNSTREAM : affinity()); } 77 VisiblePosition visibleEnd() const { return VisiblePosition(m_end, isRange() ? UPSTREAM : affinity()); } 78 VisiblePosition visibleBase() const { return VisiblePosition(m_base, isRange() ? (isBaseFirst() ? UPSTREAM : DOWNSTREAM) : affinity()); } 79 VisiblePosition visibleExtent() const { return VisiblePosition(m_extent, isRange() ? (isBaseFirst() ? DOWNSTREAM : UPSTREAM) : affinity()); } 163 EAffinity m_affinity; // the upstream/downstream affinity of the caret 177 return a.start() == b.start() && a.end() == b.end() && a.affinity() == b.affinity() && a.isBaseFirst() == b.isBaseFirst( [all...] |
VisiblePosition.h | 36 // VisiblePosition default affinity is downstream because 55 // NOTE: UPSTREAM affinity will be used only if pos is at end of a wrapped line, 68 EAffinity affinity() const { ASSERT(m_affinity == UPSTREAM || m_affinity == DOWNSTREAM); return m_affinity; } function in class:WebCore::FINAL 69 void setAffinity(EAffinity affinity) { m_affinity = affinity; } 122 // FIXME: This shouldn't ignore affinity.
|
FrameSelection.cpp | 136 setSelection(VisibleSelection(pos.deepEquivalent(), pos.deepEquivalent(), pos.affinity(), m_selection.isDirectional()), options, align); 143 setSelection(VisibleSelection(base.deepEquivalent(), extent.deepEquivalent(), base.affinity(), selectionHasDirection), options); 146 void FrameSelection::moveTo(const Position &pos, EAffinity affinity, EUserTriggered userTriggered) 149 setSelection(VisibleSelection(pos, affinity, m_selection.isDirectional()), options); 608 VisiblePosition pos(m_selection.extent(), m_selection.affinity()); 650 VisiblePosition pos(m_selection.extent(), m_selection.affinity()); 695 pos = VisiblePosition(m_selection.end(), m_selection.affinity()); 697 pos = VisiblePosition(m_selection.start(), m_selection.affinity()); 699 pos = VisiblePosition(m_selection.extent(), m_selection.affinity()).right(true); 703 pos = rightWordPosition(VisiblePosition(m_selection.extent(), m_selection.affinity()), skipsSpaceWhenMovingRight) [all...] |
MoveSelectionCommand.cpp | 70 setEndingSelection(VisibleSelection(pos, endingSelection().affinity(), endingSelection().isDirectional()));
|
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
|
DeleteSelectionCommand.cpp | 214 m_leadingWhitespace = m_upstreamStart.leadingWhitespacePosition(m_selectionToDelete.affinity()); 220 Position pos = VisiblePosition(m_upstreamStart, m_selectionToDelete.affinity()).deepEquivalent(); 226 bool hasLeadingWhitespaceBeforeAdjustment = m_upstreamStart.leadingWhitespacePosition(m_selectionToDelete.affinity(), true).isNotNull(); 234 m_leadingWhitespace = m_upstreamStart.leadingWhitespacePosition(visiblePos.affinity()); [all...] |
FrameSelection.h | 120 EAffinity affinity() const { return m_selection.affinity(); } function in class:WebCore::FINAL
|
RenderedPosition.cpp | 82 RenderedPosition::RenderedPosition(const Position& position, EAffinity affinity) 91 position.getInlineBoxAndOffset(affinity, m_inlineBox, m_offset);
|
VisibleSelection.cpp | 58 VisibleSelection::VisibleSelection(const Position& pos, EAffinity affinity, bool isDirectional) 61 , m_affinity(affinity) 68 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity, bool isDirectional) 71 , m_affinity(affinity) 81 , m_affinity(pos.affinity()) 91 , m_affinity(base.affinity()) 98 VisibleSelection::VisibleSelection(const Range* range, EAffinity affinity, bool isDirectional) 101 , m_affinity(affinity) 474 // Affinity only makes sense for a caret
|
VisiblePosition.cpp | 51 VisiblePosition::VisiblePosition(const Position &pos, EAffinity affinity) 53 init(pos, affinity); 58 init(positionWithAffinity.position(), positionWithAffinity.affinity()); 61 void VisiblePosition::init(const Position& position, EAffinity affinity) 63 m_affinity = affinity; 67 // When not at a line wrap, make sure to end up with DOWNSTREAM affinity. 100 // we should always be able to make the affinity DOWNSTREAM, because going previous from an 569 // unless the affinity is upstream. 736 VisiblePosition startVisiblePosition(const Range *r, EAffinity affinity) 738 return VisiblePosition(r->startPosition(), affinity); [all...] |
/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); 77 // considering the effect on the caret affinity. 97 // caret position CURSOR_BACKWARD affinity CURSOR_FORWARD affinity
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ValidateNotificationPeople.java | 67 * Affinity will be equal to or greater than this value on notifications 73 * Affinity will be equal to or greater than this value on notifications 142 * @param timeoutAffinity affinity to return when the timeout specified via 147 if (DEBUG) Slog.d(TAG, "checking affinity for " + userHandle); 156 float affinity = affinityOut[0]; local 172 Slog.w(TAG, "Timeout while waiting for affinity: " + key + ". " 177 Slog.w(TAG, "InterruptedException while waiting for affinity: " + key + ". " 178 + "Returning affinity=" + affinity, e); 179 return affinity; 212 float affinity = NONE; local [all...] |
/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/webrtc/base/ |
cpumonitor_unittest.cc | 95 // Set affinity (which cpu to run on), but respecting FLAG_affinity: 96 // -1 means no affinity - run on whatever cpu is available. 99 // so the range becomes affinity to affinity + N - 1 101 // the thread with affinity for a specified CPU more priority on that CPU. 102 bool SetThreadAffinity(BusyThread* t, int cpu, int affinity) { 104 if (affinity >= 0) { 106 1 << (cpu + affinity)) != FALSE; 124 int priority, double interval, int affinity) { 132 !SetThreadAffinity(threads[i], i, affinity)) { [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
TaskRecord.java | 61 private static final String ATTR_AFFINITY = "affinity"; 86 String affinity; // The affinity name for this task, or null; may change identity. field in class:TaskRecord 87 String rootAffinity; // Initial base affinity, or null; does not change from initial root. 91 Intent affinityIntent; // Intent of affinity-moved activity that started this task. 225 affinity = _affinity; 281 affinity = info.taskAffinity; 284 // affinity -- we don't want it changing after initially set, but the initially 286 rootAffinity = affinity; 883 String affinity = null; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Position.h | 329 PositionWithAffinity(const Position& position, EAffinity affinity = DOWNSTREAM) 331 , m_affinity(affinity) 335 EAffinity affinity() const { return m_affinity; } function in class:WebCore::PositionWithAffinity
|
Position.cpp | 479 Position Position::previousCharacterPosition(EAffinity affinity) const 486 bool atStartOfLine = isStartOfLine(VisiblePosition(*this, affinity)); [all...] |
/external/chromium_org/build/android/pylib/perf/ |
test_runner.py | 191 """Returns True if test_name has affinity for this shard.""" 192 affinity = (self._tests['steps'][test_name]['device_affinity'] % 194 if self._shard_index == affinity: 196 logging.info('Skipping %s on %s (affinity is %s, device is %s)', 197 test_name, self.device_serial, affinity, self._shard_index)
|
/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/chromium_org/third_party/WebKit/Source/core/page/ |
DOMSelection.cpp | 441 EAffinity affinity = selection.selection().affinity(); local 442 selection.setSelectedRange(merged.get(), affinity);
|