Lines Matching refs:kTileWidth
36 static constexpr SkScalar kTileWidth = 40; variable
49 static constexpr SkPoint pts[] = { {0.f, 0.f}, {0.25f * kTileWidth, 0.25f * kTileHeight} }; in draw_gradient_tiles()
62 SkRect tile = SkRect::MakeWH(kTileWidth, kTileHeight); in draw_gradient_tiles()
64 tile.offset(j * kTileWidth, i * kTileHeight); in draw_gradient_tiles()
67 canvas->translate(j * kTileWidth, i * kTileHeight); in draw_gradient_tiles()
113 … SkRect tile = SkRect::MakeXYWH(j * kTileWidth, i * kTileHeight, kTileWidth, kTileHeight); in draw_color_tiles()
152 SkPoint pts[] = {{x * kTileWidth, 0}, {x * kTileWidth, kRowCount * kTileHeight}}; in draw_tile_boundaries()
159 SkPoint pts[] = {{0, y * kTileHeight}, {kTileWidth * kColCount, y * kTileHeight}}; in draw_tile_boundaries()
200 SkRect::MakeWH(kColCount * kTileWidth, kRowCount * kTileHeight).toQuad(src); in onDraw()
202 {kColCount * kTileWidth + 10.f, 15.f}, in onDraw()
203 {kColCount * kTileWidth - 28.f, kRowCount * kTileHeight + 40.f}, in onDraw()
215 canvas->translate(kColCount * kTileWidth + 30.f, 0.f); in onDraw()
236 canvas->translate(kColCount * kTileWidth + 30.f, 0.f); in onDraw()