Lines Matching refs:fEndLine
11 fWords.startFrom(fEndLine.startCluster(), fEndLine.startPos()); in lookAhead()
12 fClusters.startFrom(fEndLine.startCluster(), fEndLine.startPos()); in lookAhead()
13 fClip.startFrom(fEndLine.startCluster(), fEndLine.startPos()); in lookAhead()
14 for (auto cluster = fEndLine.endCluster(); cluster < endOfClusters; ++cluster) { in lookAhead()
67 fEndLine.extend(fWords); in moveForward()
69 fEndLine.extend(fClusters); in moveForward()
72 fEndLine.extend(fClip); in moveForward()
84 fEndLine.saveBreak(); in trimEndSpaces()
88 for (auto cluster = fEndLine.endCluster(); in trimEndSpaces()
89 cluster >= fEndLine.startCluster() && cluster->isWhitespaces(); in trimEndSpaces()
94 fEndLine.trim(cluster); in trimEndSpaces()
101 fEndLine.trim(); in trimEndSpaces()
123 auto width = fEndLine.width(); in trimStartSpaces()
124 auto cluster = fEndLine.endCluster() + 1; in trimStartSpaces()
125 while (cluster < fEndLine.breakCluster() && cluster->isWhitespaces()) { in trimStartSpaces()
129 return std::make_tuple(fEndLine.breakCluster() + 1, 0, width); in trimStartSpaces()
132 auto width = fEndLine.withWithGhostSpaces(); //fEndLine.width(); in trimStartSpaces()
133 auto cluster = fEndLine.breakCluster() + 1; in trimStartSpaces()
152 fEndLine = TextStretch(span.begin(), span.begin(), parent->strutForceHeight()); in breakTextIntoLines()
155 while (fEndLine.endCluster() != end) { in breakTextIntoLines()
175 fEndLine.endCluster() < end - 1 && in breakTextIntoLines()
181 parent->strutMetrics().updateLineMetrics(fEndLine.metrics()); in breakTextIntoLines()
183 fMaxIntrinsicWidth = SkMaxScalar(fMaxIntrinsicWidth, fEndLine.width()); in breakTextIntoLines()
185 …TextRange text(fEndLine.startCluster()->textRange().start, fEndLine.endCluster()->textRange().end … in breakTextIntoLines()
186 …TextRange textWithSpaces(fEndLine.startCluster()->textRange().start, startLine->textRange().start); in breakTextIntoLines()
187 if (fEndLine.breakCluster()->isHardBreak()) { in breakTextIntoLines()
188 textWithSpaces.end = fEndLine.breakCluster()->textRange().start; in breakTextIntoLines()
190 textWithSpaces.end = fEndLine.breakCluster()->textRange().end; in breakTextIntoLines()
192 ClusterRange clusters(fEndLine.startCluster() - start, fEndLine.endCluster() - start + 1); in breakTextIntoLines()
193 ClusterRange clustersWithGhosts(fEndLine.startCluster() - start, startLine - start); in breakTextIntoLines()
195 fEndLine.startPos(), in breakTextIntoLines()
196 fEndLine.endPos(), in breakTextIntoLines()
198 SkVector::Make(fEndLine.width(), fEndLine.metrics().height()), in breakTextIntoLines()
199 fEndLine.metrics(), in breakTextIntoLines()
203 fHeight += fEndLine.metrics().height(); in breakTextIntoLines()
206 fEndLine.clean(); in breakTextIntoLines()
208 fEndLine.startFrom(startLine, pos); in breakTextIntoLines()
221 parent->strutMetrics().updateLineMetrics(fEndLine.metrics()); in breakTextIntoLines()
223 …TextRange empty(fEndLine.breakCluster()->textRange().start, fEndLine.breakCluster()->textRange().s… in breakTextIntoLines()
224 …TextRange hardBreak(fEndLine.breakCluster()->textRange().end, fEndLine.breakCluster()->textRange()… in breakTextIntoLines()
225 ClusterRange clusters(fEndLine.breakCluster() - start, fEndLine.breakCluster() - start); in breakTextIntoLines()
231 SkVector::Make(0, fEndLine.metrics().height()), in breakTextIntoLines()
232 fEndLine.metrics(), in breakTextIntoLines()