Lines Matching full:phase

16                      SkScalar phase = SkIntToScalar(0),  in drawline()  argument
25 p.setPathEffect(SkDashPathEffect::Make(intervals, 2, phase)); in drawline()
177 SkScalar phase = vals[0] / 2; in onDraw() local
178 paint.setPathEffect(SkDashPathEffect::Make(vals, count, phase)); in onDraw()
211 SkScalar phase, in drawDashedLines() argument
226 p.setPathEffect(SkDashPathEffect::Make(intervals, 2, phase)); in drawDashedLines()
248 // 1on/1off 1x1 squares with phase of 0 - points fastpath in onDraw()
254 // 1on/1off 1x1 squares with phase of .5 - rects fastpath (due to partial squares) in onDraw()
260 // 1on/1off 1x1 squares with phase of 1 - points fastpath in onDraw()
266 // 1on/1off 1x1 squares with phase of 1 and non-integer length - rects fastpath in onDraw()
272 // 255on/255off 1x1 squares with phase of 0 - rects fast path in onDraw()
278 // 1on/1off 3x3 squares with phase of 0 - points fast path in onDraw()
284 // 1on/1off 3x3 squares with phase of 1.5 - rects fast path in onDraw()
290 // 1on/1off 1x1 circles with phase of 1 - no fast path yet in onDraw()
296 // 1on/1off 3x3 circles with phase of 1 - no fast path yet in onDraw()
311 // 3on/3off 3x1 rects - should use rect fast path regardless of phase in onDraw()
312 for (int phase = 0; phase <= 3; ++phase) { in onDraw() local
314 canvas->translate(SkIntToScalar(phase*110+2), in onDraw()
316 … this->drawDashedLines(canvas, 100, SkIntToScalar(phase), SkIntToScalar(3), 1, false); in onDraw()
473 int phase = 0; in onDraw() local
476 paint.setStrokeWidth(SkIntToScalar(phase+1)); in onDraw()
477 paint.setColor(gColors[phase]); in onDraw()
481 SkIntToScalar(phase), in onDraw()
483 phase = (phase + 1) % kIntervalLength; in onDraw()
487 paint.setStrokeWidth(SkIntToScalar(phase+1)); in onDraw()
488 paint.setColor(gColors[phase]); in onDraw()
492 SkIntToScalar(phase), in onDraw()
494 phase = (phase + 1) % kIntervalLength; in onDraw()