/external/skia/src/pdf/ |
D | SkClusterator.cpp | 29 : fClusters(run.clusters().data()) in SkClusterator() 33 , fReversedChars(fClusters ? is_reversed(fClusters, fGlyphCount) : false) in SkClusterator() 35 if (fClusters) { in SkClusterator() 46 if (!fClusters || !fUtf8Text) { in next() 50 uint32_t cluster = fClusters[clusterGlyphIndex]; in next() 53 } while (fCurrentGlyphIndex < fGlyphCount && cluster == fClusters[fCurrentGlyphIndex]); in next() 57 uint32_t c = fClusters[i]; in next()
|
D | SkClusterator.h | 38 uint32_t const * const fClusters;
|
/external/skqp/src/pdf/ |
D | SkClusterator.cpp | 29 : fClusters(run.clusters().data()) in SkClusterator() 34 if (fClusters) { in SkClusterator() 36 fReversedChars = is_reversed(fClusters, fGlyphCount); in SkClusterator() 46 if (!fClusters || !fUtf8Text) { in next() 50 uint32_t cluster = fClusters[clusterGlyphIndex]; in next() 53 } while (fCurrentGlyphIndex < fGlyphCount && cluster == fClusters[fCurrentGlyphIndex]); in next() 57 uint32_t c = fClusters[i]; in next()
|
D | SkClusterator.h | 38 const uint32_t* fClusters;
|
/external/skia/modules/skparagraph/src/ |
D | TextWrapper.cpp | 22 fClusters.startFrom(fEndLine.startCluster(), fEndLine.startPos()); in lookAhead() 27 auto width = fWords.width() + fClusters.width() + cluster->width(); in lookAhead() 33 fClusters.extend(cluster); in lookAhead() 35 fWords.extend(fClusters); in lookAhead() 40 SkScalar nextWordLength = fClusters.width(); in lookAhead() 50 if (fClusters.endPos() - fClusters.startPos() > 1 || in lookAhead() 60 fClusters.extend(cluster); in lookAhead() 67 fClusters.extend(cluster); in lookAhead() 70 if (fClusters.endOfWord()) { in lookAhead() 72 fWords.extend(fClusters); in lookAhead() [all …]
|
D | ParagraphImpl.cpp | 132 this->fClusters.reset(); in layout() 135 this->fClusters.reset(); in layout() 170 this->fClusters.reset(); in layout() 250 auto runStart = fClusters.size(); in buildClusterTable() 254 if (!fClusters.empty()) { in buildClusterTable() 255 fClusters.back().setBreakType(Cluster::SoftLineBreak); in buildClusterTable() 257 auto& cluster = fClusters.emplace_back(this, runIndex, 0ul, 1ul, text, run.advance().fX, in buildClusterTable() 261 fClusters.reserve(fClusters.size() + run.size()); in buildClusterTable() 271 auto& cluster = fClusters.emplace_back(this, runIndex, glyphStart, glyphEnd, text, in buildClusterTable() 277 run.setClusterRange(runStart, fClusters.size()); in buildClusterTable() [all …]
|
D | ParagraphImpl.h | 143 SkSpan<Cluster> clusters() { return SkSpan<Cluster>(fClusters.begin(), fClusters.size()); } in clusters() 233 …SkTArray<Cluster, true> fClusters; // kClusterized (cached: text, word spacing, letter spacing, r… variable
|
D | TextWrapper.h | 176 TextStretch fClusters; variable 192 fClusters.clean(); in reset()
|
/external/skia/tests/ |
D | ShaperTest.cpp | 27 std::unique_ptr<uint32_t[]> fClusters; member 42 fClusters.reset(new uint32_t[info.glyphCount]); in runBuffer() 46 fClusters.get(), in runBuffer() 54 REPORTER_ASSERT(fReporter, fClusters[i] >= fRange.begin(), in commitRunBuffer() 56 REPORTER_ASSERT(fReporter, fClusters[i] < fRange.end(), in commitRunBuffer()
|
/external/skia/src/utils/ |
D | SkShaperJSONWriter.cpp | 31 fClusters.resize(info.glyphCount); in runBuffer() 32 return {fGlyphs.data(), fPositions.data(), nullptr, fClusters.data(), {0, 0}}; in runBuffer() 85 if (is_one_to_one(fUTF8.c_str(), info.utf8Range.begin(), info.utf8Range.end(), fClusters)) { in commitRunBuffer() 96 for (auto cluster : fClusters) { in commitRunBuffer() 104 SkMakeSpan(fClusters), in commitRunBuffer()
|
D | SkShaperJSONWriter.h | 63 std::vector<uint32_t> fClusters; variable
|
/external/skia/modules/skplaintexteditor/src/ |
D | shape.cpp | 82 uint32_t* fClusters = nullptr; member in __anon3576e2610111::RunHandler 124 fClusters = runBuffer.clusters; in runBuffer() 148 fClusters, in commitRunBuffer() 153 SkASSERT(fClusters[i] >= (unsigned)fClusterOffset); in commitRunBuffer() 154 fClusters[i] -= fClusterOffset; in commitRunBuffer()
|
/external/skia/modules/skshaper/src/ |
D | SkShaper.cpp | 212 fClusters = runBuffer.clusters; in runBuffer() 226 SkASSERT(fClusters[i] >= (unsigned)fClusterOffset); in commitRunBuffer() 227 fClusters[i] -= fClusterOffset; in commitRunBuffer()
|
/external/skqp/src/core/ |
D | SkGlyphRun.cpp | 30 , fClusters{clusters} 37 , fClusters{that.fClusters}
|
D | SkGlyphRun.h | 41 SkSpan<const uint32_t> clusters() const { return fClusters; } in clusters() 52 const SkSpan<const uint32_t> fClusters; variable
|
/external/skia/src/core/ |
D | SkGlyphRun.cpp | 30 , fClusters{clusters} 36 , fClusters{that.fClusters}
|
D | SkGlyphRun.h | 42 SkSpan<const uint32_t> clusters() const { return fClusters; } in clusters() 51 const SkSpan<const uint32_t> fClusters; variable
|
/external/skia/modules/skshaper/include/ |
D | SkShaper.h | 273 uint32_t* fClusters; variable
|