Home
last modified time | relevance | path

Searched refs:paragraphStyle (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/modules/skparagraph/src/
H A DParagraphImpl.cpp669 switch (paragraphStyle().getTextAlign()) { in GetLineFontMetrics()
743 this->paragraphStyle().getReplaceTabCharacters() || in GetLineFontMetrics()
744 (!(this->paragraphStyle().getTextTab().location < 1.0)), in GetLineFontMetrics()
746 this->paragraphStyle().getReplaceTabCharacters(), in GetLineFontMetrics()
1151 auto disableFirstAscent = this->paragraphStyle().getTextHeightBehavior() & in GetLineFontMetrics()
1153 auto disableLastDescent = this->paragraphStyle().getTextHeightBehavior() & in GetLineFontMetrics()
1218 if (addEllipsis && this->paragraphStyle().getEllipsisMod() == EllipsisModal::TAIL) { in GetLineFontMetrics()
1220 } else if (addEllipsis && this->paragraphStyle().getEllipsisMod() == EllipsisModal::HEAD) { in GetLineFontMetrics()
1256 auto disableFirstAscent = this->paragraphStyle().getTextHeightBehavior() & in GetLineFontMetrics()
1258 auto disableLastDescent = this->paragraphStyle() in GetLineFontMetrics()
[all...]
H A DTextTabAlign.cpp55 if (endOfClusters->getOwner()->paragraphStyle().getTextAlign() != TextAlign::kStart) { in init()
61 if (endOfClusters->getOwner()->paragraphStyle().ellipsized()) { in init()
67 if (endOfClusters->getOwner()->paragraphStyle().getTextDirection() == TextDirection::kRtl) { in init()
H A DTextWrapper.cpp91 TextTabAlign textTabAlign(endOfClusters->getOwner()->paragraphStyle().getTextTab()); in lookAhead()
739 auto maxLines = parent->paragraphStyle().getMaxLines(); in moveForward()
740 auto align = parent->paragraphStyle().effective_align(); in moveForward()
743 auto hasEllipsis = parent->paragraphStyle().ellipsized(); in moveForward()
745 auto disableFirstAscent = parent->paragraphStyle().getTextHeightBehavior() & TextHeightBehavior::kDisableFirstAscent; in moveForward()
746 auto disableLastDescent = parent->paragraphStyle().getTextHeightBehavior() & TextHeightBehavior::kDisableLastDescent; in moveForward()
774 if (maxLines == 1 && parent->paragraphStyle().getEllipsisMod() == EllipsisModal::HEAD) { in moveForward()
860 if (parent->paragraphStyle().getEllipsisMod() == EllipsisModal::HEAD && hasEllipsis) { in moveForward()
1212 auto maxLines = parent->paragraphStyle().getMaxLines(); in moveForward()
1213 auto align = parent->paragraphStyle() in moveForward()
[all...]
H A DParagraphImpl.h175 const ParagraphStyle& paragraphStyle() const { return fParagraphStyle; } in paragraphStyle() function in skia::textlayout::final
189 bool strutEnabled() const { return paragraphStyle().getStrutStyle().getStrutEnabled(); } in strutEnabled()
191 return paragraphStyle().getStrutStyle().getForceStrutHeight(); in strutForceHeight()
194 return paragraphStyle().getStrutStyle().getHeightOverride(); in strutHeightOverride()
H A DTextLine.cpp475 } else if (fOwner->paragraphStyle().getTextDirection() == TextDirection::kRtl) {
803 if (fOwner->paragraphStyle().getTextDirection() == TextDirection::kRtl) {
1127 TextStyle textStyle = fOwner->paragraphStyle().getTextStyle();
1226 if (fOwner->paragraphStyle().getTextDirection() == TextDirection::kLtr) {
1364 if (fOwner->paragraphStyle().getTextDirection() == TextDirection::kLtr) {
1617 fOwner->paragraphStyle().getEllipsisMod() == EllipsisModal::HEAD;
1619 bool ellipsisModeIsHead = fOwner->paragraphStyle().getEllipsisMod() == EllipsisModal::HEAD;
1843 auto paragraphStyle = fOwner->paragraphStyle();
1891 const auto& strutStyle = paragraphStyle
[all...]
H A DParagraphCache.cpp38 , fParagraphStyle(paragraph->paragraphStyle()) { in ParagraphCacheKey()
H A DOneLineShaper.cpp745 fParagraph->paragraphStyle().getTextStyle());
/third_party/skia/modules/skparagraph/tests/
H A DSkParagraphTest.cpp1689 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in UNIX_ONLY_TEST()
1783 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in UNIX_ONLY_TEST()
1870 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in UNIX_ONLY_TEST()
1957 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in UNIX_ONLY_TEST()
2577 ParagraphStyle paragraphStyle; in UNIX_ONLY_TEST() local
2578 paragraphStyle.setTextAlign(TextAlign::kLeft); in UNIX_ONLY_TEST()
2579 paragraphStyle.setMaxLines(10); in UNIX_ONLY_TEST()
2580 paragraphStyle.turnHintingOff(); in UNIX_ONLY_TEST()
2591 ParagraphBuilderImpl builder(paragraphStyle, fontCollection); in UNIX_ONLY_TEST()
2641 ParagraphStyle paragraphStyle; in UNIX_ONLY_TEST() local
2744 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
2810 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
2932 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
3054 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
3174 ParagraphStyle paragraphStyle; DEF_TEST_DISABLED() local
3241 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
3335 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
3397 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
3504 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
3549 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
3586 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
5599 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
5629 ParagraphStyle paragraphStyle; UNIX_ONLY_TEST() local
6996 ParagraphStyle paragraphStyle; performGetRectsForRangeConcurrently() local
[all...]
/third_party/skia/modules/skparagraph/samples/
H A DSampleParagraph.cpp983 ParagraphStyle paragraphStyle; in drawText() local
984 paragraphStyle.setTextAlign(TextAlign::kLeft); in drawText()
985 paragraphStyle.setMaxLines(10); in drawText()
986 paragraphStyle.turnHintingOff(); in drawText()
995 ParagraphBuilderImpl builder(paragraphStyle, getFontCollection()); in drawText()
1053 ParagraphStyle paragraphStyle; in drawText() local
1054 paragraphStyle.setTextAlign(TextAlign::kLeft); in drawText()
1055 paragraphStyle.setMaxLines(10); in drawText()
1056 paragraphStyle.turnHintingOff(); in drawText()
1065 ParagraphBuilderImpl builder(paragraphStyle, getFontCollectio in drawText()
1148 ParagraphStyle paragraphStyle; drawText() local
1971 ParagraphStyle paragraphStyle; global() variable
[all...]

Completed in 24 milliseconds