/external/webkit/Source/WebCore/editing/ |
H A D | TextAffinity.h | 45 inline NSSelectionAffinity kit(WebCore::EAffinity affinity) argument 47 return static_cast<NSSelectionAffinity>(affinity); 50 inline WebCore::EAffinity core(NSSelectionAffinity affinity) argument 52 return static_cast<WebCore::EAffinity>(affinity);
|
H A D | 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; } argument 119 // FIXME: This shouldn't ignore affinity.
|
H A D | 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
|
H A D | VisibleSelection.cpp | 50 VisibleSelection::VisibleSelection(const Position& pos, EAffinity affinity) argument 53 , m_affinity(affinity) 58 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity) argument 61 , m_affinity(affinity) 69 , m_affinity(pos.affinity()) 77 , m_affinity(base.affinity()) 82 VisibleSelection::VisibleSelection(const Range* range, EAffinity affinity) argument 85 , m_affinity(affinity)
|
H A D | VisibleSelection.h | 57 void setAffinity(EAffinity affinity) { m_affinity = affinity; } argument 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();
|
H A D | DeleteSelectionCommand.cpp | 222 m_leadingWhitespace = m_upstreamStart.leadingWhitespacePosition(m_selectionToDelete.affinity()); 228 Position pos = VisiblePosition(m_upstreamStart, m_selectionToDelete.affinity()).deepEquivalent(); 234 bool hasLeadingWhitespaceBeforeAdjustment = m_upstreamStart.leadingWhitespacePosition(m_selectionToDelete.affinity(), true).isNotNull(); 242 m_leadingWhitespace = m_upstreamStart.leadingWhitespacePosition(visiblePos.affinity()); 768 EAffinity affinity = m_selectionToDelete.affinity(); local 796 setEndingSelection(VisibleSelection(m_endingPosition, affinity)); 819 setEndingSelection(VisibleSelection(m_endingPosition, affinity));
|
H A D | SelectionController.h | 92 EAffinity affinity() const { return m_selection.affinity(); } function in class:WebCore::SelectionController
|
H A D | VisiblePosition.cpp | 47 VisiblePosition::VisiblePosition(const Position &pos, EAffinity affinity) argument 49 init(pos, affinity); 52 void VisiblePosition::init(const Position& position, EAffinity affinity) argument 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) argument 641 return VisiblePosition(Position(r->startContainer(exception), r->startOffset(exception), Position::PositionIsOffsetInAnchor), affinity); 644 VisiblePosition endVisiblePosition(const Range *r, EAffinity affinity) argument [all...] |
H A D | EditorCommand.cpp | 219 EAffinity affinity = frame->selection()->affinity(); local 220 if (!frame->editor()->client()->shouldChangeSelectedRange(oldRange.get(), newRange.get(), affinity, false)) 222 frame->selection()->setSelectedRange(newRange.get(), affinity, true);
|
H A D | 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) argument 113 setSelection(VisibleSelection(pos, affinity), options); 116 void SelectionController::moveTo(const Range *r, EAffinity affinity, bool userTriggered) argument 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) argument 130 setSelection(VisibleSelection(base, extent, affinity), options); 419 VisiblePosition pos(m_selection.extent(), m_selection.affinity()); 1016 setBase(const Position &pos, EAffinity affinity, bool userTriggered) argument 1024 setExtent(const Position &pos, EAffinity affinity, bool userTriggered) argument 1428 setSelectedRange(Range* range, EAffinity affinity, bool closeTyping) argument [all...] |
H A D | Editor.cpp | 2799 bool Editor::shouldChangeSelection(const VisibleSelection& oldSelection, const VisibleSelection& newSelection, EAffinity affinity, bool stillSelecting) const argument 2801 return client()->shouldChangeSelectedRange(oldSelection.toNormalizedRange().get(), newSelection.toNormalizedRange().get(), affinity, stillSelecting);
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/ |
H A D | WKBundleAPICast.h | 90 inline WKAffinityType toAPI(WebCore::EAffinity affinity) argument 92 switch (affinity) {
|
/external/clang/test/CodeGen/ |
H A D | decl.c | 71 unsigned char affinity; member in struct:SelectDest
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
H A D | InjectedBundlePageEditorClient.cpp | 85 bool InjectedBundlePageEditorClient::shouldChangeSelectedRange(WebPage* page, Range* fromRange, Range* toRange, EAffinity affinity, bool stillSelecting) argument 90 return m_client.shouldChangeSelectedRange(toAPI(page), toAPI(fromRangeHandle.get()), toAPI(toRangeHandle.get()), toAPI(affinity), stillSelecting, m_client.clientInfo);
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
H A D | EditingCallbacks.cpp | 88 static const char* selectionAffinityString(WebKitSelectionAffinity affinity) argument 90 switch (affinity) { 145 gboolean shouldChangeSelectedRange(WebKitWebView* webView, WebKitDOMRange* fromRange, WebKitDOMRange* toRange, WebKitSelectionAffinity affinity, gboolean stillSelecting) argument 148 printf("EDITING DELEGATE: shouldChangeSelectedDOMRange:%s toDOMRange:%s affinity:%s stillSelecting:%s\n", 149 dumpRange(fromRange).data(), dumpRange(toRange).data(), selectionAffinityString(affinity),
|
/external/kernel-headers/original/linux/ |
H A D | 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/WebCore/accessibility/ |
H A D | AXObjectCache.h | 52 EAffinity affinity; member in struct:WebCore::TextMarkerData
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/ |
H A D | WebEditorClient.cpp | 150 bool WebEditorClient::shouldChangeSelectedRange(Range* fromRange, Range* toRange, EAffinity affinity, bool stillSelecting) argument 152 bool result = m_page->injectedBundleEditorClient().shouldChangeSelectedRange(m_page, fromRange, toRange, affinity, stillSelecting);
|
/external/webkit/Source/WebCore/dom/ |
H A D | 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)); 957 Position Position::leadingWhitespacePosition(EAffinity affinity, bool considerNonCollapsibleWhitespace) const argument 966 Position prev = previousCharacterPosition(affinity); 995 void Position::getInlineBoxAndOffset(EAffinity affinity, InlineBox*& inlineBox, int& caretOffset) const argument 997 getInlineBoxAndOffset(affinity, primaryDirection(), inlineBox, caretOffset); 1057 void Position::getInlineBoxAndOffset(EAffinity affinity, TextDirection primaryDirection, InlineBox*& inlineBox, int& caretOffset) const argument 1101 if (((caretOffset == caretMaxOffset) ^ (affinity [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
H A D | EditorClientImpl.cpp | 239 EAffinity affinity, 245 static_cast<WebTextAffinity>(affinity), 237 shouldChangeSelectedRange(Range* fromRange, Range* toRange, EAffinity affinity, bool stillSelecting) argument
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
H A D | EditorClientGtk.cpp | 350 static WebKitSelectionAffinity kit(EAffinity affinity) argument 352 switch (affinity) { 362 bool EditorClient::shouldChangeSelectedRange(Range* fromRange, Range* toRange, EAffinity affinity, bool stillSelecting) argument 368 kit(affinity), stillSelecting, &accept); 411 frame->selection()->setBase(frame->selection()->extent(), frame->selection()->affinity());
|
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/ |
H A D | InjectedBundlePage.cpp | 855 bool InjectedBundlePage::shouldChangeSelectedRange(WKBundlePageRef page, WKBundleRangeHandleRef fromRange, WKBundleRangeHandleRef toRange, WKAffinityType affinity, bool stillSelecting, const void* clientInfo) argument 857 return static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->shouldChangeSelectedRange(fromRange, toRange, affinity, stillSelecting); 947 bool InjectedBundlePage::shouldChangeSelectedRange(WKBundleRangeHandleRef fromRange, WKBundleRangeHandleRef toRange, WKAffinityType affinity, bool stillSelecting) argument 962 InjectedBundle::shared().os() << "EDITING DELEGATE: shouldChangeSelectedDOMRange:" << toStr(m_page, m_world.get(), fromRange) << " toDOMRange:" << toStr(m_page, m_world.get(), toRange) << " affinity:" << affinitystring[affinity] << " stillSelecting:" << boolstring[stillSelecting] << "\n";
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
H A D | WebViewHost.cpp | 219 static string textAffinityDescription(WebTextAffinity affinity) argument 221 switch (affinity) { 325 const WebRange& fromRange, const WebRange& toRange, WebTextAffinity affinity, bool stillSelecting) 332 printf(" affinity:%s stillSelecting:%s\n", 333 textAffinityDescription(affinity).c_str(), 324 shouldChangeSelectedRange( const WebRange& fromRange, const WebRange& toRange, WebTextAffinity affinity, bool stillSelecting) argument
|
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderObject.cpp | 2527 VisiblePosition RenderObject::createVisiblePosition(int offset, EAffinity affinity) argument 2536 return VisiblePosition(candidate, affinity); 2539 return VisiblePosition(candidate, affinity); 2542 return VisiblePosition(Position(node, offset), affinity);
|
/external/sqlite/dist/ |
H A D | sqlite3.c | 4079 ** numeric affinity to the value. This means that an attempt is 9231 char affinity; /* One of the SQLITE_AFF_... values */ member in struct:Column 9282 ** Column affinity types. 9289 ** when multiple affinity types are concatenated into a string and 9305 ** affinity value. 9310 ** Additional bit values that can be ORed with an affinity without 9311 ** changing the affinity. 9410 char *zColAff; /* String defining the affinity of each column */ 9608 char *zColAff; /* String defining the affinity of each column */ 9767 char affinity; /* Th member in struct:Expr 10161 char affinity; /* MakeRecord with this affinity for SRT_Set */ member in struct:Select 10216 u8 affinity; /* Affinity used when eDest==SRT_Set */ member in struct:SelectDest [all...] |