Lines Matching defs:cellRow
118 static void shade_rect(SkCanvas* canvas, sk_sp<SkShader> shader, int cellRow, int cellCol) {
124 SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT));
149 for (int cellRow = 0; cellRow < NUM_ROWS; cellRow++) {
151 const int* colorCounts = INTERVAL_COLOR_COUNTS[cellRow]; // Has len = 4
154 // create_gradient_points(cellRow, cellCol, points);
162 // position based on the interval count (== cellRow+1)
167 positions[i] = SkIntToScalar(layout[i]) / (cellRow + 1);
181 shade_rect(canvas, shader, cellRow, cellCol);