Home
last modified time | relevance | path

Searched refs:kCellWidth (Results 1 – 12 of 12) sorted by relevance

/external/skia/bench/
DTableBench.cpp12 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/
DTableBench.cpp12 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/
Dpath_stroke_with_zero_length.cpp105 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/
Dpath_stroke_with_zero_length.cpp116 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()
Dbeziereffects.cpp217 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()
Dcompressed_textures.cpp216 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
Dcompositor_quads.cpp435 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/
Dpack.h218 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
Dpack_avx.h45 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()
Dpack_sse.h45 static constexpr int kCellWidth = CellFormat::kWidth; variable
59 cell_start_width += kCellWidth) { in Pack()
Dpack_neon.h46 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
Dpack_msa.h43 static const int kCellWidth = CellFormat::kWidth; variable
197 static const int kCellWidth = CellFormat::kWidth; variable
366 static const int kCellWidth = CellFormat::kWidth; variable