Home
last modified time | relevance | path

Searched refs:startPosition (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextQuery.cpp139 …entCoordinates(Data* queryData, const SVGTextFragment& fragment, int& startPosition, int& endPosit… in mapStartEndPositionsIntoFragmentCoordinates() argument
142 startPosition -= queryData->processedCharacters; in mapStartEndPositionsIntoFragmentCoordinates()
145 if (startPosition >= endPosition || startPosition < 0 || endPosition < 0) in mapStartEndPositionsIntoFragmentCoordinates()
148 modifyStartEndPositionsRespectingLigatures(queryData, startPosition, endPosition); in mapStartEndPositionsIntoFragmentCoordinates()
149 …if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endP… in mapStartEndPositionsIntoFragmentCoordinates()
152 ASSERT(startPosition < endPosition); in mapStartEndPositionsIntoFragmentCoordinates()
156 void SVGTextQuery::modifyStartEndPositionsRespectingLigatures(Data* queryData, int& startPosition, … in modifyStartEndPositionsRespectingLigatures() argument
187 if (startPosition == static_cast<int>(positionOffset)) in modifyStartEndPositionsRespectingLigatures()
196 …if (alterStartPosition && startPosition > lastPositionOffset && startPosition < static_cast<int>(p… in modifyStartEndPositionsRespectingLigatures()
197 startPosition = lastPositionOffset; in modifyStartEndPositionsRespectingLigatures()
[all …]
DSVGInlineTextBox.cpp115 …ox::selectionRectForTextFragment(const SVGTextFragment& fragment, int startPosition, int endPositi… in selectionRectForTextFragment() argument
117 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
147 startPosition = max(startPosition - boxStart, 0); in localSelectionRect()
149 if (startPosition >= endPosition) in localSelectionRect()
167 fragmentStartPosition = startPosition; in localSelectionRect()
228 int startPosition, endPosition; in paintSelectionBackground() local
229 selectionStartEnd(startPosition, endPosition); in paintSelectionBackground()
239 fragmentStartPosition = startPosition; in paintSelectionBackground()
[all …]
DSVGTextQuery.h40 float subStringLength(unsigned startPosition, unsigned length) const;
55 …dPositionsIntoFragmentCoordinates(Data*, const SVGTextFragment&, int& startPosition, int& endPosit…
56 …void modifyStartEndPositionsRespectingLigatures(Data*, int& startPosition, int& endPosition) const;
DSVGInlineTextBox.h47 virtual LayoutRect localSelectionRect(int startPosition, int endPosition);
49 …bool mapStartEndPositionsIntoFragmentCoordinates(const SVGTextFragment&, int& startPosition, int& …
76 …GraphicsContext*, RenderStyle*, TextRun&, const SVGTextFragment&, int startPosition, int endPositi…
/external/chromium_org/third_party/WebKit/Source/core/editing/
DInsertTextCommand.cpp76 void InsertTextCommand::setEndingSelectionWithoutValidation(const Position& startPosition, const Po… in setEndingSelectionWithoutValidation() argument
82 forcedEndingSelection.setWithoutValidation(startPosition, endPosition); in setEndingSelectionWithoutValidation()
153 Position startPosition(endingSelection().start()); in doApply() local
160 Position downstream(startPosition.downstream()); in doApply()
163 VisiblePosition caret(startPosition); in doApply()
172 startPosition = startPosition.upstream(); in doApply()
176 Position positionBeforeStartNode(positionInParentBeforeNode(startPosition.containerNode())); in doApply()
177 deleteInsignificantText(startPosition, startPosition.downstream()); in doApply()
178 if (!startPosition.inDocument()) in doApply()
179 startPosition = positionBeforeStartNode; in doApply()
[all …]
DTextCheckingHelper.cpp104 setStart(paragraphRange.get(), startOfParagraph(range->startPosition())); in expandToParagraphBoundary()
133 …d(paragraphRange().get(), endOfParagraph(startOfNextParagraph(paragraphRange()->startPosition()))); in expandRangeToNextEnd()
185 …e()->startContainer()->document(), paragraphRange()->startPosition(), checkingRange()->startPositi… in offsetAsRange()
310 setStart(paragraphRange.get(), startOfParagraph(m_range->startPosition())); in findFirstMisspellingOrBadGrammar()
312 setEnd(paragraphRange.get(), endOfParagraph(m_range->startPosition())); in findFirstMisspellingOrBadGrammar()
314 …raphRange->startContainer()->document(), paragraphRange->startPosition(), m_range->startPosition()… in findFirstMisspellingOrBadGrammar()
325 if (inSameParagraph(paragraphRange->startPosition(), m_range->endPosition())) { in findFirstMisspellingOrBadGrammar()
328 …:create(paragraphRange->startContainer()->document(), paragraphRange->startPosition(), m_range->en… in findFirstMisspellingOrBadGrammar()
381 …ragraphRange->startContainer()->document(), m_range->startPosition(), paragraphRange->startPositio… in findFirstMisspellingOrBadGrammar()
392 …ragraphRange->startContainer()->document(), m_range->startPosition(), paragraphRange->startPositio… in findFirstMisspellingOrBadGrammar()
DSurroundingText.cpp57 …if (!forwardRange || !Range::create(*document, position, forwardRange->startPosition())->text().le… in SurroundingText()
73 …tentRange = Range::create(*document, backwardsRange->endPosition(), forwardRange->startPosition()); in SurroundingText()
88 Position start = iterator.range()->startPosition(); in rangeFromContentOffsets()
94 Position end = iterator.range()->startPosition(); in rangeFromContentOffsets()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DDecodeEscapeSequences.h43 …size_t findInString(const String& string, size_t startPosition) { return string.find("%u", startPo… in findInString()
44 static size_t findEndOfRun(const String& string, size_t startPosition, size_t endPosition) in findEndOfRun()
46 size_t runEnd = startPosition; in findEndOfRun()
76 …size_t findInString(const String& string, size_t startPosition) { return string.find('%', startPos… in findInString()
77 static size_t findEndOfRun(const String& string, size_t startPosition, size_t endPosition) in findEndOfRun()
84 size_t runEnd = startPosition; in findEndOfRun()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DXSSAuditor.cpp639 size_t startPosition = 0; in decodedSnippetForJavaScript() local
644 while (startPosition < endPosition) { in decodedSnippetForJavaScript()
645 while (startPosition < endPosition && isHTMLSpace<UChar>(string[startPosition])) in decodedSnippetForJavaScript()
646 startPosition++; in decodedSnippetForJavaScript()
656 …if (startsHTMLCommentAt(string, startPosition) || startsSingleLineCommentAt(string, startPosition)… in decodedSnippetForJavaScript()
657 while (startPosition < endPosition && !isJSNewline(string[startPosition])) in decodedSnippetForJavaScript()
658 startPosition++; in decodedSnippetForJavaScript()
659 } else if (startsMultiLineCommentAt(string, startPosition)) { in decodedSnippetForJavaScript()
660 …if (startPosition + 2 < endPosition && (foundPosition = string.find("*/", startPosition + 2)) != k… in decodedSnippetForJavaScript()
661 startPosition = foundPosition + 2; in decodedSnippetForJavaScript()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DCSSFormatter.js101 var startPosition = (startLine ? this._lineEndings[startLine - 1] : 0) + startColumn;
109 this._builder.addToken(token, startPosition, startLine, startColumn);
117 this._builder.addToken(token, startPosition, startLine, startColumn);
123 this._builder.addToken(token, startPosition, startLine, startColumn);
172 addToken: function(token, startPosition, startLine, startColumn) argument
197 this._addMappingIfNeeded(startPosition);
DHeapSnapshotGridNodes.js232 var itemPosition = items.startPosition;
236 if (items.startPosition > 0) {
238 insertShowMoreButton.call(this, 0, items.startPosition, insertionIndex++);
240 … this._retrievedChildrenRanges.push({from: items.startPosition, to: items.endPosition});
262 if (!found || items.startPosition < range.from) {
264 this.children[insertionIndex - 1].setEndPosition(items.startPosition);
265 …insertShowMoreButton.call(this, items.startPosition, found ? range.from : items.totalLength, inser…
266 range = {from: items.startPosition, to: items.startPosition};
948 addedItems.startPosition = this._addedCount + items.startPosition;
DShowMoreDataGridNode.js39 WebInspector.ShowMoreDataGridNode = function(callback, startPosition, endPosition, chunkSize) argument
43 this._startPosition = startPosition;
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DImageLoader.java64 public Image loadImage(BlenderInputStream inputStream, int startPosition, boolean flipY) { in loadImage() argument
66 inputStream.setPosition(startPosition); in loadImage()
70 inputStream.setPosition(startPosition); in loadImage()
75 inputStream.setPosition(startPosition); in loadImage()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DScriptSourceCode.h47 …e(const String& source, const KURL& url = KURL(), const TextPosition& startPosition = TextPosition…
51 , m_startPosition(startPosition) in m_source()
80 const TextPosition& startPosition() const { return m_startPosition; } in startPosition() function
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DMediaDataBox.java60 private long startPosition; field in MediaDataBox
99 …transfer(fileChannel, startPosition - header.limit(), contentSize + header.limit(), writableByteCh… in getBox()
117 fileChannel.position(startPosition - header.limit()); in checkStillOk()
144 this.startPosition = ((FileChannel) readableByteChannel).position(); in parse()
170 …cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFE… in getContent()
/external/chromium_org/chrome/browser/resources/net_internals/
Dcros_log_visualizer.js235 var startPosition = this.getPosition(event.time);
236 if (startPosition != this.old) {
237 this.old = startPosition;
239 ctx.rect(startPosition, 0, 2, LOG_VISUALIZER_CANVAS_HEIGHT);
Dsource_filter_parser.js148 var startPosition = position;
167 } else if (nextCharacter == '-' && startPosition == position - 1) {
180 original: filterText.substring(startPosition, position),
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderMediaControls.cpp141 …ntRect& rect, const RenderStyle* style, GraphicsContext* context, int startPosition, int endPositi… in paintSliderRangeHighlight() argument
149 int startOffset = startPosition; in paintSliderRangeHighlight()
151 int rangeWidth = endPosition - startPosition; in paintSliderRangeHighlight()
160 startPosition -= borderRadius - rangeWidth; in paintSliderRangeHighlight()
223 int startPosition = int(start * rect.width() / duration); in paintMediaSlider() local
235 if (currentPosition > startPosition) in paintMediaSlider()
236 …paintSliderRangeHighlight(rect, style, context, startPosition, currentPosition, startColor, endCol… in paintMediaSlider()
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/
DPositionTrack.java30 private Vector3f startPosition; field in PositionTrack
81 startPosition = spatial.getWorldTranslation().clone(); in onPlay()
93 Vector3f pos = FastMath.interpolateLinear(value, startPosition, endPosition); in onUpdate()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DStyleElement.cpp141 …TextPosition startPosition = m_startPosition == TextPosition::belowRangePosition() ? TextPosition:… in createSheet() local
142 … m_sheet = CSSStyleSheet::createInline(e, KURL(), startPosition, document.inputEncoding()); in createSheet()
145 m_sheet->contents()->parseStringAtPosition(text, startPosition, m_createdByParser); in createSheet()
/external/icu4c/layout/
DLigatureSubstSubtables.cpp30 le_int32 startPosition = glyphIterator->getCurrStreamPosition(); in process() local
60 glyphIterator->setCurrStreamPosition(startPosition); in process()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DSVGGlyph.cpp113 …lyph& identifier, const Vector<SVGGlyph::ArabicForm>& chars, unsigned startPosition, unsigned endP… in isCompatibleArabicForm() argument
119 Vector<SVGGlyph::ArabicForm>::const_iterator it = chars.begin() + startPosition; in isCompatibleArabicForm()
136 … const Vector<SVGGlyph::ArabicForm>& chars, unsigned startPosition, unsigned endPosition) in isCompatibleGlyph() argument
186 return isCompatibleArabicForm(identifier, chars, startPosition, endPosition); in isCompatibleGlyph()
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
DByteArrayInput.java285 int startPosition = cursor; in realNullTerminatedUtf8String() local
289 int byteCount = cursor - startPosition; in realNullTerminatedUtf8String()
294 return Utf8Utils.utf8BytesToString(data, startPosition, byteCount); in realNullTerminatedUtf8String()
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
DVTTParser.cpp50 unsigned startPosition = *position; in scanDigits() local
53 return *position - startPosition; in scanDigits()
58 unsigned startPosition = *position; in collectDigitsToInt() local
66 number = charactersToInt(input.characters8() + startPosition, numDigits, &validNumber); in collectDigitsToInt()
68 number = charactersToInt(input.characters16() + startPosition, numDigits, &validNumber); in collectDigitsToInt()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSStyleSheet.cpp84 …reateInline(Node* ownerNode, const KURL& baseURL, const TextPosition& startPosition, const String&… in createInline() argument
88 return adoptRef(new CSSStyleSheet(sheet.release(), ownerNode, true, startPosition)); in createInline()
102 …eetContents> contents, Node* ownerNode, bool isInlineStylesheet, const TextPosition& startPosition) in CSSStyleSheet() argument
108 , m_startPosition(startPosition) in CSSStyleSheet()

123