Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisiblePosition.cpp156 int caretMinOffset = box->caretMinOffset(); in leftVisuallyDistinctCandidate() local
159 if (offset > caretMinOffset && offset < caretMaxOffset) in leftVisuallyDistinctCandidate()
162 if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) { in leftVisuallyDistinctCandidate()
196 … offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); in leftVisuallyDistinctCandidate()
257 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); in leftVisuallyDistinctCandidate()
321 int caretMinOffset = box->caretMinOffset(); in rightVisuallyDistinctCandidate() local
324 if (offset > caretMinOffset && offset < caretMaxOffset) in rightVisuallyDistinctCandidate()
327 if (box->isLeftToRightDirection() ? offset > caretMaxOffset : offset < caretMinOffset) { in rightVisuallyDistinctCandidate()
361 … offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); in rightVisuallyDistinctCandidate()
425 offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); in rightVisuallyDistinctCandidate()
DInsertLineBreakCommand.cpp127 } else if (pos.deprecatedEditingOffset() <= caretMinOffset(pos.deprecatedNode())) { in doApply()
Dhtmlediting.h77 int caretMinOffset(const Node*);
Dhtmlediting.cpp973 int caretMinOffset(const Node* n) in caretMinOffset() function
977 return r ? r->caretMinOffset() : 0; in caretMinOffset()
DTypingCommand.cpp539 ….containerNode()) && downstreamEnd.computeOffsetInContainerNode() <= caretMinOffset(downstreamEnd.… in forwardDeleteKeyPressed()
DCompositeEditCommand.cpp373 } else if (caretMinOffset(refChild) >= offset) in insertNodeAt()
570 if (pos.offsetInContainerNode() <= caretMinOffset(pos.containerNode())) in positionOutsideTabSpan()
DVisibleUnits.cpp115 pos = createLegacyEditingPosition(nextNode, caretMinOffset(nextNode)); in nextRootInlineBoxCandidatePosition()
382 if (offsetInBox == box->caretMinOffset()) in visualWordPosition()
DDeleteSelectionCommand.cpp537 …reamEnd.inDocument() && m_downstreamEnd.deprecatedEditingOffset() >= caretMinOffset(m_downstreamEn… in handleGeneralDelete()
DApplyStyleCommand.cpp1257 return offsetInText > caretMinOffset(node) && offsetInText < caretMaxOffset(node); in isValidCaretPositionInTextNode()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPosition.cpp767 if (currentPos.offsetInLeafNode() <= renderer->caretMinOffset()) in downstream()
768 return createLegacyEditingPosition(currentNode, renderer->caretMinOffset()); in downstream()
776 return createLegacyEditingPosition(currentNode, renderer->caretMinOffset()); in downstream()
1023 …WTF_LOG(Editing, "node min/max: %d:%d\n", caretMinOffset(deprecatedNode()), caretMaxOffs… in rendersInDifferentPosition()
1024 …WTF_LOG(Editing, "pos node min/max: %d:%d\n", caretMinOffset(pos.deprecatedNode()), caretMax… in rendersInDifferentPosition()
1116 int caretMinOffset = box->caretMinOffset(); in searchAheadForBetterMatch() local
1117 if (caretMinOffset < minOffset) { in searchAheadForBetterMatch()
1119 minOffset = caretMinOffset; in searchAheadForBetterMatch()
1172 …if (!inlineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxO… in getInlineBoxAndOffset()
1182 int caretMinOffset = box->caretMinOffset(); in getInlineBoxAndOffset() local
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBR.cpp66 int RenderBR::caretMinOffset() const in caretMinOffset() function in WebCore::RenderBR
DRenderBR.h51 virtual int caretMinOffset() const;
DInlineBox.h244 virtual int caretMinOffset() const;
251 …int caretLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOff… in caretLeftmostOffset()
252 …tRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOffset(); } in caretRightmostOffset()
DInlineBox.cpp148 int InlineBox::caretMinOffset() const in caretMinOffset() function in WebCore::InlineBox
150 return m_renderer->caretMinOffset(); in caretMinOffset()
DInlineTextBox.h153 virtual int caretMinOffset() const OVERRIDE FINAL;
DRenderText.h123 virtual int caretMinOffset() const;
DRenderText.cpp533 affinity = offset > box->caretMinOffset() ? VP_UPSTREAM_IF_POSSIBLE : DOWNSTREAM; in createPositionWithAffinityForBox()
577 …tToRightDirection() ? rightmostBox->caretMaxOffset() : rightmostBox->caretMinOffset(), shouldAffin… in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi()
608 …box->isLeftToRightDirection() ? leftmostBox->caretMinOffset() : leftmostBox->caretMaxOffset(), sho… in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi()
1607 int RenderText::caretMinOffset() const in caretMinOffset() function in WebCore::RenderText
DRenderReplaced.cpp534 return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); // coordinates are above in positionForPoint()
DRenderObject.h931 virtual int caretMinOffset() const;
DRenderBlock.cpp3270 … return createLegacyEditingPosition(nonPseudoNode(), start ? caretMinOffset() : caretMaxOffset()); in positionForBox()
3273 …gPosition(box->renderer()->nonPseudoNode(), start ? box->renderer()->caretMinOffset() : box->rende… in positionForBox()
3426 return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); in positionForPoint()
3430 return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); in positionForPoint()
DRenderObject.cpp2758 return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); in positionForPoint()
3098 int RenderObject::caretMinOffset() const in caretMinOffset() function in WebCore::RenderObject
DInlineTextBox.cpp1386 int InlineTextBox::caretMinOffset() const in caretMinOffset() function in WebCore::InlineTextBox