Searched refs:TextIndex (Results 1 – 10 of 10) sorted by relevance
/external/skia/modules/skparagraph/src/ |
D | ParagraphImpl.h | 83 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;
|
D | Run.cpp | 127 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()
|
D | Run.h | 143 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()
|
D | OneLineShaper.cpp | 90 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()
|
D | OneLineShaper.h | 56 … std::function<SkScalar(TextRange textRange, SkSpan<Block>, SkScalar&, TextIndex, uint8_t)>;
|
D | ParagraphImpl.cpp | 1006 TextIndex ParagraphImpl::findPreviousGraphemeBoundary(TextIndex utf8) { in findPreviousGraphemeBoundary() 1014 TextIndex ParagraphImpl::findNextGraphemeBoundary(TextIndex utf8) { in findNextGraphemeBoundary()
|
D | ParagraphCache.cpp | 60 SkTArray<TextIndex, true> fUTF8IndexForUTF16Index;
|
D | TextLine.cpp | 777 TextIndex start = EMPTY_INDEX; in iterateThroughSingleRunByStyles() 1213 TextIndex graphemeUtf8Start = in getGlyphPositionAtCoordinate() 1215 TextIndex graphemeUtf8Width = in getGlyphPositionAtCoordinate()
|
/external/skia/experimental/sktext/include/ |
D | Types.h | 43 typedef size_t TextIndex; typedef 124 typedef Range<TextIndex> TextRange;
|
/external/skia/modules/skparagraph/include/ |
D | TextStyle.h | 291 typedef size_t TextIndex; typedef
|