/external/skia/modules/skparagraph/src/ |
D | OneLineShaper.h | 39 RunBlock(std::shared_ptr<Run> run, TextRange text, GlyphRange glyphs, size_t score) in RunBlock() 48 , fGlyphs(GlyphRange(0, fRun->size())) { } in RunBlock() 52 GlyphRange fGlyphs; 95 TextRange clusteredText(GlyphRange& glyphs); 100 void addUnresolvedWithRun(GlyphRange glyphRange); 101 void sortOutGlyphs(std::function<void(GlyphRange)>&& sortOutUnresolvedBLock); 102 ClusterRange normalizeTextRange(GlyphRange glyphRange);
|
D | OneLineShaper.cpp | 29 sortOutGlyphs([&](GlyphRange block){ in commitRunBuffer() 114 GlyphRange resolvedGlyphs(resolvedGlyphsStart, unresolved.fGlyphs.start); in fillGaps() 141 GlyphRange resolvedGlyphs(resolvedGlyphsStart, fCurrentRun->size()); in fillGaps() 246 TextRange OneLineShaper::normalizeTextRange(GlyphRange glyphRange) { in normalizeTextRange() 264 GlyphRange(0, this->fCurrentRun->size()), in addFullyResolved() 269 void OneLineShaper::addUnresolvedWithRun(GlyphRange glyphRange) { in addUnresolvedWithRun() 304 void OneLineShaper::sortOutGlyphs(std::function<void(GlyphRange)>&& sortOutUnresolvedBLock) { in sortOutGlyphs() 306 GlyphRange block = EMPTY_RANGE; in sortOutGlyphs() 699 TextRange OneLineShaper::clusteredText(GlyphRange& glyphs) { in clusteredText()
|
D | TextLine.cpp | 249 GlyphRange glyphs; in ensureTextBlobCachePopulated() 251 glyphs = GlyphRange(start.startPos(), in ensureTextBlobCachePopulated() 254 glyphs = GlyphRange(end.startPos(), in ensureTextBlobCachePopulated()
|
D | Run.h | 44 typedef SkRange<GlyphIndex> GlyphRange; typedef
|
/external/skia/experimental/sktext/src/ |
D | VisualRun.h | 43 SkScalar calculateWidth(GlyphRange glyphRange) const { in calculateWidth() 49 return calculateWidth(GlyphRange(start, end)); in calculateWidth() 126 GlyphRange trailingSpaces() const { return fTrailingSpaces; } in trailingSpaces() 137 GlyphRange fTrailingSpaces; // This is a zero-based index across the line
|
D | Text.cpp | 326 GlyphRange clusterGlyphs; in wrap() 334 clusterGlyphs = GlyphRange(glyphIndex, glyphIndex); in wrap() 567 … GlyphRange glyphRange = this->textToGlyphs(unicodeText, positionType, runIndex, dirTextRange); in visit() 593 GlyphRange WrappedText::textToGlyphs(UnicodeText* unicodeText, PositionType positionType, RunIndex … in textToGlyphs() 597 GlyphRange glyphRange(0, run.size()); in textToGlyphs() 639 void SelectableText::onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t … in onEndLine() 675 position.fGlyphRange = GlyphRange(0, line.fBoxGlyphs.size() - 1); in findPosition() 742 current.fGlyphRange = GlyphRange(0, 0); in previousPosition() 764 … current.fGlyphRange = GlyphRange(currentLine->fBoxGlyphs.size(), currentLine->fBoxGlyphs.size()); in nextPosition() 819 beginningOfText.fGlyphRange = GlyphRange { 0, 0}; in firstPosition() [all …]
|
D | LogicalRun.h | 26 SkScalar calculateWidth(GlyphRange glyphRange) const { in calculateWidth() 32 return calculateWidth(GlyphRange(start, end)); in calculateWidth()
|
D | Line.h | 94 …Stretch(RunIndex runIndex, GlyphRange glyphRange, TextRange textRange, SkScalar width, const TextM… in Stretch()
|
/external/skia/experimental/sktext/include/ |
D | Interface.h | 73 …virtual void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCo… in onEndLine() 141 …Position(PositionType positionType, size_t lineIndex, GlyphRange glyphRange, TextRange textRange, … 145 GlyphRange fGlyphRange;
|
D | Text.h | 175 …virtual void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCo… in onEndLine() 241 …GlyphRange textToGlyphs(UnicodeText* unicodeText, PositionType positionType, RunIndex runIndex, Di… 276 …Position(PositionType positionType, size_t lineIndex, GlyphRange glyphRange, TextRange textRange, … in Position() 288 GlyphRange fGlyphRange; 347 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove…
|
D | Types.h | 130 typedef Range<GlyphIndex> GlyphRange; typedef
|
/external/skia/experimental/sktext/tests/ |
D | SelectableText.cpp | 46 GlyphRange trailingSpaces; 67 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove… in onEndLine() 164 REPORTER_ASSERT(reporter, firstPosition.fGlyphRange == GlyphRange(0, 0)); in UNIX_ONLY_TEST() 176 …REPORTER_ASSERT(reporter, lastPosition.fGlyphRange == GlyphRange(lastRun.glyphs.size(), lastRun.gl… in UNIX_ONLY_TEST()
|
D | WrappedText.cpp | 46 GlyphRange trailingSpaces; 66 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove… in onEndLine()
|
/external/skia/experimental/sktext/editor/ |
D | Selection.h | 46 std::vector<GlyphRange> fGlyphRanges;
|