Searched refs:kCellHeight (Results 1 – 5 of 5) sorted by relevance
/external/skia/bench/ |
D | TableBench.cpp | 13 static const SkScalar kCellHeight = SkIntToScalar(10); variable 47 row * kCellHeight, in onDraw() 49 (row+1) * kCellHeight); in onDraw() 53 row * kCellHeight + (kCellHeight-SK_Scalar1), in onDraw() 55 (row+1) * kCellHeight); in onDraw() 59 row * kCellHeight, in onDraw() 61 (row+1) * kCellHeight); in onDraw()
|
/external/skqp/bench/ |
D | TableBench.cpp | 13 static const SkScalar kCellHeight = SkIntToScalar(10); variable 47 row * kCellHeight, in onDraw() 49 (row+1) * kCellHeight); in onDraw() 53 row * kCellHeight + (kCellHeight-SK_Scalar1), in onDraw() 55 (row+1) * kCellHeight); in onDraw() 59 row * kCellHeight, in onDraw() 61 (row+1) * kCellHeight); in onDraw()
|
/external/skia/gm/ |
D | path_stroke_with_zero_length.cpp | 106 static const int kCellHeight = 20; variable 112 static const int kTotalHeight = kNumRows * (kCellHeight + kCellPad) + kCellPad; 124 SkImageInfo info = canvas->imageInfo().makeWH(kCellWidth, kCellHeight); in draw_zero_length_capped_paths() 127 surface = SkSurface::MakeRasterN32Premul(kCellWidth, kCellHeight); in draw_zero_length_capped_paths() 144 pathStr.appendf("M %f %f ", (kCellWidth - 1) * 0.5f, (kCellHeight - 1) * 0.5f); in draw_zero_length_capped_paths() 166 canvas->translate(0, kCellHeight + kCellPad); in draw_zero_length_capped_paths() 184 SkImageInfo info = canvas->imageInfo().makeWH(kCellWidth, kCellHeight); in draw_zero_length_capped_paths_dbl_contour() 187 surface = SkSurface::MakeRasterN32Premul(kCellWidth, kCellHeight); in draw_zero_length_capped_paths_dbl_contour() 236 canvas->translate(0, kCellHeight + kCellPad); in draw_zero_length_capped_paths_dbl_contour()
|
D | compositor_quads.cpp | 442 static constexpr SkScalar kCellHeight = 1.3f * kRowCount * kTileHeight; in onISize() local 444 SkScalarRoundToInt(kCellHeight * fRenderers.count() + 75.f)); in onISize()
|
/external/skqp/gm/ |
D | path_stroke_with_zero_length.cpp | 106 static const int kCellHeight = 20; variable 112 static const int kTotalHeight = kNumRows * (kCellHeight + kCellPad) + kCellPad; 124 SkImageInfo info = canvas->imageInfo().makeWH(kCellWidth, kCellHeight); in draw_zero_length_capped_paths() 127 surface = SkSurface::MakeRasterN32Premul(kCellWidth, kCellHeight); in draw_zero_length_capped_paths() 144 pathStr.appendf("M %f %f ", (kCellWidth - 1) * 0.5f, (kCellHeight - 1) * 0.5f); in draw_zero_length_capped_paths() 166 canvas->translate(0, kCellHeight + kCellPad); in draw_zero_length_capped_paths() 184 SkImageInfo info = canvas->imageInfo().makeWH(kCellWidth, kCellHeight); in draw_zero_length_capped_paths_dbl_contour() 187 surface = SkSurface::MakeRasterN32Premul(kCellWidth, kCellHeight); in draw_zero_length_capped_paths_dbl_contour() 236 canvas->translate(0, kCellHeight + kCellPad); in draw_zero_length_capped_paths_dbl_contour()
|