Lines Matching refs:runOffset

534                     const Run* run, SkScalar runOffset, TextRange textRange, SkScalar* width) {
538 runOffset,
1441 SkScalar runOffset,
1449 textRange, run, runOffset, textOffsetInRun, includeGhostSpaces, textAdjustment);
1584 SkScalar& runOffset,
1589 runOffset += this->ellipsis()->offset().fX;
1591 if (!visitor(ellipsis(), runOffset, fTextRangeReplacedByEllipsis, &runWidthInLine)) {
1596 if (!visitor(ellipsis(), runOffset, ellipsis()->textRange(), &runWidthInLine)) {
1613 SkScalar runOffset = 0;
1625 if (!processEllipsisRun(isAlreadyUseEllipsis, runOffset, ellipsisReadStrategy, visitor, width)) {
1635 if (!processEllipsisRun(isAlreadyUseEllipsis, runOffset, ellipsisReadStrategy, visitor, width)) {
1638 runOffset += width;
1648 if (!run->leftToRight() && runOffset == 0 && includingGhostSpaces) {
1649 // runOffset does not take in account a possibility
1651 // so we need to do runOffset -= "trailing whitespaces length"
1655 auto whitespacesLen = measureTextInsideOneRun(whitespaces, run, runOffset, 0, true,
1657 runOffset -= whitespacesLen;
1661 if (!visitor(run, runOffset, lineIntersection, &width)) {
1665 runOffset += width;
1670 if (!processEllipsisRun(isAlreadyUseEllipsis, runOffset, ellipsisReadStrategy, visitor, width)) {
1673 runOffset += width;
1690 SkScalar runOffset = 0;
1701 if (!run->leftToRight() && runOffset == 0 && includingGhostSpaces) {
1702 // runOffset does not take in account a possibility
1704 // so we need to do runOffset -= "trailing whitespaces length"
1708 auto whitespacesLen = measureTextInsideOneRun(whitespaces, run, runOffset, 0, true, false).clip.width();
1709 runOffset -= whitespacesLen;
1712 runOffset += width;
1714 if (!visitor(run, runOffset, lineIntersection, &width)) {
1719 runOffset += width;
1723 if (visitor(ellipsis(), runOffset, ellipsis()->textRange(), &width)) {
2193 [&boxes, this](const Run* run, SkScalar runOffset, TextRange textRange,
2196 textRange, run, runOffset, 0, true, TextAdjustment::GraphemeGluster);