Home
last modified time | relevance | path

Searched refs:caretMaxOffset (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisiblePosition.cpp157 int caretMaxOffset = box->caretMaxOffset(); 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()
322 int caretMaxOffset = box->caretMaxOffset(); 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()
DDeleteSelectionCommand.cpp464 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { in handleGeneralDelete()
466 if (text->length() > (unsigned)caretMaxOffset(startNode)) in handleGeneralDelete()
467 … deleteTextFromNode(text, caretMaxOffset(startNode), text->length() - caretMaxOffset(startNode)); in handleGeneralDelete()
528 …reamEnd.deprecatedNode() == n && m_downstreamEnd.deprecatedEditingOffset() >= caretMaxOffset(&n)) { in handleGeneralDelete()
DInsertLineBreakCommand.cpp137 …} else if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.deprecatedNode()) || !pos.deprecate… in doApply()
Dhtmlediting.h78 int caretMaxOffset(const Node*);
DApplyStyleCommand.cpp361 …if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Mo… in applyRelativeFontStyleChange()
677 if (start.deprecatedEditingOffset() >= caretMaxOffset(start.deprecatedNode())) { in fixRangeAndApplyInlineStyle()
684 if (end.deprecatedEditingOffset() >= caretMaxOffset(end.deprecatedNode())) in fixRangeAndApplyInlineStyle()
1257 return offsetInText > caretMinOffset(node) && offsetInText < caretMaxOffset(node); in isValidCaretPositionInTextNode()
DInsertParagraphSeparatorCommand.cpp397 … if (splitTo->isTextNode() && insertionPosition.offsetInContainerNode() >= caretMaxOffset(splitTo)) in doApply()
DVisibleUnits.cpp93 createLegacyEditingPosition(previousNode, caretMaxOffset(previousNode)); in previousRootInlineBoxCandidatePosition()
384 else if (offsetInBox == box->caretMaxOffset()) in visualWordPosition()
1230 offset = r->caretMaxOffset(); in endOfParagraph()
Dhtmlediting.cpp982 int caretMaxOffset(const Node* n) in caretMaxOffset() function
986 return n->renderer()->caretMaxOffset(); in caretMaxOffset()
DCompositeEditCommand.cpp375 else if (refChild->isTextNode() && caretMaxOffset(refChild) > offset) { in insertNodeAt()
573 if (pos.offsetInContainerNode() >= caretMaxOffset(pos.containerNode())) in positionOutsideTabSpan()
DTextIterator.cpp924 int offset = caretMaxOffset(node); in maxOffsetIncludingCollapsedSpaces()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPosition.cpp592 …itionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.g… in upstream()
652 return createLegacyEditingPosition(currentNode, renderer->caretMaxOffset()); in upstream()
715 …itionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.g… in downstream()
1023 …"node min/max: %d:%d\n", caretMinOffset(deprecatedNode()), caretMaxOffset(deprecatedNode… in rendersInDifferentPosition()
1024 … node min/max: %d:%d\n", caretMinOffset(pos.deprecatedNode()), caretMaxOffset(pos.deprecated… in rendersInDifferentPosition()
1036 && thisRenderedOffset == caretMaxOffset(deprecatedNode()) && !posRenderedOffset) { in rendersInDifferentPosition()
1041 && !thisRenderedOffset && posRenderedOffset == caretMaxOffset(pos.deprecatedNode())) { in rendersInDifferentPosition()
1172 …ineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxOffset())) in getInlineBoxAndOffset()
1183 int caretMaxOffset = box->caretMaxOffset(); in getInlineBoxAndOffset() local
1185 …if (caretOffset < caretMinOffset || caretOffset > caretMaxOffset || (caretOffset == caretMaxOffset in getInlineBoxAndOffset()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBR.cpp71 int RenderBR::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderBR
DRenderBR.h52 virtual int caretMaxOffset() const;
DInlineBox.h245 virtual int caretMaxOffset() const;
251 …etLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOffset(); } in caretLeftmostOffset()
252 …int caretRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOf… in caretRightmostOffset()
DInlineBox.cpp153 int InlineBox::caretMaxOffset() const in caretMaxOffset() function in WebCore::InlineBox
155 return m_renderer->caretMaxOffset(); in caretMaxOffset()
DInlineTextBox.h154 virtual int caretMaxOffset() const OVERRIDE FINAL;
DRenderText.h124 virtual int caretMaxOffset() const;
DRenderText.cpp577 …box->isLeftToRightDirection() ? rightmostBox->caretMaxOffset() : rightmostBox->caretMinOffset(), s… in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi()
608 …eftToRightDirection() ? leftmostBox->caretMinOffset() : leftmostBox->caretMaxOffset(), shouldAffin… in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi()
1618 int RenderText::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderText
DRenderReplaced.cpp537 return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); // coordinates are below in positionForPoint()
DRenderObject.h932 virtual int caretMaxOffset() const;
DRenderBlock.cpp3270 … return createLegacyEditingPosition(nonPseudoNode(), start ? caretMinOffset() : caretMaxOffset()); in positionForBox()
3273 …)->nonPseudoNode(), start ? box->renderer()->caretMinOffset() : box->renderer()->caretMaxOffset()); in positionForBox()
3428 return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); in positionForPoint()
3432 return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); in positionForPoint()
DInlineTextBox.cpp1391 int InlineTextBox::caretMaxOffset() const in caretMaxOffset() function in WebCore::InlineTextBox
DRenderObject.cpp3103 int RenderObject::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderObject
/external/chromium_org/third_party/WebKit/Source/core/page/
DDOMSelection.cpp355 … if (offset > (node->offsetInCharacters() ? caretMaxOffset(node) : (int)node->childNodeCount())) { in extend()