/external/skia/bench/ |
D | TableBench.cpp | 12 static const SkScalar kCellWidth = SkIntToScalar(20); variable 46 SkRect cell = SkRect::MakeLTRB(col * kCellWidth, in onDraw() 48 (col+1) * kCellWidth, in onDraw() 52 SkRect bottom = SkRect::MakeLTRB(col * kCellWidth, in onDraw() 54 (col+1) * kCellWidth, in onDraw() 58 SkRect right = SkRect::MakeLTRB(col * kCellWidth + (kCellWidth-SK_Scalar1), in onDraw() 60 (col+1) * kCellWidth, in onDraw()
|
/external/skqp/bench/ |
D | TableBench.cpp | 12 static const SkScalar kCellWidth = SkIntToScalar(20); variable 46 SkRect cell = SkRect::MakeLTRB(col * kCellWidth, in onDraw() 48 (col+1) * kCellWidth, in onDraw() 52 SkRect bottom = SkRect::MakeLTRB(col * kCellWidth, in onDraw() 54 (col+1) * kCellWidth, in onDraw() 58 SkRect right = SkRect::MakeLTRB(col * kCellWidth + (kCellWidth-SK_Scalar1), in onDraw() 60 (col+1) * kCellWidth, in onDraw()
|
/external/skqp/gm/ |
D | path_stroke_with_zero_length.cpp | 105 static const int kCellWidth = 50; variable 111 static const int kTotalWidth = kNumColumns * (kCellWidth + kCellPad) + kCellPad; 115 static const int kDblContourTotalWidth = kDblContourNumColums * (kCellWidth + 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() 163 canvas->translate(kCellWidth + kCellPad, 0); 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() 232 canvas->translate(kCellWidth + kCellPad, 0); in draw_zero_length_capped_paths_dbl_contour()
|
/external/skia/gm/ |
D | path_stroke_with_zero_length.cpp | 116 static const int kCellWidth = 50; variable 122 static const int kTotalWidth = kNumColumns * (kCellWidth + kCellPad) + kCellPad; 126 static const int kDblContourTotalWidth = kDblContourNumColums * (kCellWidth + kCellPad) + kCellPad; 144 SkImageInfo info = canvas->imageInfo().makeWH(kCellWidth, kCellHeight); in draw_zero_length_capped_paths() 147 surface = SkSurface::MakeRasterN32Premul(kCellWidth, kCellHeight); in draw_zero_length_capped_paths() 164 pathStr.appendf("M %f %f ", (kCellWidth - 1) * 0.5f, (kCellHeight - 1) * 0.5f); in draw_zero_length_capped_paths() 183 canvas->translate(kCellWidth + kCellPad, 0); in draw_zero_length_capped_paths() 215 SkImageInfo info = canvas->imageInfo().makeWH(kCellWidth, kCellHeight); in draw_zero_length_capped_paths_dbl_contour() 218 surface = SkSurface::MakeRasterN32Premul(kCellWidth, kCellHeight); in draw_zero_length_capped_paths_dbl_contour() 263 canvas->translate(kCellWidth + kCellPad, 0); in draw_zero_length_capped_paths_dbl_contour()
|
D | beziereffects.cpp | 217 static const int kCellWidth = 128; member in skiagm::BezierConicEffects 225 return SkISize::Make(kCellWidth, kNumConics*kCellHeight); in onISize() 231 const SkScalar w = kCellWidth, h = kCellHeight; in onDraw() 417 static const int kCellWidth = 128; member in skiagm::BezierQuadEffects 425 return SkISize::Make(kCellWidth, kNumQuads*kCellHeight); in onISize() 431 const SkScalar w = kCellWidth, h = kCellHeight; in onDraw()
|
D | compressed_textures.cpp | 216 return SkISize::Make(2*kCellWidth + 3*kPad, 2*kBaseTexHeight + 3*kPad); in onISize() 261 this->drawCell(canvas, fOpaqueBC1Image.get(), { 2*kPad + kCellWidth, kPad }); in onDraw() 264 { 2*kPad + kCellWidth, 2*kPad + kBaseTexHeight }); in onDraw() 311 static const int kCellWidth = 1.5f * kBaseTexWidth; member in CompressedTexturesGM
|
D | compositor_quads.cpp | 435 static constexpr SkScalar kCellWidth = 1.3f * kColCount * kTileWidth; in onISize() local 437 return SkISize::Make(SkScalarRoundToInt(kCellWidth * kMatrixCount + 175.f), in onISize()
|
/external/gemmlowp/internal/ |
D | pack.h | 218 static constexpr int kCellWidth = CellFormat::kWidth; variable 270 cell_start_width += kCellWidth) { in Pack() 274 complete_src_.block(cell_start_width, cell_start_depth, kCellWidth, in Pack() 276 for (int w = 0; w < kCellWidth; w++) { in Pack() 306 static constexpr int kCellWidth = CellFormat::kWidth; variable
|
D | pack_avx.h | 45 static const int kCellWidth = CellFormat::kWidth; variable 59 cell_start_width += kCellWidth) { in Pack() 199 static const int kCellWidth = CellFormat::kWidth; variable 213 cell_start_width += kCellWidth) { in Pack()
|
D | pack_sse.h | 45 static constexpr int kCellWidth = CellFormat::kWidth; variable 59 cell_start_width += kCellWidth) { in Pack()
|
D | pack_neon.h | 46 static const int kCellWidth = CellFormat::kWidth; variable 147 static const int kCellWidth = CellFormat::kWidth; variable 272 static const int kCellWidth = CellFormat::kWidth; variable 337 static const int kCellWidth = CellFormat::kWidth; variable
|
D | pack_msa.h | 43 static const int kCellWidth = CellFormat::kWidth; variable 197 static const int kCellWidth = CellFormat::kWidth; variable 366 static const int kCellWidth = CellFormat::kWidth; variable
|