Home
last modified time | relevance | path

Searched refs:caretMinOffset (Results 1 – 25 of 28) sorted by relevance

12

/external/webkit/Source/WebCore/editing/
DVisiblePosition.cpp129 int caretMinOffset = box->caretMinOffset(); 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()
280 int caretMinOffset = box->caretMinOffset(); 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()
Dvisible_units.cpp540 Position pos(n, caretMinOffset(n)); in previousLinePosition()
651 Position pos(n, caretMinOffset(n)); in nextLinePosition()
1067 …Node() ? VisiblePosition(Position(logicalStartNode, logicalStartBox->caretMinOffset(), Position::P… in logicalStartPositionForLine()
1195 …return Position(lastRTLLeaf->renderer()->node(), lastRTLLeaf->caretMinOffset(), Position::Position… in leftmostPositionInRTLBoxInLTRBlock()
1198 return Position(node, box->caretMinOffset(), Position::PositionIsOffsetInAnchor); in leftmostPositionInRTLBoxInLTRBlock()
1220 …return Position(firstLTRLeaf->renderer()->node(), firstLTRLeaf->caretMinOffset(), Position::Positi… in rightmostPositionInLTRBoxInRTLBlock()
1223 return Position(node, box->caretMinOffset(), Position::PositionIsOffsetInAnchor); in rightmostPositionInLTRBoxInRTLBlock()
1275 …ThisBox ? previousWordBreak : Position(box->renderer()->node(), box->caretMinOffset(), Position::P… in nextWordBreakInBoxInsideBlockWithDifferentDirectionality()
1436 …dBreak && offsetOfWordBreak != box->caretMaxOffset() && offsetOfWordBreak != box->caretMinOffset(); in positionIsInsideBox()
DInsertLineBreakCommand.cpp125 } else if (pos.deprecatedEditingOffset() <= caretMinOffset(pos.deprecatedNode())) { in doApply()
Dhtmlediting.h76 int caretMinOffset(const Node*);
Dhtmlediting.cpp970 int caretMinOffset(const Node* n) in caretMinOffset() function
974 return r ? r->caretMinOffset() : 0; in caretMinOffset()
DCompositeEditCommand.cpp174 } else if (caretMinOffset(refChild) >= offset) in insertNodeAt()
355 if (pos.offsetInContainerNode() <= caretMinOffset(pos.containerNode())) in positionOutsideTabSpan()
DDeleteSelectionCommand.cpp517 …Node()->inDocument() && m_downstreamEnd.deprecatedEditingOffset() >= caretMinOffset(m_downstreamEn… in handleGeneralDelete()
DApplyStyleCommand.cpp1191 return offsetInText > caretMinOffset(node) && offsetInText < caretMaxOffset(node); in isValidCaretPositionInTextNode()
/external/webkit/Source/WebCore/dom/
DPosition.cpp700 if (currentPos.offsetInLeafNode() <= renderer->caretMinOffset()) in downstream()
701 return Position(currentNode, renderer->caretMinOffset()); in downstream()
709 return Position(currentNode, renderer->caretMinOffset()); in downstream()
931 …LOG(Editing, "node min/max: %d:%d\n", caretMinOffset(deprecatedNode()), caretMaxRendered… in rendersInDifferentPosition()
932 …LOG(Editing, "pos node min/max: %d:%d\n", caretMinOffset(pos.deprecatedNode()), caretMaxRend… in rendersInDifferentPosition()
1024 int caretMinOffset = box->caretMinOffset(); in searchAheadForBetterMatch() local
1025 if (caretMinOffset < minOffset) { in searchAheadForBetterMatch()
1027 minOffset = caretMinOffset; in searchAheadForBetterMatch()
1080 …if (!inlineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxO… in getInlineBoxAndOffset()
1090 int caretMinOffset = box->caretMinOffset(); in getInlineBoxAndOffset() local
[all …]
/external/webkit/Source/WebCore/rendering/
DInlineBox.h271 virtual int caretMinOffset() const;
279 …int caretLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOff… in caretLeftmostOffset()
280 …tRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOffset(); } in caretRightmostOffset()
DRenderBR.cpp61 int RenderBR::caretMinOffset() const in caretMinOffset() function in WebCore::RenderBR
DRenderBR.h51 virtual int caretMinOffset() const;
DInlineBox.cpp110 int InlineBox::caretMinOffset() const in caretMinOffset() function in WebCore::InlineBox
112 return m_renderer->caretMinOffset(); in caretMinOffset()
DRenderText.h110 virtual int caretMinOffset() const;
DInlineTextBox.h132 virtual int caretMinOffset() const;
DRenderReplaced.cpp291 return createVisiblePosition(caretMinOffset(), DOWNSTREAM); // coordinates are above in positionForPoint()
DRenderObject.h736 virtual int caretMinOffset() const;
DRenderObject.cpp2130 return createVisiblePosition(caretMinOffset(), DOWNSTREAM); in positionForPoint()
2422 int RenderObject::caretMinOffset() const in caretMinOffset() function in WebCore::RenderObject
DRenderText.cpp1388 int RenderText::caretMinOffset() const in caretMinOffset() function in WebCore::RenderText
DInlineTextBox.cpp1203 int InlineTextBox::caretMinOffset() const in caretMinOffset() function in WebCore::InlineTextBox
DRenderBlock.cpp4101 return Position(node(), start ? caretMinOffset() : caretMaxOffset()); in positionForBox()
4104 …return Position(box->renderer()->node(), start ? box->renderer()->caretMinOffset() : box->renderer… in positionForBox()
4219 return createVisiblePosition(caretMinOffset(), DOWNSTREAM); in positionForPoint()
/external/webkit/Source/WebKit/android/jni/
DWebViewCore.cpp2482 selection->extend(focusNode, caretMinOffset(focusNode), ec); in modifySelectionTextNavigationAxis()
2606 caretMinOffset(nextAnchorNode), nextAnchorNode, in advanceAnchorNode()
2611 caretMinOffset(nextAnchorNode), ec); in advanceAnchorNode()
2622 caretMinOffset(nextAnchorNode), ec); in advanceAnchorNode()
/external/webkit/Source/WebCore/
DChangeLog-2005-12-1918202 (RenderBR::caretMinOffset):
18223 (khtml::InlineBox::caretMinOffset):
18233 (RenderObject::caretMinOffset):
18241 (RenderReplaced::caretMinOffset):
18251 (InlineTextBox::caretMinOffset):
18257 (RenderText::caretMinOffset):
18332 (DOM::NodeImpl::caretMinOffset):
18368 (CharacterDataImpl::caretMinOffset):
DChangeLog-2006-12-313340 (WebCore::RenderText::caretMinOffset):
16568 (WebCore::RenderBR::caretMinOffset):
37465 Use 0 and maxDeepOffset(), instead of caretMinOffset() and caretMaxRenderedOffset().
DChangeLog-2008-08-1026772 (WebCore::InlineBox::caretMinOffset): Changed to forward to the
26821 * rendering/RenderReplaced.cpp: Removed caretMinOffset() and
74387 …(WebCore::caretMinOffset): Moved from Node. Changed some runtime checks that seemingly cannot fail…
74392caretMinOffset. I didn't want to include htmlediting.h here, and I think that VisiblePosition cons…

12