Home
last modified time | relevance | path

Searched refs:fTextStyles (Results 1 – 6 of 6) sorted by relevance

/external/skia/modules/skparagraph/src/
DParagraphBuilderImpl.cpp60 fTextStyles.push(fParagraphStyle.getTextStyle()); in setParagraphStyle()
67 fTextStyles.push(style); in pushStyle()
73 fStyledBlocks.emplace_back(fUtf8.size(), fUtf8.size(), fTextStyles.top()); in pushStyle()
80 if (fTextStyles.size() > 1) { in pop()
81 fTextStyles.pop(); in pop()
87 auto top = fTextStyles.top(); in pop()
94 if (!fTextStyles.empty()) { in peekStyle()
95 return fTextStyles.top(); in peekStyle()
130 auto topStyle = fTextStyles.top(); in addPlaceholder()
DIterators.h18 , fTextStyles(styles) in LangIterator()
20 , fCurrentStyle(fTextStyles.begin()) in LangIterator()
26 if (fCurrentStyle == fTextStyles.end()) { in consume()
33 while (++fCurrentStyle != fTextStyles.end() && !fCurrentStyle->fStyle.isPlaceholder()) { in consume()
47 SkSpan<Block> fTextStyles; variable
DParagraphCache.cpp31 , fTextStyles(paragraph->fTextStyles) in ParagraphCacheKey()
36 SkTArray<Block, true> fTextStyles; member in skia::textlayout::ParagraphCacheKey
88 for (auto& ts : key.fTextStyles) { in operator ()()
138 if (a.fTextStyles.size() != b.fTextStyles.size()) { in operator ==()
154 for (size_t i = 0; i < a.fTextStyles.size(); ++i) { in operator ==()
155 auto& tsa = a.fTextStyles[i]; in operator ==()
156 auto& tsb = b.fTextStyles[i]; in operator ==()
DParagraphImpl.cpp71 , fTextStyles(std::move(blocks)) in ParagraphImpl()
448 Block* currentStyle = this->fTextStyles.begin(); in spaceGlyphs()
451 SkASSERT(currentStyle != this->fTextStyles.end()); in spaceGlyphs()
617 for (size_t index = 0; index < fTextStyles.size(); ++index) { in findAllBlocks()
618 auto& block = fTextStyles[index]; in findAllBlocks()
834 SkASSERT(blockRange.start < fTextStyles.size() && blockRange.end <= fTextStyles.size()); in blocks()
835 return SkSpan<Block>(&fTextStyles[blockRange.start], blockRange.width()); in blocks()
839 SkASSERT(blockIndex < fTextStyles.size()); in block()
840 return fTextStyles[blockIndex]; in block()
895 if (emptyParagraph && !fTextStyles.empty()) { in computeEmptyMetrics()
[all …]
DParagraphImpl.h136 return SkSpan<Block>(fTextStyles.data(), fTextStyles.size());
245 SkTArray<Block, true> fTextStyles; // TODO: take out only the font stuff
DParagraphBuilderImpl.h76 std::stack<TextStyle> fTextStyles; variable