Lines Matching defs:cellRow
68 static void shade_rect(SkCanvas* canvas, sk_sp<SkShader> shader, int cellRow, int cellCol) {
73 SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT),
80 static void create_gradient_points(int cellRow, int cellCol, SkPoint points[2]) {
85 auto y = SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT + RECT_HEIGHT/2);
152 for (int cellRow = 0; cellRow < NUM_ROWS; cellRow++) {
154 create_gradient_points(cellRow, cellCol, points);
159 positions[cellRow],
160 numGradientColors[cellRow],
165 shade_rect(canvas, shader, cellRow, cellCol);