/external/skia/gm/ |
D | emptypath.cpp | 122 static constexpr SkPoint kPts[kPtsCount] = { variable 130 for (SkPoint p : kPts) { in make_path_move() 138 for (SkPoint p : kPts) { in make_path_move_close() 146 for (SkPoint p : kPts) { in make_path_move_line() 153 return SkPathBuilder().moveTo(kPts[0]) in make_path_move_mix() 154 .moveTo(kPts[1]).close() in make_path_move_mix() 155 .moveTo(kPts[2]).lineTo(kPts[2]) in make_path_move_mix() 183 canvas->drawPoints(SkCanvas::kPoints_PointMode, kPtsCount, kPts, dotPaint); in onDraw()
|
D | rrectclipdrawpaint.cpp | 44 constexpr SkPoint kPts[] = {{0.f, 0.f}, {256.f, 256.f}}; variable 46 p.setShader(SkGradientShader::MakeLinear(kPts, kColors1, nullptr, 2, SkTileMode::kClamp));
|
D | stroke_rect_shader.cpp | 30 constexpr SkPoint kPts[] {{kRect.fLeft, kRect.fTop}, {kRect.fRight, kRect.fBottom}}; variable 32 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
|
D | modecolorfilters.cpp | 34 constexpr SkPoint kPts[] = {{0, 0}, {1, 1}}; in make_color_shader() local 37 return SkGradientShader::MakeLinear(kPts, colors, nullptr, 2, SkTileMode::kClamp); in make_color_shader()
|
D | coloremoji.cpp | 39 constexpr SkPoint kPts[] = { { 0, 0 }, { 32, 32 } }; in MakeLinear() local 42 return SkGradientShader::MakeLinear(kPts, kColors, kPos, std::size(kColors), in MakeLinear()
|
D | gradients_no_texture.cpp | 110 constexpr SkPoint kPts[2] = { { 0, 0 }, in onDraw() local 124 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM)); in onDraw()
|
D | compositor_quads.cpp | 1002 static constexpr SkPoint kPts[] = { {0.f, 0.f}, {0.25f * kTileWidth, 0.25f * kTileHeight} }; in make_shader_renderers() local 1004 auto gradient = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2, in make_shader_renderers()
|
/external/libwebm/testing/ |
D | video_frame_tests.cc | 14 const std::int64_t kPts = 12345; variable 52 libwebm::VideoFrame keyframe(kKeyframe, kPts, kCodec); in TEST() 54 EXPECT_EQ(kPts, keyframe.nanosecond_pts()); in TEST() 63 EXPECT_EQ(kPts, keyframe.nanosecond_pts()); in TEST() 68 EXPECT_TRUE(keyframe.Init(kSize, kPts + 1, libwebm::VideoFrame::kVP9)); in TEST() 71 EXPECT_NE(kPts, keyframe.nanosecond_pts()); in TEST()
|
/external/skia/bench/ |
D | ClearBench.cpp | 24 static const SkPoint kPts[] = {{0, 0}, {10, 10}}; in make_shader() local 26 return SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2, SkTileMode::kClamp); in make_shader()
|
/external/skia/src/core/ |
D | SkPathBuilder.cpp | 668 const int kPts = 4; // moveTo + 3 lines in addRect() local 670 this->incReserve(kPts, kVerbs); in addRect() 684 const int kPts = 9; // moveTo + 4 conics(2 pts each) in addOval() local 686 this->incReserve(kPts, kVerbs); in addOval()
|
/external/skia/tests/ |
D | PathTest.cpp | 4230 const SkPoint kPts[] = {{4, 4}, {6, 6}, {8, 8}, {6, 8}, {4, 8}, {4, 6}, {4, 4}}; in test_contains() local 4231 p.moveTo(kPts[0]); in test_contains() 4232 for (int index = 1; index < (int) std::size(kPts); index += 2) { in test_contains() 4233 p.conicTo(kPts[index], kPts[index + 1], 0.5f); in test_contains() 4238 for (int index = 0; index < (int) std::size(kPts) - 2; index += 2) { in test_contains() 4239 SkConic conic(&kPts[index], 0.5f); in test_contains()
|