Lines Matching defs:shift
811 SkScalar shift = 0.0f;
833 shift += step;
839 shift += step;
848 this->shiftCluster(cluster, shift, prevShift);
849 prevShift = shift;
852 shift += step;
861 shift -= step;
864 SkAssertResult(nearlyEqual(shift, maxWidth - textLen));
871 void TextLine::shiftCluster(const Cluster* cluster, SkScalar shift, SkScalar prevShift) {
878 // Set the same shift for the fake last glyph (to avoid all extra checks)
888 run.fJustificationShifts[pos] = { shift, prevShift };
897 // Set the same shift for the fake last glyph (to avoid all extra checks)
1270 // Update textRange by cluster edges (shift start up to the edge of the cluster)
1285 // Update text range by grapheme edges (shift start up to the edge of the grapheme)