Lines Matching refs:yDivs
32 static sk_sp<SkImage> make_image(SkCanvas* root, int* xDivs, int* yDivs, int padLeft, int padTop, in make_image() argument
47 yDivs[0] = kCap + padTop; in make_image()
49 yDivs[1] = kCap + kMid + padTop; in make_image()
51 yDivs[2] = kCap + 2 * kMid + padTop; in make_image()
53 yDivs[3] = kCap + 3 * kMid + padTop; in make_image()
112 int yDivs[5]; in onDrawHelper() local
114 yDivs[0] = padTop; in onDrawHelper()
117 sk_sp<SkImage> image = make_image(canvas, xDivs + 1, yDivs + 1, padLeft, padTop, in onDrawHelper()
137 lattice.fYDivs = yDivs + 1; in onDrawHelper()
164 int srcY = yDivs[fixedColorY[rectNum]-1]; in onDrawHelper()
173 lattice.fYDivs = yDivs; in onDrawHelper()
296 int yDivs[2] = {1, 2}; in onDrawHelper() local
308 lattice.fYDivs = yDivs; in onDrawHelper()