Lines Matching refs:kCap
33 const int kCap = 28; in make_image() local
35 const int kSize = 2*kCap + 3*kMid; in make_image()
43 const SkScalar radius = SkIntToScalar(kCap) - strokeWidth/2; in make_image()
45 xDivs[0] = kCap + padLeft; in make_image()
46 yDivs[0] = kCap + padTop; in make_image()
47 xDivs[1] = kCap + kMid + padLeft; in make_image()
48 yDivs[1] = kCap + kMid + padTop; in make_image()
49 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
50 yDivs[2] = kCap + 2 * kMid + padTop; in make_image()
51 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
52 yDivs[3] = kCap + 3 * kMid + padTop; in make_image()
60 r.setXYWH(SkIntToScalar(kCap), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
63 r.setXYWH(SkIntToScalar(kCap + kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
66 r.setXYWH(SkIntToScalar(kCap + 2*kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
70 r.setXYWH(0, SkIntToScalar(kCap), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
73 r.setXYWH(0, SkIntToScalar(kCap + kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
76 r.setXYWH(0, SkIntToScalar(kCap + 2*kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()