Home
last modified time | relevance | path

Searched refs:TextIndex (Results 1 – 10 of 10) sorted by relevance

/external/skia/modules/skparagraph/src/
DParagraphImpl.h83 ResolvedFontDescriptor(TextIndex index, SkFont font)
86 TextIndex fTextStart;
147 TextIndex findNextGraphemeBoundary(TextIndex utf8);
148 TextIndex findPreviousGraphemeBoundary(TextIndex utf8);
149 size_t getUTF16Index(TextIndex index) {
167 ClusterIndex clusterIndex(TextIndex textIndex) {
259 SkTArray<TextIndex, true> fUTF8IndexForUTF16Index;
DRun.cpp127 std::tuple<bool, TextIndex, TextIndex> Run::findLimitingGraphemes(TextRange text) const { in findLimitingGraphemes()
128 TextIndex start = fOwner->findNextGraphemeBoundary(text.start); in findLimitingGraphemes()
129 TextIndex end = fOwner->findNextGraphemeBoundary(text.end); in findLimitingGraphemes()
249 SkScalar Cluster::sizeToChar(TextIndex ch) const { in sizeToChar()
259 SkScalar Cluster::sizeFromChar(TextIndex ch) const { in sizeFromChar()
DRun.h143 std::tuple<bool, TextIndex, TextIndex> findLimitingGraphemes(TextRange text) const;
183 TextIndex fClusterStart;
284 SkScalar sizeToChar(TextIndex ch) const;
285 SkScalar sizeFromChar(TextIndex ch) const;
321 bool contains(TextIndex ch) const { return ch >= fTextRange.start && ch < fTextRange.end; } in contains()
DOneLineShaper.cpp90 TextIndex resolvedTextStart = resolvedTextLimits.start; in fillGaps()
309 TextIndex graphemeStart = EMPTY_INDEX; in sortOutGlyphs()
366 TextIndex whitespacesStart = EMPTY_INDEX; in sortOutGlyphs()
623 …(TextRange textRange, SkSpan<Block> styleSpan, SkScalar& advanceX, TextIndex textStart, uint8_t de… in shape()
719 auto findBaseChar = [&](TextIndex index, Dir dir) -> TextIndex { in clusteredText()
DOneLineShaper.h56 … std::function<SkScalar(TextRange textRange, SkSpan<Block>, SkScalar&, TextIndex, uint8_t)>;
DParagraphImpl.cpp1006 TextIndex ParagraphImpl::findPreviousGraphemeBoundary(TextIndex utf8) { in findPreviousGraphemeBoundary()
1014 TextIndex ParagraphImpl::findNextGraphemeBoundary(TextIndex utf8) { in findNextGraphemeBoundary()
DParagraphCache.cpp60 SkTArray<TextIndex, true> fUTF8IndexForUTF16Index;
DTextLine.cpp777 TextIndex start = EMPTY_INDEX; in iterateThroughSingleRunByStyles()
1213 TextIndex graphemeUtf8Start = in getGlyphPositionAtCoordinate()
1215 TextIndex graphemeUtf8Width = in getGlyphPositionAtCoordinate()
/external/skia/experimental/sktext/include/
DTypes.h43 typedef size_t TextIndex; typedef
124 typedef Range<TextIndex> TextRange;
/external/skia/modules/skparagraph/include/
DTextStyle.h291 typedef size_t TextIndex; typedef