Lines Matching refs:kTileWidth
34 static constexpr SkScalar kTileWidth = 40; variable
43 static constexpr SkPoint kClipP1 = {1.75f * kTileWidth, 0.8f * kTileHeight};
44 static constexpr SkPoint kClipP2 = {0.6f * kTileWidth, 2.f * kTileHeight};
45 static constexpr SkPoint kClipP3 = {2.9f * kTileWidth, 3.5f * kTileHeight};
132 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()
150 SkRect border = SkRect::MakeWH(kTileWidth * kColCount, kTileHeight * kRowCount); in draw_clipping_boundaries()
230 SkRect tile = SkRect::MakeXYWH(j * kTileWidth, i * kTileHeight, in drawTiles()
231 kTileWidth, kTileHeight); in drawTiles()
441 static constexpr SkScalar kCellWidth = 1.3f * kColCount * kTileWidth; in onISize()
487 canvas->translate(kGap + kColCount * kTileWidth, 0.f); in onDraw()
536 SkRect::MakeWH(kColCount * kTileWidth, kRowCount * kTileHeight).toQuad(src); in configureMatrices()
538 {kColCount * kTileWidth + 10.f, 15.f}, in configureMatrices()
539 {kColCount * kTileWidth - 28.f, kRowCount * kTileHeight + 40.f}, in configureMatrices()
748 SkMatrix gridToImage = SkMatrix::MakeRectToRect(SkRect::MakeWH(kColCount * kTileWidth, in drawTile()
840 static const SkRect kTarget = SkRect::MakeWH(kTileWidth, kTileHeight); in configureTilePaint()
920 static constexpr SkPoint kPts[] = { {0.f, 0.f}, {0.25f * kTileWidth, 0.25f * kTileHeight} }; in make_shader_renderers()
956 {0.5f * kTileWidth * kColCount, 0.5f * kTileHeight * kRowCount}, in make_filtered_renderers()
957 0.25f * kTileWidth * kColCount, kAlphas, nullptr, 2, SkShader::kClamp_TileMode); in make_filtered_renderers()