Home | History | Annotate | Download | only in tests

Lines Matching refs:step

54 static double binary_search(const SkDCubic& cubic, double step, const SkDPoint& pt, double t,
56 double firstStep = step;
66 if (step == 0) {
67 SkDebugf("binary search failed: step=%1.9g cubic=", firstStep);
74 double lastStep = step;
75 step /= 2;
80 // use larger x/y difference to choose step
82 t -= step;
92 t += step;
205 double step = 1e-6;
207 step = 1e-1;
209 step = 1e-2;
211 step = 1e-3;
213 step = 1e-4;
215 step = 1e-5;
219 double newT = binary_search(cubic, step, pt, t, &iters);
224 step *= 1.5;
225 SkASSERT_RELEASE(step < 1);