Lines Matching refs:phase
15 SkScalar phase = SkIntToScalar(0), in drawline() argument
24 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); in drawline()
176 SkScalar phase = vals[0] / 2; in onDraw() local
177 paint.setPathEffect(SkDashPathEffect::Create(vals, count, phase))->unref(); in onDraw()
210 SkScalar phase, in drawDashedLines() argument
225 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); in drawDashedLines()
311 for (int phase = 0; phase <= 3; ++phase) { in onDraw() local
313 canvas->translate(SkIntToScalar(phase*110+2), in onDraw()
315 … this->drawDashedLines(canvas, 100, SkIntToScalar(phase), SkIntToScalar(3), 1, false); in onDraw()
450 int phase = 0; in onDraw() local
453 paint.setStrokeWidth(SkIntToScalar(phase+1)); in onDraw()
454 paint.setColor(gColors[phase]); in onDraw()
458 SkIntToScalar(phase), in onDraw()
460 phase = (phase + 1) % kIntervalLength; in onDraw()
464 paint.setStrokeWidth(SkIntToScalar(phase+1)); in onDraw()
465 paint.setColor(gColors[phase]); in onDraw()
469 SkIntToScalar(phase), in onDraw()
471 phase = (phase + 1) % kIntervalLength; in onDraw()