Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextQuery.cpp135 …nates(Data* queryData, const SVGTextFragment& fragment, int& startPosition, int& endPosition) const in mapStartEndPositionsIntoFragmentCoordinates()
139 endPosition -= queryData->processedCharacters; in mapStartEndPositionsIntoFragmentCoordinates()
148 endPosition = std::min(endPosition, fragmentEndInBox); in mapStartEndPositionsIntoFragmentCoordinates()
150 if (startPosition >= endPosition) in mapStartEndPositionsIntoFragmentCoordinates()
153 modifyStartEndPositionsRespectingLigatures(queryData, fragment, startPosition, endPosition); in mapStartEndPositionsIntoFragmentCoordinates()
154 …ryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition)) in mapStartEndPositionsIntoFragmentCoordinates()
157 ASSERT(startPosition < endPosition); in mapStartEndPositionsIntoFragmentCoordinates()
161 …tures(Data* queryData, const SVGTextFragment& fragment, int& startPosition, int& endPosition) const in modifyStartEndPositionsRespectingLigatures()
189 if (fragmentOffsetInBox >= endPosition) in modifyStartEndPositionsRespectingLigatures()
194 endPosition = fragmentOffsetInBox; in modifyStartEndPositionsRespectingLigatures()
[all …]
DSVGInlineTextBox.cpp116 …orTextFragment(const SVGTextFragment& fragment, int startPosition, int endPosition, RenderStyle* s… in selectionRectForTextFragment() argument
118 ASSERT(startPosition < endPosition); in selectionRectForTextFragment()
136 …TextRun(style, fragment), textOrigin, fragment.height * scalingFactor, startPosition, endPosition); in selectionRectForTextFragment()
144 LayoutRect SVGInlineTextBox::localSelectionRect(int startPosition, int endPosition) in localSelectionRect() argument
148 endPosition = std::min(endPosition - boxStart, static_cast<int>(len())); in localSelectionRect()
149 if (startPosition >= endPosition) in localSelectionRect()
165 fragmentEndPosition = endPosition; in localSelectionRect()
215 int startPosition, endPosition; in paintSelectionBackground() local
216 selectionStartEnd(startPosition, endPosition); in paintSelectionBackground()
226 fragmentEndPosition = endPosition; in paintSelectionBackground()
[all …]
DSVGInlineTextBox.h45 virtual LayoutRect localSelectionRect(int startPosition, int endPosition) OVERRIDE;
47 …sitionsIntoFragmentCoordinates(const SVGTextFragment&, int& startPosition, int& endPosition) const;
70 int startPosition, int endPosition, RenderSVGResourceModeFlags);
DSVGTextQuery.h55 …IntoFragmentCoordinates(Data*, const SVGTextFragment&, int& startPosition, int& endPosition) const;
56 …ionsRespectingLigatures(Data*, const SVGTextFragment&, int& startPosition, int& endPosition) const;
/external/chromium_org/third_party/WebKit/Source/core/editing/
DInsertTextCommand.cpp68 …nd::setEndingSelectionWithoutValidation(const Position& startPosition, const Position& endPosition) in setEndingSelectionWithoutValidation() argument
74 forcedEndingSelection.setWithoutValidation(startPosition, endPosition); in setEndingSelectionWithoutValidation()
90 Position endPosition = replaceSelectedTextInNode(text); in performTrivialReplace() local
91 if (endPosition.isNull()) in performTrivialReplace()
94 setEndingSelectionWithoutValidation(start, endPosition); in performTrivialReplace()
114 …Position endPosition = Position(textNode.release(), start.offsetInContainerNode() + text.length()); in performOverwrite() local
115 setEndingSelectionWithoutValidation(start, endPosition); in performOverwrite()
183 Position endPosition; in doApply() local
186 endPosition = insertTab(startPosition); in doApply()
187 startPosition = endPosition.previous(); in doApply()
[all …]
DSurroundingText.cpp46 initialize(range.startPosition(), range.endPosition(), maxLength); in SurroundingText()
56 void SurroundingText::initialize(const Position& startPosition, const Position& endPosition, unsign… in initialize() argument
58 ASSERT(startPosition.document() == endPosition.document()); in initialize()
70 …RefPtrWillBeRawPtr<Range> forwardRange = Range::create(*document, endPosition, lastPositionInNode(… in initialize()
77 …if (!forwardRange || !Range::create(*document, endPosition, forwardRange->startPosition())->text()… in initialize()
90 …m_startOffsetInContent = Range::create(*document, backwardsIterator.endPosition(), startPosition)-… in initialize()
91 …m_endOffsetInContent = Range::create(*document, backwardsIterator.endPosition(), endPosition)->tex… in initialize()
92 …m_contentRange = Range::create(*document, backwardsIterator.endPosition(), forwardRange->startPosi… in initialize()
DTextIterator.h120 Position endPosition() const;
263 Position endPosition() const;
350 Position endPosition() const;
372 Position endPosition() const;
DApplyStyleCommand.cpp202 Position ApplyStyleCommand::endPosition() in endPosition() function in blink::ApplyStyleCommand
246 Position end = endPosition(); in applyBlockStyle()
316 Position end = endPosition(); in applyRelativeFontStyleChange()
327 end = endPosition(); in applyRelativeFontStyleChange()
336 end = endPosition(); in applyRelativeFontStyleChange()
346 end = endPosition(); in applyRelativeFontStyleChange()
352 end = endPosition(); in applyRelativeFontStyleChange()
566 Position end = endPosition(); in applyInlineStyle()
585 end = endPosition(); in applyInlineStyle()
597 end = endPosition(); in applyInlineStyle()
[all …]
DInsertTextCommand.h56 …id setEndingSelectionWithoutValidation(const Position& startPosition, const Position& endPosition);
DTextIterator.cpp271 initialize(range->startPosition(), range->endPosition()); in TextIterator()
1264 Position TextIterator::endPosition() const in endPosition() function in blink::TextIterator
1613 Position SimplifiedBackwardsTextIterator::endPosition() const in endPosition() function in blink::SimplifiedBackwardsTextIterator
1711 Position CharacterIterator::endPosition() const in endPosition() function in blink::CharacterIterator
1721 return m_textIterator.endPosition(); in endPosition()
1769 …ange(CharacterIterator& it, int offset, int length, Position& startPosition, Position& endPosition) in calculateCharacterSubrange() argument
1776 endPosition = it.endPosition(); in calculateCharacterSubrange()
1799 Position BackwardsCharacterIterator::endPosition() const in endPosition() function in blink::BackwardsCharacterIterator
1808 return m_textIterator.endPosition(); in endPosition()
DPlainTextRange.cpp98 textRunEndPosition = it.endPosition(); in createRangeFor()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DDecodeEscapeSequences.h44 static size_t findEndOfRun(const String& string, size_t startPosition, size_t endPosition) in findEndOfRun()
47 … while (endPosition - runEnd >= sequenceSize && string[runEnd] == '%' && string[runEnd + 1] == 'u' in findEndOfRun()
77 static size_t findEndOfRun(const String& string, size_t startPosition, size_t endPosition) in findEndOfRun()
86 while (runEnd < endPosition) { in findEndOfRun()
88 …if (endPosition - runEnd >= sequenceSize && isASCIIHexDigit(string[runEnd + 1]) && isASCIIHexDigit… in findEndOfRun()
/external/chromium_org/third_party/angle/samples/angle/particle_system/
DParticleSystem.cpp103 mParticles[i].endPosition.x = sinf(endAngle) * endRadius; in initialize()
104 mParticles[i].endPosition.y = cosf(endAngle) * endRadius; in initialize()
105 mParticles[i].endPosition.z = 0.0f; in initialize()
176 …ttribPointer(mEndPositionLoc, 3, GL_FLOAT, GL_FALSE, sizeof(Particle), &mParticles[0].endPosition); in draw()
220 Vector3 endPosition; member
/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/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
DHeapSnapshotGridNodes.js94 serializeItemsRange: function(startPosition, endPosition, callback) { }, argument
353 … this._retrievedChildrenRanges.push({from: itemsRange.startPosition, to: itemsRange.endPosition});
356 if (itemsRange.endPosition < itemsRange.totalLength)
357 … insertShowMoreButton.call(this, itemsRange.endPosition, itemsRange.totalLength, insertionIndex++);
390 while (range.to < itemsRange.endPosition) {
400 if (newEndOfRange > itemsRange.endPosition)
401 newEndOfRange = itemsRange.endPosition;
418 … this.allChildren()[insertionIndex].setStartPosition(itemsRange.endPosition);
1215 serializeItemsRange: function(beginPosition, endPosition, callback) argument
1241 addedItems.endPosition = this._addedCount + itemsRange.endPosition;
[all …]
DHeapSnapshotCommon.js273 WebInspector.HeapSnapshotCommon.ItemsRange = function(startPosition, endPosition, totalLength, item… argument
278 this.endPosition = endPosition;
DHeapSnapshotProxy.js520 serializeItemsRange: function(startPosition, endPosition, callback) argument
522 this.callMethod(callback, "serializeItemsRange", startPosition, endPosition);
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextFormControlElement.cpp368 Position endPosition = start == end ? startPosition : positionForIndex(innerEditor, end); in setSelectionRange() local
371 ASSERT(end == indexForPosition(innerEditor, endPosition)); in setSelectionRange()
375 if (startPosition.isNotNull() && endPosition.isNotNull()) { in setSelectionRange()
377 && endPosition.anchorNode()->shadowHost() == this); in setSelectionRange()
381 newSelection.setWithoutValidation(endPosition, startPosition); in setSelectionRange()
383 newSelection.setWithoutValidation(startPosition, endPosition); in setSelectionRange()
399 return VisiblePosition(it.endPosition(), UPSTREAM); in visiblePositionForIndex()
765 …MLElement* innerEditor, const Position& startPosition, const Position& endPosition, FindOption fin… in findWordBoundary() argument
773 if (endPosition.anchorNode()->isTextNode()) in findWordBoundary()
774 ASSERT(endPosition.anchorType() == Position::PositionIsOffsetInAnchor); in findWordBoundary()
[all …]
/external/chromium_org/third_party/polymer/components-chromium/paper-ripple/
Dpaper-ripple-extracted.js213 wave.endPosition = {x: width / 2, y: height / 2};
214 wave.slideDistance = dist(wave.startPosition, wave.endPosition);
288 if (wave.endPosition) {
293 x += translateFraction * (wave.endPosition.x - wave.startPosition.x);
294 y += translateFraction * (wave.endPosition.y - wave.startPosition.y);
Draw-extracted.js232 if (wave.endPosition) {
239 x += translateFraction * (wave.endPosition.x - wave.startPosition.x);
240 y += translateFraction * (wave.endPosition.y - wave.startPosition.y);
300 wave.endPosition = {x: width / 2, y: height / 2};
301 wave.slideDistance = dist(wave.startPosition, wave.endPosition);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DSVGGlyph.cpp113 …dentifier, const Vector<SVGGlyph::ArabicForm>& chars, unsigned startPosition, unsigned endPosition) in isCompatibleArabicForm() argument
123 Vector<SVGGlyph::ArabicForm>::const_iterator end = chars.begin() + endPosition; in isCompatibleArabicForm()
136 … const Vector<SVGGlyph::ArabicForm>& chars, unsigned startPosition, unsigned endPosition) in isCompatibleGlyph() argument
186 return isCompatibleArabicForm(identifier, chars, startPosition, endPosition); in isCompatibleGlyph()
DSVGGlyph.h109 …ring& language, const Vector<SVGGlyph::ArabicForm>&, unsigned startPosition, unsigned endPosition);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderMediaControls.cpp139 …t RenderStyle* style, GraphicsContext* context, int startPosition, int endPosition, Color startCol… in paintSliderRangeHighlight() argument
148 int endOffset = rect.width() - endPosition; in paintSliderRangeHighlight()
149 int rangeWidth = endPosition - startPosition; in paintSliderRangeHighlight()
221 int endPosition = int(end * rect.width() / duration); in paintMediaSlider() local
238 if (endPosition > currentPosition) in paintMediaSlider()
239 …paintSliderRangeHighlight(rect, style, context, currentPosition, endPosition, startColor, endColor… in paintMediaSlider()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DShowMoreDataGridNode.js39 WebInspector.ShowMoreDataGridNode = function(callback, startPosition, endPosition, chunkSize) argument
44 this._endPosition = endPosition;
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DXSSAuditor.cpp706 size_t endPosition = string.length(); in canonicalizedSnippetForJavaScript() local
711 while (startPosition < endPosition) { in canonicalizedSnippetForJavaScript()
712 while (startPosition < endPosition && isHTMLSpace<UChar>(string[startPosition])) in canonicalizedSnippetForJavaScript()
724 while (startPosition < endPosition && !isJSNewline(string[startPosition])) in canonicalizedSnippetForJavaScript()
727 …if (startPosition + 2 < endPosition && (foundPosition = string.find("*/", startPosition + 2)) != k… in canonicalizedSnippetForJavaScript()
730 startPosition = endPosition; in canonicalizedSnippetForJavaScript()
736 while (startPosition < endPosition && !result.length()) { in canonicalizedSnippetForJavaScript()
741 for (foundPosition = startPosition; foundPosition < endPosition; foundPosition++) { in canonicalizedSnippetForJavaScript()

12