Searched refs:kRowCount (Results 1 – 3 of 3) sorted by relevance
/external/skqp/gm/ |
D | drawquadset.cpp | 20 static constexpr int kRowCount = 4; variable 38 for (int i = 0; i < kRowCount; ++i) { in draw_gradient_tiles() 52 if (i == kRowCount - 1) { in draw_gradient_tiles() 88 for (int i = 0; i < kRowCount; ++i) { in draw_color_tiles() 94 color = {(i + 1.f) / kRowCount, (j + 1.f) / kColCount, .4f, 1.f}; in draw_color_tiles() 103 if (i == kRowCount - 1) { in draw_color_tiles() 129 SkPoint pts[] = {{x * kTileWidth, 0}, {x * kTileWidth, kRowCount * kTileHeight}}; in draw_tile_boundaries() 135 for (int y = 1; y < kRowCount; ++y) { 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() [all …]
|
/external/skia/gm/ |
D | drawquadset.cpp | 20 static constexpr int kRowCount = 4; variable 40 for (int i = 0; i < kRowCount; ++i) { in draw_gradient_tiles() 54 if (i == kRowCount - 1) { in draw_gradient_tiles() 89 for (int i = 0; i < kRowCount; ++i) { in draw_color_tiles() 95 color = {(i + 1.f) / kRowCount, (j + 1.f) / kColCount, .4f, 1.f}; in draw_color_tiles() 104 if (i == kRowCount - 1) { in draw_color_tiles() 130 SkPoint pts[] = {{x * kTileWidth, 0}, {x * kTileWidth, kRowCount * kTileHeight}}; in draw_tile_boundaries() 136 for (int y = 1; y < kRowCount; ++y) { in draw_tile_boundaries() 178 SkRect::MakeWH(kColCount * kTileWidth, kRowCount * kTileHeight).toQuad(src); in onDraw() 181 {kColCount * kTileWidth - 28.f, kRowCount * kTileHeight + 40.f}, in onDraw() [all …]
|
D | compositor_quads.cpp | 37 static constexpr int kRowCount = 4; variable 132 SkPoint pts[] = {{x * kTileWidth, 0}, {x * kTileWidth, kRowCount * kTileHeight}}; in draw_tile_boundaries() 135 for (int y = 1; y < kRowCount; ++y) { in draw_tile_boundaries() 150 SkRect border = SkRect::MakeWH(kTileWidth * kColCount, kTileHeight * kRowCount); in draw_clipping_boundaries() 227 for (int i = 0; i < kRowCount; ++i) { in drawTiles() 235 edgeAA[2] = i == kRowCount - 1; // Bottom in drawTiles() 442 static constexpr SkScalar kCellHeight = 1.3f * kRowCount * kTileHeight; in onISize() 482 canvas->translate(0.f, kGap + kRowCount * kTileHeight); in onDraw() 493 canvas->translate(kOffset, kGap + 0.5f * kRowCount * kTileHeight); in onDraw() 498 canvas->translate(0.f, kGap + kRowCount * kTileHeight); in onDraw() [all …]
|