/external/webkit/Source/WebCore/editing/ |
D | VisiblePosition.cpp | 130 int caretMaxOffset = box->caretMaxOffset(); in leftVisuallyDistinctCandidate() local 132 if (offset > caretMinOffset && offset < caretMaxOffset) in leftVisuallyDistinctCandidate() 135 if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) { in leftVisuallyDistinctCandidate() 169 … offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); in leftVisuallyDistinctCandidate() 227 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); in leftVisuallyDistinctCandidate() 281 int caretMaxOffset = box->caretMaxOffset(); in rightVisuallyDistinctCandidate() local 283 if (offset > caretMinOffset && offset < caretMaxOffset) in rightVisuallyDistinctCandidate() 286 if (box->isLeftToRightDirection() ? offset > caretMaxOffset : offset < caretMinOffset) { in rightVisuallyDistinctCandidate() 320 … offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); in rightVisuallyDistinctCandidate() 379 offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); in rightVisuallyDistinctCandidate()
|
D | DeleteSelectionCommand.cpp | 441 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { in handleGeneralDelete() 443 if (text->length() > (unsigned)caretMaxOffset(startNode)) in handleGeneralDelete() 444 … deleteTextFromNode(text, caretMaxOffset(startNode), text->length() - caretMaxOffset(startNode)); in handleGeneralDelete() 509 …treamEnd.deprecatedNode() == n && m_downstreamEnd.deprecatedEditingOffset() >= caretMaxOffset(n)) { in handleGeneralDelete()
|
D | visible_units.cpp | 545 Position maxPos(n, caretMaxOffset(n)); in previousLinePosition() 870 offset = r->caretMaxOffset(); in endOfParagraph() 1161 …ThisBox ? previousWordBreak : Position(box->renderer()->node(), box->caretMaxOffset(), Position::P… in previousWordBreakInBoxInsideBlockWithSameDirectionality() 1184 return Position(node, box->caretMaxOffset(), Position::PositionIsOffsetInAnchor); in leftmostPositionInRTLBoxInLTRBlock() 1188 …return Position(previousLeaf->renderer()->node(), previousLeaf->caretMaxOffset(), Position::Positi… in leftmostPositionInRTLBoxInLTRBlock() 1209 return Position(node, box->caretMaxOffset(), Position::PositionIsOffsetInAnchor); in rightmostPositionInLTRBoxInRTLBlock() 1213 …return Position(nextLeaf->renderer()->node(), nextLeaf->caretMaxOffset(), Position::PositionIsOffs… in rightmostPositionInLTRBoxInRTLBlock() 1436 …return box == boxOfWordBreak && offsetOfWordBreak != box->caretMaxOffset() && offsetOfWordBreak !=… in positionIsInsideBox()
|
D | InsertLineBreakCommand.cpp | 135 …} else if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.deprecatedNode()) || !pos.deprecate… in doApply()
|
D | htmlediting.h | 77 int caretMaxOffset(const Node*);
|
D | ApplyStyleCommand.cpp | 347 …if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Mo… in applyRelativeFontStyleChange() 663 if (start.deprecatedEditingOffset() >= caretMaxOffset(start.deprecatedNode())) { in fixRangeAndApplyInlineStyle() 670 if (end.deprecatedEditingOffset() >= caretMaxOffset(end.deprecatedNode())) in fixRangeAndApplyInlineStyle() 1191 return offsetInText > caretMinOffset(node) && offsetInText < caretMaxOffset(node); in isValidCaretPositionInTextNode()
|
D | htmlediting.cpp | 979 int caretMaxOffset(const Node* n) in caretMaxOffset() function 983 return n->renderer()->caretMaxOffset(); in caretMaxOffset()
|
D | CompositeEditCommand.cpp | 176 else if (refChild->isTextNode() && caretMaxOffset(refChild) > offset) { in insertNodeAt() 358 if (pos.offsetInContainerNode() >= caretMaxOffset(pos.containerNode())) in positionOutsideTabSpan()
|
D | TextIterator.cpp | 812 int offset = caretMaxOffset(node); in maxOffsetIncludingCollapsedSpaces()
|
/external/webkit/Source/WebCore/dom/ |
D | Position.cpp | 526 …ble = m_anchorType == PositionIsAfterAnchor ? Position(m_anchorNode, caretMaxOffset(m_anchorNode.g… in upstream() 586 return Position(currentNode, renderer->caretMaxOffset()); in upstream() 648 …ble = m_anchorType == PositionIsAfterAnchor ? Position(m_anchorNode, caretMaxOffset(m_anchorNode.g… in downstream() 1080 …ineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxOffset())) in getInlineBoxAndOffset() 1091 int caretMaxOffset = box->caretMaxOffset(); in getInlineBoxAndOffset() local 1093 …if (caretOffset < caretMinOffset || caretOffset > caretMaxOffset || (caretOffset == caretMaxOffset… in getInlineBoxAndOffset() 1096 if (caretOffset > caretMinOffset && caretOffset < caretMaxOffset) { in getInlineBoxAndOffset() 1101 if (((caretOffset == caretMaxOffset) ^ (affinity == DOWNSTREAM)) in getInlineBoxAndOffset()
|
/external/webkit/Source/WebCore/rendering/ |
D | InlineBox.h | 272 virtual int caretMaxOffset() const; 279 …etLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOffset(); } in caretLeftmostOffset() 280 …int caretRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOf… in caretRightmostOffset()
|
D | RenderBR.cpp | 66 int RenderBR::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderBR
|
D | RenderBR.h | 52 virtual int caretMaxOffset() const;
|
D | InlineBox.cpp | 115 int InlineBox::caretMaxOffset() const in caretMaxOffset() function in WebCore::InlineBox 117 return m_renderer->caretMaxOffset(); in caretMaxOffset()
|
D | RenderText.h | 111 virtual int caretMaxOffset() const;
|
D | InlineTextBox.h | 133 virtual int caretMaxOffset() const;
|
D | RenderReplaced.cpp | 294 return createVisiblePosition(caretMaxOffset(), DOWNSTREAM); // coordinates are below in positionForPoint()
|
D | RenderObject.h | 737 virtual int caretMaxOffset() const;
|
D | RenderText.cpp | 1399 int RenderText::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderText
|
D | InlineTextBox.cpp | 1208 int InlineTextBox::caretMaxOffset() const in caretMaxOffset() function in WebCore::InlineTextBox
|
D | RenderBlock.cpp | 4101 return Position(node(), start ? caretMinOffset() : caretMaxOffset()); in positionForBox() 4104 …renderer()->node(), start ? box->renderer()->caretMinOffset() : box->renderer()->caretMaxOffset()); in positionForBox() 4221 return createVisiblePosition(caretMaxOffset(), DOWNSTREAM); in positionForPoint()
|
D | RenderObject.cpp | 2427 int RenderObject::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderObject
|
/external/webkit/Source/WebCore/page/ |
D | DOMSelection.cpp | 353 …if (offset < 0 || offset > (node->offsetInCharacters() ? caretMaxOffset(node) : (int)node->childNo… in extend()
|
/external/webkit/Source/WebKit/android/jni/ |
D | WebViewCore.cpp | 2347 selection->anchorOffset(), caretMaxOffset(anchorNode)); in modifySelectionTextNavigationAxis() 2404 selection->extend(focusNode, caretMaxOffset(focusNode), ec); in modifySelectionTextNavigationAxis() 2454 selection->extend(focusNode, caretMaxOffset(focusNode), ec); in modifySelectionTextNavigationAxis() 2607 caretMaxOffset(nextAnchorNode), ec); in advanceAnchorNode() 2610 caretMaxOffset(nextAnchorNode), nextAnchorNode, in advanceAnchorNode() 2625 caretMaxOffset(nextAnchorNode), ec); in advanceAnchorNode()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2005-12-19 | 18203 (RenderBR::caretMaxOffset): 18224 (khtml::InlineBox::caretMaxOffset): 18234 (RenderObject::caretMaxOffset): 18242 (RenderReplaced::caretMaxOffset): 18252 (InlineTextBox::caretMaxOffset): 18258 (RenderText::caretMaxOffset): 18333 (DOM::NodeImpl::caretMaxOffset): 18369 (CharacterDataImpl::caretMaxOffset):
|