Lines Matching refs:delta
15 static void draw_gradient2(SkCanvas* canvas, const SkRect& rect, SkScalar delta) { in draw_gradient2() argument
26 SkPoint c0 = { l + 2 * w / 5 + delta, t + h / 2 }; in draw_gradient2()
55 SkScalar delta = fTime / 15.f; in onDrawContent() local
56 int intPart = SkScalarFloorToInt(delta); in onDrawContent()
57 delta = delta - SK_Scalar1 * intPart; in onDrawContent()
59 delta = SK_Scalar1 - delta; in onDrawContent()
61 delta -= SK_ScalarHalf; in onDrawContent()
63 delta /= DELTA_SCALE; in onDrawContent()
69 draw_gradient2(canvas, SkRect::MakeXYWH(l, t, w, h), delta); in onDrawContent()
71 txt.appendf("gap at \"tangent\" pt = %f", SkScalarToFloat(delta)); in onDrawContent()
72 canvas->drawString(txt, l + w / 2 + w * DELTA_SCALE * delta, t + h + SK_Scalar1 * 10, in onDrawContent()