Home
last modified time | relevance | path

Searched refs:GlyphRange (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/modules/skparagraph/src/
DOneLineShaper.h39 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);
DOneLineShaper.cpp29 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()
309 GlyphRange block = EMPTY_RANGE; in sortOutGlyphs()
363 void OneLineShaper::sortOutGlyphs(std::function<void(GlyphRange)>&& sortOutUnresolvedBLock) { in sortOutGlyphs()
369 GlyphRange block = EMPTY_RANGE; in sortOutGlyphs()
[all …]
DRun.h44 typedef SkRange<GlyphIndex> GlyphRange; typedef
/third_party/skia/experimental/sktext/src/
DVisualRun.h43 SkScalar calculateWidth(GlyphRange glyphRange) const { in calculateWidth()
48 return calculateWidth(GlyphRange(start, end)); in calculateWidth()
125 GlyphRange trailingSpaces() const { return fTrailingSpaces; } in trailingSpaces()
136 GlyphRange fTrailingSpaces; // This is a zero-based index across the line
DLogicalRun.h26 SkScalar calculateWidth(GlyphRange glyphRange) const { in calculateWidth()
31 return calculateWidth(GlyphRange(start, end)); in calculateWidth()
DText.cpp344 GlyphRange clusterGlyphs; in wrap()
352 clusterGlyphs = GlyphRange(glyphIndex, glyphIndex); in wrap()
587GlyphRange glyphRange = this->textToGlyphs(unicodeText, positionType, runIndex, dirTextRange); in visit()
613 GlyphRange WrappedText::textToGlyphs(UnicodeText* unicodeText, PositionType positionType, RunIndex … in textToGlyphs()
617 GlyphRange glyphRange(0, run.size()); in textToGlyphs()
658 void SelectableText::onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t … in onEndLine()
694 position.fGlyphRange = GlyphRange(0, line.fBoxGlyphs.size() - 1); in findPosition()
761 current.fGlyphRange = GlyphRange(0, 0); in previousPosition()
783 … current.fGlyphRange = GlyphRange(currentLine->fBoxGlyphs.size(), currentLine->fBoxGlyphs.size()); in nextPosition()
838 beginningOfText.fGlyphRange = GlyphRange { 0, 0}; in firstPosition()
[all …]
DLine.h94 …Stretch(RunIndex runIndex, GlyphRange glyphRange, TextRange textRange, SkScalar width, const TextM… in Stretch()
/third_party/skia/experimental/sktext/include/
DInterface.h73 …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;
DText.h175 …virtual void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCo… in onEndLine()
241GlyphRange 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…
DTypes.h139 typedef Range<GlyphIndex> GlyphRange; typedef
/third_party/skia/experimental/sktext/tests/
DSelectableText.cpp46 GlyphRange trailingSpaces;
67 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove… in onEndLine()
165 REPORTER_ASSERT(reporter, firstPosition.fGlyphRange == GlyphRange(0, 0)); in UNIX_ONLY_TEST()
177 …REPORTER_ASSERT(reporter, lastPosition.fGlyphRange == GlyphRange(lastRun.glyphs.size(), lastRun.gl… in UNIX_ONLY_TEST()
DWrappedText.cpp46 GlyphRange trailingSpaces;
66 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove… in onEndLine()
/third_party/skia/experimental/sktext/editor/
DSelection.h46 std::vector<GlyphRange> fGlyphRanges;