/external/webkit/Source/WebCore/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()); } 128 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.isBaseFirst() == b.isBaseFirst();
|
VisiblePosition.h | 36 // VisiblePosition default affinity is downstream because 53 // NOTE: UPSTREAM affinity will be used only if pos is at end of a wrapped line, 65 EAffinity affinity() const { ASSERT(m_affinity == UPSTREAM || m_affinity == DOWNSTREAM); return m_affinity; } function in class:WebCore::VisiblePosition 66 void setAffinity(EAffinity affinity) { m_affinity = affinity; } 119 // FIXME: This shouldn't ignore affinity.
|
SelectionController.cpp | 97 setSelection(VisibleSelection(pos.deepEquivalent(), pos.deepEquivalent(), pos.affinity()), options, align); 105 setSelection(VisibleSelection(base.deepEquivalent(), extent.deepEquivalent(), base.affinity()), options); 108 void SelectionController::moveTo(const Position &pos, EAffinity affinity, bool userTriggered) 113 setSelection(VisibleSelection(pos, affinity), options); 116 void SelectionController::moveTo(const Range *r, EAffinity affinity, bool userTriggered) 121 VisibleSelection selection = r ? VisibleSelection(r->startPosition(), r->endPosition(), affinity) : VisibleSelection(Position(), Position(), affinity); 125 void SelectionController::moveTo(const Position &base, const Position &extent, EAffinity affinity, bool userTriggered) 130 setSelection(VisibleSelection(base, extent, affinity), options); 419 VisiblePosition pos(m_selection.extent(), m_selection.affinity()); [all...] |
VisiblePosition.cpp | 47 VisiblePosition::VisiblePosition(const Position &pos, EAffinity affinity) 49 init(pos, affinity); 52 void VisiblePosition::init(const Position& position, EAffinity affinity) 54 m_affinity = affinity; 58 // When not at a line wrap, make sure to end up with DOWNSTREAM affinity. 90 // we should always be able to make the affinity DOWNSTREAM, because going previous from an 482 // unless the affinity is upstream. 638 VisiblePosition startVisiblePosition(const Range *r, EAffinity affinity) 641 return VisiblePosition(Position(r->startContainer(exception), r->startOffset(exception), Position::PositionIsOffsetInAnchor), affinity); 644 VisiblePosition endVisiblePosition(const Range *r, EAffinity affinity) [all...] |
InsertParagraphSeparatorCommand.cpp | 154 EAffinity affinity = endingSelection().affinity(); local 161 affinity = endingSelection().affinity(); 187 VisiblePosition visiblePos(insertionPosition, affinity); 308 // FIXME: We need the affinity for pos, but pos.downstream() does not give it
|
VisibleSelection.cpp | 50 VisibleSelection::VisibleSelection(const Position& pos, EAffinity affinity) 53 , m_affinity(affinity) 58 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity) 61 , m_affinity(affinity) 69 , m_affinity(pos.affinity()) 77 , m_affinity(base.affinity()) 82 VisibleSelection::VisibleSelection(const Range* range, EAffinity affinity) 85 , m_affinity(affinity) 404 // Affinity only makes sense for a caret
|
MoveSelectionCommand.cpp | 68 setEndingSelection(VisibleSelection(pos, endingSelection().affinity()));
|
/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 30 Intent affinityIntent; // Intent of affinity-moved activity that started this task. 43 affinity = info.taskAffinity; 91 if (affinity != null) { 92 pw.print(prefix); pw.print("affinity="); pw.println(affinity); 135 if (affinity != null) { 137 sb.append(affinity);
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
EditingCallbacks.cpp | 88 static const char* selectionAffinityString(WebKitSelectionAffinity affinity) 90 switch (affinity) { 145 gboolean shouldChangeSelectedRange(WebKitWebView* webView, WebKitDOMRange* fromRange, WebKitDOMRange* toRange, WebKitSelectionAffinity affinity, gboolean stillSelecting) 148 printf("EDITING DELEGATE: shouldChangeSelectedDOMRange:%s toDOMRange:%s affinity:%s stillSelecting:%s\n", 149 dumpRange(fromRange).data(), dumpRange(toRange).data(), selectionAffinityString(affinity),
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/ |
WKBundleAPICast.h | 90 inline WKAffinityType toAPI(WebCore::EAffinity affinity) 92 switch (affinity) {
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
InjectedBundlePageEditorClient.cpp | 85 bool InjectedBundlePageEditorClient::shouldChangeSelectedRange(WebPage* page, Range* fromRange, Range* toRange, EAffinity affinity, bool stillSelecting) 90 return m_client.shouldChangeSelectedRange(toAPI(page), toAPI(fromRangeHandle.get()), toAPI(toRangeHandle.get()), toAPI(affinity), stillSelecting, m_client.clientInfo);
|
InjectedBundlePageEditorClient.h | 53 bool shouldChangeSelectedRange(WebPage*, WebCore::Range* fromRange, WebCore::Range* toRange, WebCore::EAffinity affinity, bool stillSelecting);
|
/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 */
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
manifest-expected-completion18.txt | 14 android:taskAffinity : Specify a task name that activities have an "affinity" to. [string] 15 android:allowTaskReparenting : Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. [boolean]
|
/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/webkit/Source/WebKit/mac/WebView/ |
WebEditingDelegate.h | 47 - (BOOL)webView:(WebView *)webView shouldChangeSelectedDOMRange:(DOMRange *)currentRange toDOMRange:(DOMRange *)proposedRange affinity:(NSSelectionAffinity)selectionAffinity stillSelecting:(BOOL)flag;
|
WebFrameInternal.h | 137 - (NSRect)_caretRectAtPosition:(const WebCore::Position&)pos affinity:(NSSelectionAffinity)affinity;
|
/external/webkit/Tools/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/Source/WebCore/dom/ |
Position.cpp | 415 Position Position::previousCharacterPosition(EAffinity affinity) const 422 bool atStartOfLine = isStartOfLine(VisiblePosition(*this, affinity)); 443 Position Position::nextCharacterPosition(EAffinity affinity) const 450 bool atEndOfLine = isEndOfLine(VisiblePosition(*this, affinity)); [all...] |
/frameworks/base/docs/html/guide/topics/manifest/ |
activity-element.jd | 64 the task it has an affinity for when that task is next brought to the 79 has an affinity for when its current task is no longer displayed. 94 The affinity of an activity is defined by the 95 <code><a href="#aff">taskAffinity</a></code> attribute. The affinity 96 of a task is determined by reading the affinity of its root activity. 98 same affinity. Since activities with "{@code singleTask}" or 157 the task they share an affinity with; the remaining activities are then dropped, 314 are both "{@code true}", this attribute trumps the other. The affinity of the [all...] |
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
autocomplete_text_field_editor.mm | 334 affinity:(NSSelectionAffinity)affinity 336 [super setSelectedRange:charRange affinity:affinity stillSelecting:flag];
|
/external/clang/test/CodeGen/ |
decl.c | 71 unsigned char affinity; member in struct:SelectDest
|
/external/webkit/Source/WebKit/mac/DefaultDelegates/ |
WebDefaultEditingDelegate.m | 80 - (BOOL)webView:(WebView *)webView shouldChangeSelectedDOMRange:(DOMRange *)currentRange toDOMRange:(DOMRange *)proposedRange affinity:(NSSelectionAffinity)selectionAffinity stillSelecting:(BOOL)flag
|