Home
last modified time | relevance | path

Searched refs:runIndex (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/experimental/sktext/src/
DLine.cpp32 auto start = stretch.glyphStart().runIndex(); in Line()
33 auto end = spaces.glyphEnd().runIndex(); in Line()
37 for (auto runIndex = start; runIndex <= end; ++runIndex) { in Line() local
38 auto& run = processor->run(runIndex); in Line()
DWrapper.cpp51 for (size_t runIndex = 0; runIndex < fProcessor->fRuns.size(); ++runIndex ) { in breakTextIntoLines() local
53 auto& run = fProcessor->fRuns[runIndex]; in breakTextIntoLines()
64 cluster = Stretch(GlyphPos(runIndex, glyphIndex), textIndex, runMetrics); in breakTextIntoLines()
69 SkASSERT(cluster.glyphStart().runIndex() == runIndex); in breakTextIntoLines()
126 cluster = Stretch(GlyphPos(runIndex, glyphIndex), textIndex, runMetrics); in breakTextIntoLines()
DProcessor.cpp212 for (auto& runIndex : line.fRunsInVisualOrder) { in iterateByVisualOrder() local
213 auto& run = fRuns[runIndex]; in iterateByVisualOrder()
215 … auto startGlyph = runIndex == line.fTextStart.runIndex() ? line.fTextStart.glyphIndex() : 0; in iterateByVisualOrder()
216 …auto endGlyph = runIndex == line.fTextEnd.runIndex() ? line.fTextEnd.glyphIndex() : run.fGlyphs.si… in iterateByVisualOrder()
252 for (auto& runIndex : line.fRunsInVisualOrder) { in iterateByVisualOrder() local
253 auto& run = fRuns[runIndex]; in iterateByVisualOrder()
260 … auto startGlyph = runIndex == line.fTextStart.runIndex() ? line.fTextStart.glyphIndex() : 0; in iterateByVisualOrder()
261 …auto endGlyph = runIndex == line.fTextEnd.runIndex() ? line.fTextEnd.glyphIndex() : run.fGlyphs.si… in iterateByVisualOrder()
DLine.h62 GlyphPos(size_t runIndex, size_t glyphIndex) : fRunIndex(runIndex), fGlyphIndex(glyphIndex) { } in GlyphPos() argument
68 size_t runIndex() const { return fRunIndex; } in runIndex() function
133 SkASSERT(this->fGlyphEnd.runIndex() != tail.fGlyphStart.runIndex() || in moveTo()
/external/skia/tests/
DGlyphRunTest.cpp51 int runIndex = 0;
57 if (p.x() != runIndex * count + index) {
58 ERRORF(reporter, "x: %g != k: %d", p.x(), runIndex * count + index);
64 runIndex += 1;
/external/icu/icu4c/source/common/
Dubidiln.cpp363 ubidi_getVisualRun(UBiDi *pBiDi, int32_t runIndex, in ubidi_getVisualRun() argument
373 RETURN_IF_BAD_RANGE(runIndex, 0, pBiDi->runCount, errorCode, UBIDI_LTR); in ubidi_getVisualRun()
375 start=pBiDi->runs[runIndex].logicalStart; in ubidi_getVisualRun()
380 if(runIndex>0) { in ubidi_getVisualRun()
381 *pLength=pBiDi->runs[runIndex].visualLimit- in ubidi_getVisualRun()
382 pBiDi->runs[runIndex-1].visualLimit; in ubidi_getVisualRun()
599 int32_t runIndex, start; in ubidi_getRuns() local
620 runIndex=0; in ubidi_getRuns()
639 runs[runIndex].logicalStart=start; in ubidi_getRuns()
640 runs[runIndex].visualLimit=i-start; in ubidi_getRuns()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java305 static BidiRun getVisualRun(Bidi bidi, int runIndex) in getVisualRun() argument
307 int start = bidi.runs[runIndex].start; in getVisualRun()
309 byte level = bidi.runs[runIndex].level; in getVisualRun()
311 if (runIndex > 0) { in getVisualRun()
313 bidi.runs[runIndex].limit - in getVisualRun()
314 bidi.runs[runIndex - 1].limit; in getVisualRun()
529 int runIndex, start; in getRuns() local
548 runIndex = 0; in getRuns()
567 runs[runIndex] = new BidiRun(start, i - start, level); in getRuns()
568 ++runIndex; in getRuns()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java304 static BidiRun getVisualRun(Bidi bidi, int runIndex) in getVisualRun() argument
306 int start = bidi.runs[runIndex].start; in getVisualRun()
308 byte level = bidi.runs[runIndex].level; in getVisualRun()
310 if (runIndex > 0) { in getVisualRun()
312 bidi.runs[runIndex].limit - in getVisualRun()
313 bidi.runs[runIndex - 1].limit; in getVisualRun()
528 int runIndex, start; in getRuns() local
547 runIndex = 0; in getRuns()
566 runs[runIndex] = new BidiRun(start, i - start, level); in getRuns()
567 ++runIndex; in getRuns()
[all …]
/external/skqp/tests/
DGlyphRunTest.cpp78 int runIndex = 0;
84 if (p.x() != runIndex * count + index) {
85 ERRORF(reporter, "x: %g != k: %d", p.x(), runIndex * count + index);
91 runIndex += 1;
/external/skqp/src/gpu/text/
DGrTextBlob.cpp230 for (int runIndex = 0; runIndex <= lastRun; runIndex++) { in flush() local
232 Run& run = fRuns[runIndex]; in flush()
340 this->computeSubRunBounds(&subRunBounds, runIndex, subRun, viewMatrix, x, y, in flush()
354 auto op = this->makeOp(info, glyphCount, runIndex, subRun, viewMatrix, x, y, in flush()
DGrTextBlob.h176 void computeSubRunBounds(SkRect* outBounds, int runIndex, int subRunIndex, in computeSubRunBounds() argument
184 const Run& run = fRuns[runIndex]; in computeSubRunBounds()
/external/skia/modules/skparagraph/src/
DTextLine.cpp113 size_t numRuns = end.runIndex() - start.runIndex() + 1; in TextLine()
137 for (auto runIndex = start.runIndex(); runIndex <= end.runIndex(); ++runIndex) { in TextLine() local
138 auto& run = fOwner->run(runIndex); in TextLine()
149 auto firstRunIndex = start.runIndex(); in TextLine()
851 for (auto& runIndex : fRunsInVisualOrder) { in iterateThroughVisualRuns() local
853 const auto run = &this->fOwner->run(runIndex); in iterateThroughVisualRuns()
DParagraphImpl.h172 Run& run(RunIndex runIndex) {
173 SkASSERT(runIndex < fRuns.size());
174 return fRuns[runIndex];
DParagraphImpl.cpp327 RunIndex runIndex, in Cluster() argument
334 , fRunIndex(runIndex) in Cluster()
394 auto runIndex = run.index(); in buildClusterTable() local
402 …fClusters.emplace_back(this, runIndex, 0ul, 1ul, this->text(run.textRange()), run.advance().fX, ru… in buildClusterTable()
407 run.iterateThroughClustersInTextOrder([runIndex, this](size_t glyphStart, in buildClusterTable()
419 fClusters.emplace_back(this, runIndex, glyphStart, glyphEnd, text, width, height); in buildClusterTable()
DRun.h273 RunIndex runIndex,
312 RunIndex runIndex() const { return fRunIndex; } in runIndex() function
/external/owasp/sanitizer/empiricism/
Dhtml-containment.js29 var runIndex = 0;
64 ++runIndex;
68 var ratio = runIndex / nRuns;
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp752 int runIndex = glyphIterator.fRunIndex; in shape() local
756 if (previousRunIndex != runIndex) { in shape()
758 runs[runIndex].fFont.getMetrics(&metrics); in shape()
762 previousRunIndex = runIndex; in shape()
772 int numRuns = runIndex - previousBreak.fRunIndex + 1; in shape()
786 int endGlyphIndex = (logicalIndex == runIndex) in shape()
/external/icu/icu4c/source/layoutex/
Dplayout.cpp213 pl_getLineVisualRun(const pl_line *line, le_int32 runIndex) in pl_getLineVisualRun() argument
221 return (pl_visualRun *) ll->getVisualRun(runIndex); in pl_getLineVisualRun()
DParagraphLayout.cpp1214 const ParagraphLayout::VisualRun *ParagraphLayout::Line::getVisualRun(le_int32 runIndex) const in getVisualRun()
1216 if (runIndex < 0 || runIndex >= fRunCount) { in getVisualRun()
1220 return fRuns[runIndex]; in getVisualRun()
/external/icu/icu4c/source/layoutex/layout/
Dplayout.h335 pl_getLineVisualRun(const pl_line *line, le_int32 runIndex);
DParagraphLayout.h145 const VisualRun *getVisualRun(le_int32 runIndex) const;
/external/icu/libicu/cts_headers/unicode/
Dubidi.h1606 ubidi_getVisualRun(UBiDi *pBiDi, int32_t runIndex,
/external/icu/icu4c/source/common/unicode/
Dubidi.h1606 ubidi_getVisualRun(UBiDi *pBiDi, int32_t runIndex,
/external/icu/libandroidicu/include/unicode/
Dubidi.h1606 ubidi_getVisualRun(UBiDi *pBiDi, int32_t runIndex,
/external/icu/libicu/ndk_headers/unicode/
Dubidi.h1656 ubidi_getVisualRun(UBiDi *pBiDi, int32_t runIndex,

12