Home
last modified time | relevance | path

Searched refs:kCellSize (Results 1 – 18 of 18) sorted by relevance

/external/skqp/gm/
Dperspshaders.cpp40 return SkISize::Make(kCellSize*kNumCols, kCellSize*kNumRows); in onISize()
44 fBitmap = sk_tool_utils::create_checkerboard_bitmap(kCellSize, kCellSize, in onOnceBeforeDraw()
46 kCellSize/10); in onOnceBeforeDraw()
52 { SkIntToScalar(kCellSize), SkIntToScalar(kCellSize) } in onOnceBeforeDraw()
56 { 0, SkIntToScalar(kCellSize) } in onOnceBeforeDraw()
72 fPath.lineTo(0, SkIntToScalar(kCellSize)); in onOnceBeforeDraw()
73 fPath.lineTo(kCellSize/2.0f, kCellSize/2.0f); in onOnceBeforeDraw()
74 fPath.lineTo(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize)); in onOnceBeforeDraw()
75 fPath.lineTo(SkIntToScalar(kCellSize), 0); in onOnceBeforeDraw()
96 SkRect r = SkRect::MakeWH(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize)); in drawRow()
[all …]
Dtrickycubicstrokes.cpp16 static constexpr int kCellSize = 200; variable
58 return SkISize::Make(3*kCellSize, 3*kCellSize); in onISize()
73 SkRect::MakeXYWH((i%3) * kCellSize, (i/3) * kCellSize, kCellSize, in onDraw()
74 kCellSize)); in onDraw()
Dflippity.cpp23 static const int kCellSize = kImageSize+2*kLabelSize; variable
24 static const int kGMWidth = kNumMatrices*kCellSize;
25 static const int kGMHeight = 4*kCellSize;
206 canvas->translate(kCellSize, 0); in drawRow()
242 canvas->translate(0, kCellSize); in onDraw()
247 canvas->translate(0, kCellSize); in onDraw()
252 canvas->translate(0, kCellSize); in onDraw()
261 canvas->drawLine(0, i * kCellSize, kGMWidth, i * kCellSize, SkPaint()); in onDraw()
264 canvas->drawLine(i * kCellSize, 0, i * kCellSize, kGMHeight, SkPaint()); in onDraw()
Dskinning.cpp18 static const int kCellSize = 60; variable
116 int xpos = kCellSize; in onDraw()
117 int ypos = kCellSize; in onDraw()
170 xpos += kCellSize; in drawPermutations()
171 if (xpos > kCellSize * kColumnSize) { in drawPermutations()
172 xpos = kCellSize; in drawPermutations()
173 ypos += kCellSize; in drawPermutations()
Dpolygons.cpp31 int width = kNumPolygons * kCellSize + 40; in onISize()
32 int height = (kNumJoins * kNumStrokeWidths + kNumExtraStyles) * kCellSize + 40; in onISize()
83 SkScalar x = SK_Scalar1 * kCellSize * (counter % lineNum) + 30 + SK_Scalar1 / 4; in SetLocation()
84 SkScalar y = SK_Scalar1 * kCellSize * (counter / lineNum) + 30 + 3 * SK_Scalar1 / 4; in SetLocation()
156 static constexpr int kCellSize = 100; member in skiagm::PolygonsGM
Ddashcubics.cpp102 static constexpr SkSize kCellSize = { 440, 150 }; in onDraw() local
148 canvas->translate(kCellSize.width(), 0); in onDraw()
152 canvas->translate(0, kCellSize.height()); in onDraw()
/external/skia/gm/
Dperspshaders.cpp40 return SkISize::Make(kCellSize*kNumCols, kCellSize*kNumRows); in onISize()
44 fBitmap = sk_tool_utils::create_checkerboard_bitmap(kCellSize, kCellSize, in onOnceBeforeDraw()
46 kCellSize/10); in onOnceBeforeDraw()
52 { SkIntToScalar(kCellSize), SkIntToScalar(kCellSize) } in onOnceBeforeDraw()
56 { 0, SkIntToScalar(kCellSize) } in onOnceBeforeDraw()
72 fPath.lineTo(0, SkIntToScalar(kCellSize)); in onOnceBeforeDraw()
73 fPath.lineTo(kCellSize/2.0f, kCellSize/2.0f); in onOnceBeforeDraw()
74 fPath.lineTo(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize)); in onOnceBeforeDraw()
75 fPath.lineTo(SkIntToScalar(kCellSize), 0); in onOnceBeforeDraw()
96 SkRect r = SkRect::MakeWH(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize)); in drawRow()
[all …]
Dtrickycubicstrokes.cpp16 static constexpr int kCellSize = 200; variable
58 return SkISize::Make(3*kCellSize, 3*kCellSize); in onISize()
73 SkRect::MakeXYWH((i%3) * kCellSize, (i/3) * kCellSize, kCellSize, in onDraw()
74 kCellSize)); in onDraw()
Dflippity.cpp23 static const int kCellSize = kImageSize+2*kLabelSize; variable
24 static const int kGMWidth = kNumMatrices*kCellSize;
25 static const int kGMHeight = 4*kCellSize;
206 canvas->translate(kCellSize, 0); in drawRow()
236 canvas->translate(0, kCellSize); in onDraw()
241 canvas->translate(0, kCellSize); in onDraw()
246 canvas->translate(0, kCellSize); in onDraw()
255 canvas->drawLine(0, i * kCellSize, kGMWidth, i * kCellSize, SkPaint()); in onDraw()
258 canvas->drawLine(i * kCellSize, 0, i * kCellSize, kGMHeight, SkPaint()); in onDraw()
Dskinning.cpp18 static const int kCellSize = 60; variable
116 int xpos = kCellSize; in onDraw()
117 int ypos = kCellSize; in onDraw()
170 xpos += kCellSize; in drawPermutations()
171 if (xpos > kCellSize * kColumnSize) { in drawPermutations()
172 xpos = kCellSize; in drawPermutations()
173 ypos += kCellSize; in drawPermutations()
Dpolygons.cpp31 int width = kNumPolygons * kCellSize + 40; in onISize()
32 int height = (kNumJoins * kNumStrokeWidths + kNumExtraStyles) * kCellSize + 40; in onISize()
83 SkScalar x = SK_Scalar1 * kCellSize * (counter % lineNum) + 30 + SK_Scalar1 / 4; in SetLocation()
84 SkScalar y = SK_Scalar1 * kCellSize * (counter / lineNum) + 30 + 3 * SK_Scalar1 / 4; in SetLocation()
156 static constexpr int kCellSize = 100; member in skiagm::PolygonsGM
Ddashcubics.cpp102 static constexpr SkSize kCellSize = { 440, 150 }; in onDraw() local
148 canvas->translate(kCellSize.width(), 0); in onDraw()
152 canvas->translate(0, kCellSize.height()); in onDraw()
/external/gemmlowp/internal/
Dpack_sse.h48 static const int kCellSize = CellFormat::kSize; variable
85 reinterpret_cast<__m128i*>(&dst_ptr[kCellSize * kCells]), xmm10); in Pack()
91 reinterpret_cast<__m128i*>(&dst_ptr[2 * kCellSize * kCells]), in Pack()
94 reinterpret_cast<__m128i*>(&dst_ptr[3 * kCellSize * kCells]), in Pack()
118 dst_ptr += kCellSize; in Pack()
120 dst_ptr += 3 * kCellSize * kCells; in Pack()
Dpack_neon.h46 static const int kCellSize = CellFormat::kSize; variable
147 static const int kCellSize = CellFormat::kSize; variable
272 static const int kCellSize = CellFormat::kSize; variable
Dpack.h216 static const int kCellSize = CellFormat::kSize; variable
280 dst_ptr += kCellSize; in Pack()
Dpack_msa.h46 static const int kCellSize = CellFormat::kSize; variable
200 static const int kCellSize = CellFormat::kSize; variable
/external/skia/samplecode/
DSampleAtlas.cpp72 kCellSize = 32, enumerator
125 SkScalarHalf(kCellSize), SkScalarHalf(kCellSize)); in asRSXform()
146 fAtlas = make_atlas(kAtlasSize, kCellSize); in DrawAtlasDrawable()
148 const SkScalar cell = SkIntToScalar(kCellSize); in DrawAtlasDrawable()
150 for (int y = 0; y < kAtlasSize; y += kCellSize) { in DrawAtlasDrawable()
151 for (int x = 0; x < kAtlasSize; x += kCellSize) { in DrawAtlasDrawable()
195 const SkScalar border = kMaxScale * kCellSize; in onGetBounds()
/external/skqp/samplecode/
DSampleAtlas.cpp72 kCellSize = 32, enumerator
125 SkScalarHalf(kCellSize), SkScalarHalf(kCellSize)); in asRSXform()
146 fAtlas = make_atlas(kAtlasSize, kCellSize); in DrawAtlasDrawable()
148 const SkScalar cell = SkIntToScalar(kCellSize); in DrawAtlasDrawable()
150 for (int y = 0; y < kAtlasSize; y += kCellSize) { in DrawAtlasDrawable()
151 for (int x = 0; x < kAtlasSize; x += kCellSize) { in DrawAtlasDrawable()
195 const SkScalar border = kMaxScale * kCellSize; in onGetBounds()