/external/webkit/WebCore/editing/ |
TextAffinity.h | 47 inline NSSelectionAffinity kit(WebCore::EAffinity affinity) 49 return static_cast<NSSelectionAffinity>(affinity); 52 inline WebCore::EAffinity core(NSSelectionAffinity affinity) 54 return static_cast<WebCore::EAffinity>(affinity);
|
SelectionController.cpp | 82 setSelection(VisibleSelection(pos.deepEquivalent(), pos.deepEquivalent(), pos.affinity()), true, true, userTriggered); 87 setSelection(VisibleSelection(base.deepEquivalent(), extent.deepEquivalent(), base.affinity()), true, true, userTriggered); 90 void SelectionController::moveTo(const Position &pos, EAffinity affinity, bool userTriggered) 92 setSelection(VisibleSelection(pos, affinity), true, true, userTriggered); 95 void SelectionController::moveTo(const Range *r, EAffinity affinity, bool userTriggered) 97 VisibleSelection selection = r ? VisibleSelection(r->startPosition(), r->endPosition(), affinity) : VisibleSelection(Position(), Position(), affinity); 101 void SelectionController::moveTo(const Position &base, const Position &extent, EAffinity affinity, bool userTriggered) 103 setSelection(VisibleSelection(base, extent, affinity), true, true, userTriggered); 270 VisiblePosition pos(m_selection.extent(), m_selection.affinity()); [all...] |
VisibleSelection.h | 56 void setAffinity(EAffinity affinity) { m_affinity = affinity; } 57 EAffinity affinity() const { return m_affinity; } function in class:WebCore::VisibleSelection 69 VisiblePosition visibleStart() const { return VisiblePosition(m_start, isRange() ? DOWNSTREAM : affinity()); } 70 VisiblePosition visibleEnd() const { return VisiblePosition(m_end, isRange() ? UPSTREAM : affinity()); } 127 EAffinity m_affinity; // the upstream/downstream affinity of the caret 137 return a.start() == b.start() && a.end() == b.end() && a.affinity() == b.affinity() && a.granularity() == b.granularity() && a.isBaseFirst() == b.isBaseFirst();
|
VisiblePosition.h | 35 // VisiblePosition default affinity is downstream because 54 // 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; } 121 // FIXME: This shouldn't ignore affinity.
|
VisiblePosition.cpp | 46 VisiblePosition::VisiblePosition(const Position &pos, EAffinity affinity) 48 init(pos, affinity); 51 VisiblePosition::VisiblePosition(Node *node, int offset, EAffinity affinity) 54 init(Position(node, offset), affinity); local 57 void VisiblePosition::init(const Position& position, EAffinity affinity) 59 m_affinity = affinity; 63 // When not at a line wrap, make sure to end up with DOWNSTREAM affinity. 91 // we should always be able to make the affinity DOWNSTREAM, because going previous from an 460 // unless the affinity is upstream. 611 VisiblePosition startVisiblePosition(const Range *r, EAffinity affinity) [all...] |
InsertParagraphSeparatorCommand.cpp | 154 EAffinity affinity = endingSelection().affinity(); local 161 affinity = endingSelection().affinity(); 186 VisiblePosition visiblePos(insertionPosition, affinity); 312 // FIXME: We need the affinity for pos, but pos.downstream() does not give it
|
MoveSelectionCommand.cpp | 72 setEndingSelection(VisibleSelection(pos, endingSelection().affinity()));
|
VisibleSelection.cpp | 52 VisibleSelection::VisibleSelection(const Position& pos, EAffinity affinity) 55 , m_affinity(affinity) 61 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity) 64 , m_affinity(affinity) 73 , m_affinity(pos.affinity()) 82 , m_affinity(base.affinity()) 88 VisibleSelection::VisibleSelection(const Range* range, EAffinity affinity) 91 , m_affinity(affinity) 406 // Affinity only makes sense for a caret
|
SelectionController.h | 73 EAffinity affinity() const { return m_selection.affinity(); } function in class:WebCore::SelectionController
|
DeleteSelectionCommand.cpp | 212 m_leadingWhitespace = m_upstreamStart.leadingWhitespacePosition(m_selectionToDelete.affinity()); 218 Position pos = VisiblePosition(m_upstreamStart, m_selectionToDelete.affinity()).deepEquivalent(); 224 bool hasLeadingWhitespaceBeforeAdjustment = m_upstreamStart.leadingWhitespacePosition(m_selectionToDelete.affinity(), true).isNotNull(); 232 m_leadingWhitespace = m_upstreamStart.leadingWhitespacePosition(visiblePos.affinity()); 734 EAffinity affinity = m_selectionToDelete.affinity(); local [all...] |
/frameworks/base/services/java/com/android/server/am/ |
TaskRecord.java | 28 final String affinity; // The affinity name for this task, or null. field in class:TaskRecord 31 Intent affinityIntent; // Intent of affinity-moved activity that started this task. 44 affinity = info.taskAffinity; 94 if (affinity != null) { 95 pw.print(prefix); pw.print("affinity="); pw.println(affinity); 133 if (affinity != null) { 135 sb.append(affinity);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
sched.h | 109 /* Set the CPU affinity for a task */ 113 /* Get the CPU affinity for a task */
|
/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;
|
/frameworks/base/docs/html/guide/topics/manifest/ |
activity-element.jd | 58 the task it has an affinity for when that task is next brought to the 73 has an affinity for when its current task is no longer displayed. 88 The affinity of an activity is defined by the 89 <code><a href="#aff">taskAffinity</a></code> attribute. The affinity 90 of a task is determined by reading the affinity of its root activity. 92 same affinity. Since activities with "{@code singleTask}" or 151 the task they share an affinity with; the remaining activities are then dropped, 285 are both "{@code true}", this attribute trumps the other. The affinity of the 620 <dd>The task that the activity has an affinity for. Activities with 621 the same affinity conceptually belong to the same task (to the sam [all...] |
application-element.jd | 53 the task that started them to the task they have an affinity for when that task 235 <dd>An affinity name that applies to all activities within the application, 236 except for those that set a different affinity with their own 242 affinity. The name of that affinity is the same as the package name
|
/external/webkit/WebKit/mac/WebView/ |
WebEditingDelegate.h | 47 - (BOOL)webView:(WebView *)webView shouldChangeSelectedDOMRange:(DOMRange *)currentRange toDOMRange:(DOMRange *)proposedRange affinity:(NSSelectionAffinity)selectionAffinity stillSelecting:(BOOL)flag;
|
WebFrameInternal.h | 134 - (NSRect)_caretRectAtNode:(DOMNode *)node offset:(int)offset affinity:(NSSelectionAffinity)affinity;
|
/external/webkit/WebCore/dom/ |
Position.cpp | 370 Position Position::previousCharacterPosition(EAffinity affinity) const 377 bool atStartOfLine = isStartOfLine(VisiblePosition(*this, affinity)); 398 Position Position::nextCharacterPosition(EAffinity affinity) const 405 bool atEndOfLine = isEndOfLine(VisiblePosition(*this, affinity)); 909 Position Position::leadingWhitespacePosition(EAffinity affinity, bool considerNonCollapsibleWhitespace) const [all...] |
/external/webkit/WebKitTools/DumpRenderTree/mac/ |
EditingDelegate.mm | 127 - (BOOL)webView:(WebView *)webView shouldChangeSelectedDOMRange:(DOMRange *)currentRange toDOMRange:(DOMRange *)proposedRange affinity:(NSSelectionAffinity)selectionAffinity stillSelecting:(BOOL)flag 139 printf("EDITING DELEGATE: shouldChangeSelectedDOMRange:%s toDOMRange:%s affinity:%s stillSelecting:%s\n", [[currentRange dump] UTF8String], [[proposedRange dump] UTF8String], affinitystring[selectionAffinity], boolstring[flag]);
|
/frameworks/base/docs/html/guide/basics/ |
appmodel.jd | 78 activities are intended to run in. The default task affinity for an activity 88 then the affinity will be used to determine if a task already exists with 89 the same affinity. If so, that task will be brought to the front and the 157 affinity and start the new activity at the top of it. There are, however, 172 <code>android:taskAffinity</code> to the empty string "" (indicating no affinity)
|
/external/webkit/WebCore/accessibility/ |
AXObjectCache.h | 56 EAffinity affinity; member in struct:WebCore::TextMarkerData
|
AXObjectCache.cpp | 470 VisiblePosition visiblePos = VisiblePosition(textMarkerData.node, textMarkerData.offset, textMarkerData.affinity); 521 textMarkerData.affinity = visiblePos.affinity();
|
/external/webkit/WebKit/gtk/WebCoreSupport/ |
PasteboardHelperGtk.cpp | 143 frame->selection()->setBase(frame->selection()->extent(), frame->selection()->affinity());
|
/external/webkit/WebKit/mac/DefaultDelegates/ |
WebDefaultEditingDelegate.m | 80 - (BOOL)webView:(WebView *)webView shouldChangeSelectedDOMRange:(DOMRange *)currentRange toDOMRange:(DOMRange *)proposedRange affinity:(NSSelectionAffinity)selectionAffinity stillSelecting:(BOOL)flag
|
/frameworks/base/core/java/android/content/pm/ |
ActivityInfo.java | 73 * The affinity this activity has for another task in the system. The 75 * overall package. If null, the activity has no affinity. Set from the 134 * between tasks based on its task affinity. Set from the
|