Lines Matching refs:kTileHeight
18 static constexpr SkScalar kTileHeight = 30; variable
29 static constexpr SkPoint pts[] = { {0.f, 0.f}, {0.25f * kTileWidth, 0.25f * kTileHeight} }; in draw_gradient_tiles()
40 SkRect tile = SkRect::MakeWH(kTileWidth, kTileHeight); in draw_gradient_tiles()
42 tile.offset(j * kTileWidth, i * kTileHeight); in draw_gradient_tiles()
45 canvas->translate(j * kTileWidth, i * kTileHeight); in draw_gradient_tiles()
90 … SkRect tile = SkRect::MakeXYWH(j * kTileWidth, i * kTileHeight, kTileWidth, kTileHeight); in draw_color_tiles()
129 SkPoint pts[] = {{x * kTileWidth, 0}, {x * kTileWidth, kRowCount * kTileHeight}}; 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()
180 {kColCount * kTileWidth - 28.f, kRowCount * kTileHeight + 40.f}, in onDraw()
181 {25.f, kRowCount * kTileHeight - 15.f}}; in onDraw()
200 canvas->translate(10.f, 0.5f * kRowCount * kTileHeight); in onDraw()
203 canvas->translate(100.f, -0.5f * kRowCount * kTileHeight); in onDraw()
218 canvas->translate(0.f, kRowCount * kTileHeight + 20.f); in onDraw()