/external/skqp/gm/ |
H A D | lcdblendmodes.cpp | 27 const SkPoint pts[] = { local 34 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors),
|
H A D | matrixconvolution.cpp | 43 SkPoint pts[2] = { SkPoint::Make(0, 0), local 47 pts, fColors, pos, 2, SkShader::kClamp_TileMode));
|
H A D | srcmode.cpp | 26 const SkPoint pts[] = { { 0, 0 }, { W, H } }; local 27 paint->setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors),
|
H A D | strokes.cpp | 246 SkPoint pts[] = {{105.738571f,13.126318f}, local 249 SkVector tangent = pts[1] - pts[2]; 252 memcpy(pts2, pts, sizeof(pts)); 265 path.moveTo(pts[0]); 266 path.quadTo(pts[1], pts[2]);
|
H A D | aaclip.cpp | 18 const SkPoint pts[] = { local 36 for (size_t i = 0; i < SK_ARRAY_COUNT(pts); i += 2) { 37 cmap.setPts(pts[i], pts[i+1]);
|
H A D | colorfilterimagefilter.cpp | 58 const SkPoint pts[] = { { 0, 0 }, { 100, 100 } }; local 60 return SkGradientShader::MakeLinear(pts, colors, nullptr, 3, SkShader::kRepeat_TileMode); 64 const SkPoint pts[] = { { 0, 0 }, { 100, 100 } }; local 66 return SkGradientShader::MakeLinear(pts, colors, nullptr, 3, SkShader::kRepeat_TileMode);
|
H A D | tilemodes.cpp | 26 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(w), SkIntToScalar(h)} }; local 32 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, SK_ARRAY_COUNT(colors), 168 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; local 176 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
|
H A D | tilemodes_scaled.cpp | 25 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(w), SkIntToScalar(h)} }; local 31 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 171 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; local 179 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
|
H A D | highcontrastfilter.cpp | 66 SkPoint pts[] = { { 0, 0 }, { 1, 0 } }; local 70 pts, colors, pos, 77 pts, colors2, pos,
|
H A D | rectangletexture.cpp | 46 SkPoint pts[] = { {0, 0}, {0, SkIntToScalar(height)} }; local 48 paint.setShader(SkGradientShader::MakeLinear(pts, colors0, nullptr, 2, 54 paint.setShader(SkGradientShader::MakeLinear(pts, colors1, nullptr, 2,
|
/external/skqp/samplecode/ |
H A D | SampleTiling.cpp | 33 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(w), SkIntToScalar(h) } }; local 39 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos,
|
H A D | SamplePatch.cpp | 42 SkPoint pts[] = { { 0, 0, }, local 45 return SkGradientShader::MakeLinear(pts, colors, nullptr, 56 void setPatch(const SkPoint pts[12]) { argument 57 memcpy(fPts, pts, 12 * sizeof(SkPoint)); 58 fPts[12] = pts[0]; // the last shall be first
|
/external/skqp/src/c/ |
H A D | sk_effects.cpp | 49 sk_shader_t* sk_shader_new_linear_gradient(const sk_point_t pts[2], argument 65 return (sk_shader_t*)SkGradientShader::MakeLinear(reinterpret_cast<const SkPoint*>(pts),
|
/external/tensorflow/tensorflow/core/kernels/data/ |
H A D | sql_dataset_ops.cc | 47 for (const PartialTensorShape& pts : output_shapes_) { 48 OP_REQUIRES(ctx, pts.dims() == 0,
|
/external/skia/gm/ |
H A D | aaclip.cpp | 18 const SkPoint pts[] = { local 36 for (size_t i = 0; i < SK_ARRAY_COUNT(pts); i += 2) { 37 cmap.setPts(pts[i], pts[i+1]);
|
H A D | colorfilterimagefilter.cpp | 58 const SkPoint pts[] = { { 0, 0 }, { 100, 100 } }; local 60 return SkGradientShader::MakeLinear(pts, colors, nullptr, 3, SkShader::kRepeat_TileMode); 64 const SkPoint pts[] = { { 0, 0 }, { 100, 100 } }; local 66 return SkGradientShader::MakeLinear(pts, colors, nullptr, 3, SkShader::kRepeat_TileMode);
|
H A D | tilemodes_scaled.cpp | 25 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(w), SkIntToScalar(h)} }; local 31 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 171 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; local 179 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
|
H A D | highcontrastfilter.cpp | 66 SkPoint pts[] = { { 0, 0 }, { 1, 0 } }; local 70 pts, colors, pos, 77 pts, colors2, pos,
|
H A D | rectangletexture.cpp | 46 SkPoint pts[] = { {0, 0}, {0, SkIntToScalar(height)} }; local 48 paint.setShader(SkGradientShader::MakeLinear(pts, colors0, nullptr, 2, 54 paint.setShader(SkGradientShader::MakeLinear(pts, colors1, nullptr, 2,
|
/external/skia/tools/fonts/ |
H A D | SkTestScalerContext.h | 37 void init(const SkScalar* pts, const unsigned char* verbs);
|
/external/skqp/tools/ |
H A D | SkTestScalerContext.h | 37 void init(const SkScalar* pts, const unsigned char* verbs);
|
/external/skia/samplecode/ |
H A D | SamplePatch.cpp | 42 SkPoint pts[] = { { 0, 0, }, local 45 return SkGradientShader::MakeLinear(pts, colors, nullptr, 56 void setPatch(const SkPoint pts[12]) { argument 57 memcpy(fPts, pts, 12 * sizeof(SkPoint)); 58 fPts[12] = pts[0]; // the last shall be first
|
/external/pdfium/core/fxge/skia/ |
H A D | fx_skia_device.cpp | 471 void ClipAngledGradient(const SkPoint pts[2], argument 481 SkVector slope = pts[1] - pts[0]; 482 SkPoint startPerp[2] = {pts[0], {pts[0].fX + slope.fY, pts[0].fY - slope.fX}}; 483 SkPoint endPerp[2] = {pts[1], {pts[1].fX + slope.fY, pts[1].fY - slope.fX}}; 506 SkPoint beforeStart = {pts[ 2046 SkPoint pts[] = {{start_x, start_y}, {end_x, end_y}}; local 2088 SkPoint pts[] = {{start_x, start_y}, {end_x, end_y}}; local [all...] |
/external/skia/src/pathops/ |
H A D | SkOpAngle.cpp | 411 const SkPoint* pts = segment.pts(); local 418 v.set(pts[idx2] - pts[idx1]); 446 (*CurveIntersectRay[cVerb])(segment.pts(), segment.weight(), rays[index], &i); 541 SkDVector slopeAtEnd = (*CurveDSlopeAtT[verb])(segment->pts(), segment->weight(), 548 (*CurveIntersectRay[oppVerb])(oppSegment->pts(), oppSegment->weight(), rayEnd, &iEnd); 769 (*CurveIntersectRay[verb])(segment->pts(), segment->weight(), rayMid, &iMid); 777 (*CurveIntersectRay[oppVerb])(oppSegment->pts(), oppSegment->weight(), rayMid, &oppMid); 875 const SkPoint* pts local [all...] |
/external/skqp/src/pathops/ |
H A D | SkOpAngle.cpp | 411 const SkPoint* pts = segment.pts(); local 418 v.set(pts[idx2] - pts[idx1]); 446 (*CurveIntersectRay[cVerb])(segment.pts(), segment.weight(), rays[index], &i); 541 SkDVector slopeAtEnd = (*CurveDSlopeAtT[verb])(segment->pts(), segment->weight(), 548 (*CurveIntersectRay[oppVerb])(oppSegment->pts(), oppSegment->weight(), rayEnd, &iEnd); 769 (*CurveIntersectRay[verb])(segment->pts(), segment->weight(), rayMid, &iMid); 777 (*CurveIntersectRay[oppVerb])(oppSegment->pts(), oppSegment->weight(), rayMid, &oppMid); 875 const SkPoint* pts local [all...] |