Home
last modified time | relevance | path

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

/external/skia/modules/skparagraph/src/
DParagraphCache.cpp32 , fParagraphStyle(paragraph->paragraphStyle()) { } in ParagraphCacheKey()
37 ParagraphStyle fParagraphStyle; member in skia::textlayout::ParagraphCacheKey
108 hash = mix(hash, SkGoodHash()(relax(key.fParagraphStyle.getHeight()))); in operator ()()
109 hash = mix(hash, SkGoodHash()(key.fParagraphStyle.getTextDirection())); in operator ()()
111 auto& strutStyle = key.fParagraphStyle.getStrutStyle(); in operator ()()
143 if (!exactlyEqual(a.fParagraphStyle.getHeight(), b.fParagraphStyle.getHeight())) { in operator ==()
146 if (a.fParagraphStyle.getTextDirection() != b.fParagraphStyle.getTextDirection()) { in operator ==()
150 if (!(a.fParagraphStyle.getStrutStyle() == b.fParagraphStyle.getStrutStyle())) { in operator ==()
DParagraphImpl.cpp53 , fParagraphStyle(std::move(style)) in Paragraph()
149 if (fParagraphStyle.getStrutStyle().getStrutEnabled() && in layout()
150 fParagraphStyle.getStrutStyle().getForceStrutHeight()) { in layout()
200 if (fParagraphStyle.getMaxLines() == 1 || in layout()
201 (fParagraphStyle.unlimited_lines() && fParagraphStyle.ellipsized())) { in layout()
216 if (fParagraphStyle.getDrawOptions() == DrawOptions::kDirect) { in paint()
228 if (fParagraphStyle.getDrawOptions() == DrawOptions::kReplay) { in paint()
261 auto textDirection = fParagraphStyle.getTextDirection() == TextDirection::kLtr in computeCodeUnitProperties()
548 auto effectiveAlign = fParagraphStyle.effective_align(); in formatLines()
664 … results.emplace_back(SkRect::MakeXYWH(0, 0, 0, fHeight), fParagraphStyle.getTextDirection()); in getRectsForRange()
[all …]
DParagraphBuilderImpl.cpp59 fParagraphStyle = style; in setParagraphStyle()
60 fTextStyles.push(fParagraphStyle.getTextStyle()); in setParagraphStyle()
61 fStyledBlocks.emplace_back(fUtf8.size(), fUtf8.size(), fParagraphStyle.getTextStyle()); in setParagraphStyle()
98 return fParagraphStyle.getTextStyle(); in peekStyle()
161 … fUtf8, fParagraphStyle, fStyledBlocks, fPlaceholders, fFontCollection, std::move(fUnicode)); in Build()
DParagraphBuilderImpl.h80 ParagraphStyle fParagraphStyle; variable
DParagraphImpl.h142 const ParagraphStyle& paragraphStyle() const { return fParagraphStyle; }
/external/skia/modules/skparagraph/include/
DParagraph.h96 ParagraphStyle fParagraphStyle; variable