Home
last modified time | relevance | path

Searched refs:endOfClusters (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/modules/skparagraph/src/
H A DTextTabAlign.cpp44 void TextTabAlign::init(SkScalar maxWidth, Cluster* endOfClusters) in init() argument
47 fEndOfClusters = endOfClusters; in init()
49 endOfClusters == nullptr) { in init()
55 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.cpp81 void TextWrapper::lookAhead(SkScalar maxWidth, Cluster* endOfClusters, bool applyRoundingHack, in lookAhead() argument
91 TextTabAlign textTabAlign(endOfClusters->getOwner()->paragraphStyle().getTextTab()); in lookAhead()
92 textTabAlign.init(maxWidth, endOfClusters); in lookAhead()
97 for (auto cluster = fEndLine.endCluster(); cluster < endOfClusters; ++cluster) { in lookAhead()
151 for (auto further = cluster; further != endOfClusters; ++further) { in lookAhead()
324 std::tuple<Cluster*, size_t, SkScalar> TextWrapper::trimStartSpaces(Cluster* endOfClusters) { in moveForward() argument
341 while (cluster < endOfClusters && cluster->isWhitespaceBreak() && !cluster->isTabulation()) { in moveForward()
346 if (fEndLine.breakCluster()->isWhitespaceBreak() && fEndLine.breakCluster() < endOfClusters) { in moveForward()
1000 void TextWrapper::lookAhead(SkScalar maxWidth, Cluster* endOfClusters, bool applyRoundingHack) { in moveForward()
1008 for (auto cluster = fEndLine.endCluster(); cluster < endOfClusters; in moveForward()
[all...]
H A DTextWrapper.h232 void lookAhead(SkScalar maxWidth, Cluster* endOfClusters, bool applyRoundingHack, WordBreakType wordBreakType,
236 std::tuple<Cluster*, size_t, SkScalar> trimStartSpaces(Cluster* endOfClusters);
H A DTextTabAlign.h30 void init(SkScalar maxWidth, Cluster* endOfClusters);

Completed in 3 milliseconds