Lines Matching full:phase
157 SkScalar phase = vals[0] / 2;
158 paint.setPathEffect(new SkDashPathEffect(vals, count, phase))->unref();
190 SkScalar phase,
205 p.setPathEffect(new SkDashPathEffect(intervals, 2, phase, false))->unref();
227 // 1on/1off 1x1 squares with phase of 0 - points fastpath
233 // 1on/1off 1x1 squares with phase of .5 - rects fastpath (due to partial squares)
239 // 1on/1off 1x1 squares with phase of 1 - points fastpath
245 // 1on/1off 1x1 squares with phase of 1 and non-integer length - rects fastpath
251 // 255on/255off 1x1 squares with phase of 0 - rects fast path
257 // 1on/1off 3x3 squares with phase of 0 - points fast path
263 // 1on/1off 3x3 squares with phase of 1.5 - rects fast path
269 // 1on/1off 1x1 circles with phase of 1 - no fast path yet
275 // 1on/1off 3x3 circles with phase of 1 - no fast path yet
290 // 3on/3off 3x1 rects - should use rect fast path regardless of phase
291 for (int phase = 0; phase <= 3; ++phase) {
293 canvas->translate(SkIntToScalar(phase*110+2),
295 this->drawDashedLines(canvas, 100, SkIntToScalar(phase), SkIntToScalar(3), 1, false);