Home
last modified time | relevance | path

Searched refs:nextWordLength (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/modules/skparagraph/src/
DTextWrapper.cpp82 SkScalar nextWordLength = fClusters.width(); in lookAhead() local
83 SkScalar nextShortWordLength = nextWordLength; in lookAhead()
93 … if (nextWordLength > 0 && nextWordLength <= maxWidth && further->isIntraWordBreak()) { in lookAhead()
96 nextShortWordLength = nextWordLength; in lookAhead()
101 nextWordLength = std::max(nextWordLength, further->width()); in lookAhead()
103 nextWordLength += further->width(); in lookAhead()
106 if (nextWordLength > maxWidth) { in lookAhead()
124 fMinIntrinsicWidth = std::max(fMinIntrinsicWidth, nextWordLength); in lookAhead()
/third_party/flutter/skia/modules/skparagraph/src/
DTextWrapper.cpp32 SkScalar nextWordLength = fClusters.width(); in lookAhead() local
37 nextWordLength += further->width(); in lookAhead()
39 if (nextWordLength > maxWidth) { in lookAhead()
45 fMinIntrinsicWidth = SkTMax(fMinIntrinsicWidth, nextWordLength); in lookAhead()