/third_party/skia/experimental/sktext/src/ |
D | Line.h | 65 GlyphPos(size_t runIndex, size_t glyphIndex) : fRunIndex(runIndex), fGlyphIndex(glyphIndex) { } in GlyphPos() argument 71 size_t runIndex() const { return fRunIndex; } in runIndex() function 94 …Stretch(RunIndex runIndex, GlyphRange glyphRange, TextRange textRange, SkScalar width, const TextM… in Stretch() argument 95 : fGlyphStart(runIndex, glyphRange.fStart) in Stretch() 96 , fGlyphEnd(runIndex, glyphRange.fEnd) in Stretch() 139 SkASSERT(this->fGlyphEnd.runIndex() != tail.fGlyphStart.runIndex() || in moveTo()
|
D | Text.cpp | 327 for (size_t runIndex = 0; runIndex < this->fLogicalRuns.size(); ++runIndex ) { in wrap() local 328 auto& run = this->fLogicalRuns[runIndex]; in wrap() 354 Stretch empty(GlyphPos(runIndex, glyphIndex), textIndex, runMetrics); in wrap() 371 …cluster = Stretch(runIndex, clusterGlyphs, clusterText.normalized(), run.calculateWidth(clusterGly… in wrap() 445 for (RunIndex runIndex = startRun; runIndex <= endRun; ++runIndex) { in getVisualOrder() local 446 runLevels[runLevelsIndex++] = fLogicalRuns[runIndex].bidiLevel(); in getVisualOrder() 458 auto startRun = lineStretch.glyphStart().runIndex(); in addLine() 459 auto endRun = lineStretch.glyphEnd().runIndex(); in addLine() 473 bool isSpaceRun = spacesStart.runIndex() == (firstRunIndex + visualIndex); in addLine() 583 RunIndex runIndex = 0ul; in visit() local [all …]
|
/third_party/icu/icu4c/source/common/ |
D | ubidiln.cpp | 363 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 …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | ubidiln.cpp | 363 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 …]
|
/third_party/node/deps/icu-small/source/common/ |
D | ubidiln.cpp | 363 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 …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | ubidiln.cpp | 363 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() 601 int32_t runIndex, start; in ubidi_getRuns() local 622 runIndex=0; in ubidi_getRuns() 641 runs[runIndex].logicalStart=start; in ubidi_getRuns() 642 runs[runIndex].visualLimit=i-start; in ubidi_getRuns() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | BidiLine.java | 305 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 …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | BidiLine.java | 304 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 …]
|
/third_party/skia/tests/ |
D | GlyphRunTest.cpp | 51 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;
|
/third_party/skia/experimental/sktext/tests/ |
D | WrappedText.cpp | 123 RunIndex runIndex = 0; in UNIX_ONLY_TEST() local 127 REPORTER_ASSERT(reporter, line.runRange == Range<RunIndex>(runIndex, runIndex + 1)); in UNIX_ONLY_TEST() 129 auto& run = testVisitor.fTestRuns[runIndex]; in UNIX_ONLY_TEST() 131 REPORTER_ASSERT(reporter, runIndex <= 1 ? line.hardBreak : !line.hardBreak); in UNIX_ONLY_TEST() 137 ++runIndex; in UNIX_ONLY_TEST()
|
D | SelectableText.cpp | 123 …for (RunIndex runIndex = testLine.runRange.fEnd; runIndex > testLine.runRange.fStart; --runIndex) { in UNIX_ONLY_TEST() local 124 auto& testRun = testVisitor.fTestRuns[runIndex - 1]; in UNIX_ONLY_TEST()
|
/third_party/flutter/skia/tests/ |
D | GlyphRunTest.cpp | 78 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;
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | TextLine.cpp | 62 size_t numRuns = end.runIndex() - start.runIndex() + 1; in TextLine() 79 for (auto runIndex = start.runIndex(); runIndex <= end.runIndex(); ++runIndex) { in TextLine() local 80 auto& run = fMaster->run(runIndex); in TextLine() 87 auto firstRunIndex = start.runIndex(); in TextLine() 582 auto& runIndex = fLogical[reverse ? fLogical.size() - r - 1 : r]; in iterateThroughClustersInGlyphsOrder() local 583 auto run = this->fMaster->runs().begin() + runIndex; in iterateThroughClustersInGlyphsOrder() 652 for (auto& runIndex : fLogical) { in iterateThroughRuns() local 653 const auto run = &this->fMaster->run(runIndex); in iterateThroughRuns() 690 if (run->leftToRight() || &runIndex == &fLogical.back()) { in iterateThroughRuns()
|
D | ParagraphImpl.cpp | 224 for (RunIndex runIndex = 0; runIndex < fRuns.size(); ++runIndex) { in buildClusterTable() local 225 auto& run = fRuns[runIndex]; in buildClusterTable() 229 run.iterateThroughClustersInTextOrder([runIndex, this]( in buildClusterTable() 239 … auto& cluster = fClusters.emplace_back(this, runIndex, glyphStart, glyphEnd, text, width, height); in buildClusterTable() 835 Run& ParagraphImpl::run(RunIndex runIndex) { in run() argument 836 SkASSERT(runIndex < fRuns.size()); in run() 837 return fRuns[runIndex]; in run()
|
D | ParagraphImpl.h | 89 auto& run = fRunShifts[cluster.runIndex()]; in shiftCluster() 133 Run& run(RunIndex runIndex);
|
D | Run.cpp | 272 RunIndex runIndex, in Cluster() argument 279 , fRunIndex(runIndex) in Cluster()
|
D | Run.h | 214 RunIndex runIndex, 253 RunIndex runIndex() const { return fRunIndex; } in runIndex() function
|
/third_party/flutter/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 228 for (int runIndex = 0; runIndex <= lastRun; runIndex++) { in flush() local 230 Run& run = fRuns[runIndex]; in flush() 338 this->computeSubRunBounds(&subRunBounds, runIndex, subRun, viewMatrix, x, y, in flush() 352 auto op = this->makeOp(info, glyphCount, runIndex, subRun, viewMatrix, x, y, in flush()
|
/third_party/skia/modules/skparagraph/src/ |
D | TextLine.cpp | 115 size_t numRuns = end.runIndex() - start.runIndex() + 1; in TextLine() 139 for (auto runIndex = start.runIndex(); runIndex <= end.runIndex(); ++runIndex) { in TextLine() local 140 auto& run = fOwner->run(runIndex); in TextLine() 151 auto firstRunIndex = start.runIndex(); in TextLine() 860 for (auto& runIndex : fRunsInVisualOrder) { in iterateThroughVisualRuns() local 862 const auto run = &this->fOwner->run(runIndex); in iterateThroughVisualRuns()
|
D | ParagraphImpl.h | 173 Run& run(RunIndex runIndex) { 174 SkASSERT(runIndex < fRuns.size()); 175 return fRuns[runIndex];
|
D | ParagraphImpl.cpp | 327 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()
|
/third_party/icu/icu4c/source/layoutex/ |
D | playout.cpp | 213 pl_getLineVisualRun(const pl_line *line, le_int32 runIndex) in pl_getLineVisualRun() argument 221 return (pl_visualRun *) ll->getVisualRun(runIndex); in pl_getLineVisualRun()
|
D | ParagraphLayout.cpp | 1214 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()
|
/third_party/flutter/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 1105 int runIndex = glyphIterator.fRunIndex; in wrap() local 1109 if (previousRunIndex != runIndex) { in wrap() 1111 runs[runIndex].fFont.getMetrics(&metrics); in wrap() 1112 previousRunIndex = runIndex; in wrap() 1120 int numRuns = runIndex - previousBreak.fRunIndex + 1; in wrap() 1159 size_t endGlyphIndex = (logicalIndex == runIndex) in wrap()
|
/third_party/icu/icu4c/source/layoutex/layout/ |
D | playout.h | 330 pl_getLineVisualRun(const pl_line *line, le_int32 runIndex);
|