/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 33 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 | 40 constexpr SkPoint kPts[] = { { 0, 0 }, { 32, 32 } }; in MakeLinear() local 43 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(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 | 1003 static constexpr SkPoint kPts[] = { {0.f, 0.f}, {0.25f * kTileWidth, 0.25f * kTileHeight} }; in make_shader_renderers() local 1005 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/skqp/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, SkShader::kClamp_TileMode); in make_shader()
|
/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/skqp/gm/ |
D | rrectclipdrawpaint.cpp | 36 constexpr SkPoint kPts[] = {{0.f, 0.f}, {256.f, 256.f}}; variable 38 p.setShader(SkGradientShader::MakeLinear(kPts, kColors1, nullptr, 2,
|
D | stroke_rect_shader.cpp | 18 constexpr SkPoint kPts[] {{kRect.fLeft, kRect.fTop}, {kRect.fRight, kRect.fBottom}}; variable 21 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
|
D | modecolorfilters.cpp | 20 constexpr SkPoint kPts[] = {{0, 0}, {1, 1}}; in make_color_shader() local 23 return SkGradientShader::MakeLinear(kPts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_color_shader()
|
D | coloremoji.cpp | 26 constexpr SkPoint kPts[] = { { 0, 0 }, { 32, 32 } }; in MakeLinear() local 29 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), in MakeLinear()
|
D | gradients_no_texture.cpp | 95 constexpr SkPoint kPts[2] = { { 0, 0 }, in onDraw() local 109 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM)); in onDraw()
|
/external/skia/src/core/ |
D | SkPathBuilder.cpp | 648 const int kPts = 4; // moveTo + 3 lines in addRect() local 650 this->incReserve(kPts, kVerbs); in addRect() 664 const int kPts = 9; // moveTo + 4 conics(2 pts each) in addOval() local 666 this->incReserve(kPts, kVerbs); in addOval()
|
/external/skqp/tests/ |
D | PathTest.cpp | 4143 const SkPoint kPts[] = {{4, 4}, {6, 6}, {8, 8}, {6, 8}, {4, 8}, {4, 6}, {4, 4}}; in test_contains() local 4144 p.moveTo(kPts[0]); in test_contains() 4145 for (int index = 1; index < (int) SK_ARRAY_COUNT(kPts); index += 2) { in test_contains() 4146 p.conicTo(kPts[index], kPts[index + 1], 0.5f); in test_contains() 4151 for (int index = 0; index < (int) SK_ARRAY_COUNT(kPts) - 2; index += 2) { in test_contains() 4152 SkConic conic(&kPts[index], 0.5f); in test_contains()
|
/external/skia/tests/ |
D | PathTest.cpp | 4151 const SkPoint kPts[] = {{4, 4}, {6, 6}, {8, 8}, {6, 8}, {4, 8}, {4, 6}, {4, 4}}; in test_contains() local 4152 p.moveTo(kPts[0]); in test_contains() 4153 for (int index = 1; index < (int) SK_ARRAY_COUNT(kPts); index += 2) { in test_contains() 4154 p.conicTo(kPts[index], kPts[index + 1], 0.5f); in test_contains() 4159 for (int index = 0; index < (int) SK_ARRAY_COUNT(kPts) - 2; index += 2) { in test_contains() 4160 SkConic conic(&kPts[index], 0.5f); in test_contains()
|