Lines Matching refs:kCap
20 const int kCap = 28; in make_image() local
22 const int kSize = 2*kCap + 3*kMid; in make_image()
30 const SkScalar radius = SkIntToScalar(kCap) - strokeWidth/2; in make_image()
32 xDivs[0] = kCap + padLeft; in make_image()
33 yDivs[0] = kCap + padTop; in make_image()
34 xDivs[1] = kCap + kMid + padLeft; in make_image()
35 yDivs[1] = kCap + kMid + padTop; in make_image()
36 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
37 yDivs[2] = kCap + 2 * kMid + padTop; in make_image()
38 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
39 yDivs[3] = kCap + 3 * kMid + padTop; in make_image()
47 r.setXYWH(SkIntToScalar(kCap), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
50 r.setXYWH(SkIntToScalar(kCap + kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
53 r.setXYWH(SkIntToScalar(kCap + 2*kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
57 r.setXYWH(0, SkIntToScalar(kCap), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
60 r.setXYWH(0, SkIntToScalar(kCap + kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
63 r.setXYWH(0, SkIntToScalar(kCap + 2*kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()