Lines Matching refs:kColCount
21 static constexpr int kColCount = 3; variable
39 for (int j = 0; j < kColCount; ++j) { in draw_gradient_tiles()
58 if (j == kColCount - 1) { in draw_gradient_tiles()
73 : (i * kColCount + j) % 2 == 0 ? SK_ColorBLUE in draw_gradient_tiles()
89 for (int j = 0; j < kColCount; ++j) { in draw_color_tiles()
94 color = {(i + 1.f) / kRowCount, (j + 1.f) / kColCount, .4f, 1.f}; in draw_color_tiles()
109 if (j == kColCount - 1) { in draw_color_tiles()
128 for (int x = 1; x < kColCount; ++x) { in draw_tile_boundaries()
136 SkPoint pts[] = {{0, y * kTileHeight}, {kTileWidth * kColCount, y * kTileHeight}}; in draw_tile_boundaries()
177 SkRect::MakeWH(kColCount * kTileWidth, kRowCount * kTileHeight).toQuad(src); in onDraw()
179 {kColCount * kTileWidth + 10.f, 15.f}, in onDraw()
180 {kColCount * kTileWidth - 28.f, kRowCount * kTileHeight + 40.f}, in onDraw()
192 canvas->translate(kColCount * kTileWidth + 30.f, 0.f); in onDraw()
213 canvas->translate(kColCount * kTileWidth + 30.f, 0.f); in onDraw()