Home
last modified time | relevance | path

Searched refs:endPosition (Results 1 – 25 of 37) sorted by relevance

12

/external/webkit/Source/WebCore/rendering/svg/
DSVGTextQuery.cpp142 …nates(Data* queryData, const SVGTextFragment& fragment, int& startPosition, int& endPosition) const in mapStartEndPositionsIntoFragmentCoordinates()
146 endPosition -= queryData->processedCharacters; in mapStartEndPositionsIntoFragmentCoordinates()
148 if (startPosition >= endPosition || startPosition < 0 || endPosition < 0) in mapStartEndPositionsIntoFragmentCoordinates()
151 modifyStartEndPositionsRespectingLigatures(queryData, startPosition, endPosition); in mapStartEndPositionsIntoFragmentCoordinates()
152 …ryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition)) in mapStartEndPositionsIntoFragmentCoordinates()
155 ASSERT(startPosition < endPosition); in mapStartEndPositionsIntoFragmentCoordinates()
159 …fyStartEndPositionsRespectingLigatures(Data* queryData, int& startPosition, int& endPosition) const in modifyStartEndPositionsRespectingLigatures()
196 if (endPosition == static_cast<int>(positionOffset)) in modifyStartEndPositionsRespectingLigatures()
206 …if (alterEndPosition && endPosition > lastPositionOffset && endPosition < static_cast<int>(positio… in modifyStartEndPositionsRespectingLigatures()
207 endPosition = positionOffset; in modifyStartEndPositionsRespectingLigatures()
[all …]
DSVGInlineTextBox.cpp88 …orTextFragment(const SVGTextFragment& fragment, int startPosition, int endPosition, RenderStyle* s… in selectionRectForTextFragment() argument
90 ASSERT(startPosition < endPosition); in selectionRectForTextFragment()
107 …TextRun(style, fragment), textOrigin, fragment.height * scalingFactor, startPosition, endPosition); in selectionRectForTextFragment()
115 IntRect SVGInlineTextBox::selectionRect(int, int, int startPosition, int endPosition) in selectionRect() argument
119 endPosition = min(endPosition - boxStart, static_cast<int>(len())); in selectionRect()
120 if (startPosition >= endPosition) in selectionRect()
139 fragmentEndPosition = endPosition; in selectionRect()
213 int startPosition, endPosition; in paintSelectionBackground() local
214 selectionStartEnd(startPosition, endPosition); in paintSelectionBackground()
225 fragmentEndPosition = endPosition; in paintSelectionBackground()
[all …]
DSVGInlineTextBox.h50 virtual IntRect selectionRect(int absx, int absy, int startPosition, int endPosition);
52 …sitionsIntoFragmentCoordinates(const SVGTextFragment&, int& startPosition, int& endPosition) const;
77 …phicsContext*, RenderStyle*, TextRun&, const SVGTextFragment&, int startPosition, int endPosition);
DSVGTextQuery.h55 …IntoFragmentCoordinates(Data*, const SVGTextFragment&, int& startPosition, int& endPosition) const;
56 …void modifyStartEndPositionsRespectingLigatures(Data*, int& startPosition, int& endPosition) const;
/external/webkit/Source/WebCore/editing/
DInsertTextCommand.cpp90 Position endPosition(start.containerNode(), start.offsetInContainerNode() + text.length()); in performTrivialReplace() local
96 forcedEndingSelection.setWithoutValidation(start, endPosition); in performTrivialReplace()
153 Position endPosition; in input() local
156 endPosition = insertTab(startPosition); in input()
157 startPosition = endPosition.previous(); in input()
172endPosition = Position(textNode, offset + text.length(), Position::PositionIsOffsetInAnchor); in input()
176 rebalanceWhitespaceAt(endPosition); in input()
182 if (canRebalance(startPosition) && canRebalance(endPosition)) in input()
183 …espaceOnTextSubstring(textNode, startPosition.offsetInContainerNode(), endPosition.offsetInContain… in input()
191 forcedEndingSelection.setWithoutValidation(startPosition, endPosition); in input()
[all …]
DApplyStyleCommand.cpp197 Position ApplyStyleCommand::endPosition() in endPosition() function in WebCore::ApplyStyleCommand
241 Position end = endPosition(); in applyBlockStyle()
304 Position end = endPosition(); in applyRelativeFontStyleChange()
315 end = endPosition(); in applyRelativeFontStyleChange()
320 end = endPosition(); in applyRelativeFontStyleChange()
327 end = endPosition(); in applyRelativeFontStyleChange()
333 end = endPosition(); in applyRelativeFontStyleChange()
542 Position end = endPosition(); in applyInlineStyle()
557 end = endPosition(); in applyInlineStyle()
569 end = endPosition(); in applyInlineStyle()
[all …]
DTextCheckingHelper.cpp44 setEnd(paragraphRange.get(), endOfParagraph(range->endPosition())); in expandToParagraphBoundary()
260 if (inSameParagraph(paragraphRange->startPosition(), m_range->endPosition())) { in findFirstMisspellingOrBadGrammar()
263 …aphRange->startContainer(ec)->document(), paragraphRange->startPosition(), m_range->endPosition()); in findFirstMisspellingOrBadGrammar()
339 VisiblePosition newParagraphStart = startOfNextParagraph(paragraphRange->endPosition()); in findFirstMisspellingOrBadGrammar()
DSpellingCorrectionController.cpp206 …ontainingCorrection.get(), endOfParagraph(m_correctionPanelInfo.rangeToBeReplaced->endPosition())); in applyCorrectionPanelInfo()
258 if (m_correctionPanelInfo.rangeToBeReplaced->endPosition() == caretPosition) { in applyAutocorrectionBeforeTypingIfAppropriate()
264 ASSERT(m_correctionPanelInfo.rangeToBeReplaced->endPosition() == caretPosition); in applyAutocorrectionBeforeTypingIfAppropriate()
DApplyStyleCommand.h119 Position endPosition();
DVisibleSelection.cpp84 , m_extent(range->endPosition()) in VisibleSelection()
238 m_end = charIt.range()->endPosition(); in appendTrailingWhitespace()
DEditor.cpp1485 selection.setWithoutValidation(range->startPosition(), range->endPosition()); in selectComposition()
2307 m_frame->selection()->moveTo(selectionRange->endPosition(), DOWNSTREAM); in markAllMisspellingsAndBadGrammarInRanges()
2773 Position endPosition = VisiblePosition(range->endPosition()).deepEquivalent(); in firstRectForRange() local
2774 if (endPosition.isNull()) in firstRectForRange()
2776 endPosition.getInlineBoxAndOffset(UPSTREAM, endInlineBox, endCaretOffset); in firstRectForRange()
2778 RenderObject* endRenderer = endPosition.deprecatedNode()->renderer(); in firstRectForRange()
DInsertListCommand.cpp215 …ool rangeEndIsInList = visiblePositionAfterNode(listNode.get()) == currentSelection->endPosition(); in doApplyForSingleParagraph()
Dhtmlediting.cpp1070 …isuallySame && comparePositions(positionInParentAfterNode(node), selectedRange->endPosition()) < 0) in isNodeVisiblyContainedWithin()
1073 bool endIsVisuallySame = visiblePositionAfterNode(node) == selectedRange->endPosition(); in isNodeVisiblyContainedWithin()
/external/webkit/Source/WebCore/accessibility/
DAccessibilityObject.cpp203 VisiblePosition endPosition = endOfWord(startPosition); in positionOfLeftWord() local
204 return VisiblePositionRange(startPosition, endPosition); in positionOfLeftWord()
210 VisiblePosition endPosition = endOfWord(startPosition); in positionOfRightWord() local
211 return VisiblePositionRange(startPosition, endPosition); in positionOfRightWord()
268 VisiblePosition endPosition = endOfLine(prevVisiblePos); in leftLineVisiblePositionRange() local
269 return VisiblePositionRange(startPosition, endPosition); in leftLineVisiblePositionRange()
291 VisiblePosition endPosition = endOfLine(nextVisiblePos); in rightLineVisiblePositionRange() local
297 while (endPosition.isNull() && nextVisiblePos.isNotNull()) { in rightLineVisiblePositionRange()
299 endPosition = endOfLine(nextVisiblePos); in rightLineVisiblePositionRange()
302 return VisiblePositionRange(startPosition, endPosition); in rightLineVisiblePositionRange()
[all …]
/external/easymock/src/org/easymock/internal/
DMocksBehavior.java111 int endPosition = position; in addActual() local
123 if (endPosition == behaviorLists.size()) { in addActual()
124 endPosition--; in addActual()
128 StringBuilder errorMessage = new StringBuilder(70 * (endPosition in addActual()
138 for (int i = initialPosition; i <= endPosition; i++) { in addActual()
/external/webkit/Source/WebCore/inspector/front-end/
DScriptFormatter.js67 var endPosition = start.position + scripts[i].length;
68 var end = WebInspector.ScriptFormatter.positionToLocation(lineEndings, endPosition);
69 end.position = endPosition;
/external/webkit/Source/WebCore/rendering/
DRenderTextControl.cpp252 VisiblePosition endPosition; in setSelectionRange() local
254 endPosition = startPosition; in setSelectionRange()
256 endPosition = control->visiblePositionForIndex(end); in setSelectionRange()
260 if (startPosition.isNotNull() && endPosition.isNotNull()) { in setSelectionRange()
261 …ion.deepEquivalent().deprecatedNode()->shadowAncestorNode() == node && endPosition.deepEquivalent(… in setSelectionRange()
263 VisibleSelection newSelection = VisibleSelection(startPosition, endPosition); in setSelectionRange()
DInlineTextBox.cpp1004 int endPosition = min<int>(marker.endOffset - m_start, m_len); in paintSpellingOrGrammarMarker() local
1007 endPosition = min<int>(endPosition, m_truncation); in paintSpellingOrGrammarMarker()
1016 …nclosingIntRect(font.selectionRectForText(run, startPoint, selHeight, startPosition, endPosition)); in paintSpellingOrGrammarMarker()
/external/webkit/Source/WebCore/svg/
DSVGFont.cpp141 … const Vector<SVGGlyphIdentifier::ArabicForm>& chars, unsigned startPosition, unsigned endPosition) in isCompatibleArabicForm() argument
147 Vector<SVGGlyphIdentifier::ArabicForm>::const_iterator end = chars.begin() + endPosition; in isCompatibleArabicForm()
159 … const Vector<SVGGlyphIdentifier::ArabicForm>& chars, unsigned startPosition, unsigned endPosition) in isCompatibleGlyph() argument
209 return isCompatibleArabicForm(identifier, chars, startPosition, endPosition); in isCompatibleGlyph()
/external/webkit/Source/WebCore/page/
DDOMSelection.cpp416 … selection->setSelection(VisibleSelection(r->startPosition(), range->endPosition(), DOWNSTREAM)); in addRange()
429 … selection->setSelection(VisibleSelection(range->startPosition(), r->endPosition(), DOWNSTREAM)); in addRange()
/external/webkit/Source/WebCore/accessibility/mac/
DAccessibilityObjectWrapper.mm663 …mVisiblePositions(AXObjectCache *cache, VisiblePosition startPosition, VisiblePosition endPosition)
666 id endTextMarker = textMarkerForVisiblePosition(cache, endPosition);
670 …erRangeFromVisiblePositions:(VisiblePosition)startPosition endPosition:(VisiblePosition)endPosition
672 … return textMarkerRangeFromVisiblePositions(m_object->axObjectCache(), startPosition, endPosition);
1161 …return [self textMarkerRangeFromVisiblePositions:selection.visibleStart() endPosition:selection.vi…
2496 …rRange:[self textMarkerRangeFromVisiblePositions:visiblePosRange.start endPosition:visiblePosRange…
2567 return [self textMarkerRangeFromVisiblePositions:vpRange.start endPosition:vpRange.end];
2577 return [self textMarkerRangeFromVisiblePositions:vpRange.start endPosition:vpRange.end];
2628 return [self textMarkerRangeFromVisiblePositions:vpRange.start endPosition:vpRange.end];
2644 return [self textMarkerRangeFromVisiblePositions:vpRange.start endPosition:vpRange.end];
[all …]
/external/webkit/Source/WebCore/dom/
DRange.h99 const Position endPosition() const { return m_end.toPosition(); } in endPosition() function
/external/webkit/Source/WebCore/accessibility/gtk/
DAccessibilityObjectWrapperAtk.cpp1636 nodeRangeEnd = selRange->endPosition(); in getSelectionOffsetsForObject()
2630 VisiblePosition endPosition = realObject->selection().visibleEnd(); in objectAndOffsetUnignored() local
2632 if (startPosition == endPosition) in objectAndOffsetUnignored()
2634 else if (!isStartOfLine(endPosition)) { in objectAndOffsetUnignored()
2635 RefPtr<Range> range = makeRange(startPosition, endPosition.previous()); in objectAndOffsetUnignored()
2638 RefPtr<Range> range = makeRange(startPosition, endPosition); in objectAndOffsetUnignored()
/external/webkit/Source/JavaScriptCore/wtf/
DHashTable.h113 … HashTableConstIterator(const HashTableType* table, PointerType position, PointerType endPosition) in HashTableConstIterator() argument
114 : m_position(position), m_endPosition(endPosition) in HashTableConstIterator()
120 …Iterator(const HashTableType* table, PointerType position, PointerType endPosition, HashItemKnownG… in HashTableConstIterator() argument
121 : m_position(position), m_endPosition(endPosition) in HashTableConstIterator()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DDumpRenderTreeSupportQt.cpp580 int endPosition = TextIterator::rangeLength(testRange.get()); in selectedRange() local
582 selectedRange << startPosition << (endPosition - startPosition); in selectedRange()

12