/external/skia/src/core/ |
D | SkCubicClipper.cpp | 44 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], t0); in ChopMonoAtY() 45 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], t0); in ChopMonoAtY() 46 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], t0); in ChopMonoAtY() 47 SkScalar y012 = SkScalarInterp(y01, y12, t0); in ChopMonoAtY() 48 SkScalar y123 = SkScalarInterp(y12, y23, t0); in ChopMonoAtY() 49 SkScalar y0123 = SkScalarInterp(y012, y123, t0); in ChopMonoAtY() 87 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], tMid); in ChopMonoAtY() 88 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], tMid); in ChopMonoAtY() 89 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], tMid); in ChopMonoAtY() 90 SkScalar y012 = SkScalarInterp(y01, y12, tMid); in ChopMonoAtY() [all …]
|
D | SkPathMeasure.cpp | 86 SkScalarInterp(pts[0].fX, pts[3].fX, SK_Scalar1/3), in cubic_too_curvy() 87 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1/3)) in cubic_too_curvy() 90 SkScalarInterp(pts[0].fX, pts[3].fX, SK_Scalar1*2/3), in cubic_too_curvy() 91 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1*2/3)); in cubic_too_curvy() 354 pos->set(SkScalarInterp(pts[0].fX, pts[1].fX, t), in compute_pos_tan() 355 SkScalarInterp(pts[0].fY, pts[1].fY, t)); in compute_pos_tan() 406 dst->lineTo(SkScalarInterp(pts[0].fX, pts[1].fX, stopT), in seg_to() 407 SkScalarInterp(pts[0].fY, pts[1].fY, stopT)); in seg_to()
|
D | SkScalar.cpp | 35 return SkScalarInterp(values[right-1], values[right], fract); in SkScalarInterpFunc()
|
D | SkGeometry.cpp | 309 SkScalar ab = SkScalarInterp(src[0], src[2], t); in eval_cubic() 310 SkScalar bc = SkScalarInterp(src[2], src[4], t); in eval_cubic() 311 SkScalar cd = SkScalarInterp(src[4], src[6], t); in eval_cubic() 312 SkScalar abc = SkScalarInterp(ab, bc, t); in eval_cubic() 313 SkScalar bcd = SkScalarInterp(bc, cd, t); in eval_cubic() 314 return SkScalarInterp(abc, bcd, t); in eval_cubic() 964 SkScalar ab = SkScalarInterp(src[0], src[3], t); in p3d_interp() 965 SkScalar bc = SkScalarInterp(src[3], src[6], t); in p3d_interp() 967 dst[3] = SkScalarInterp(ab, bc, t); in p3d_interp()
|
/external/skia/gm/ |
D | gradients_2pt_conical.cpp | 71 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInside() 72 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalInside() 84 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideFlip() 85 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalInsideFlip() 97 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideCenter() 98 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalInsideCenter() 110 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRad() 111 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalZeroRad() 123 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadFlip() 124 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalZeroRadFlip() [all …]
|
D | blurroundrect.cpp | 109 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial() 110 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeRadial()
|
D | shadertext.cpp | 72 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 73 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
|
D | blurrect.cpp | 75 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial() 76 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeRadial()
|
D | gradients_no_texture.cpp | 52 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 53 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Radial()
|
D | gradients.cpp | 72 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 73 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Radial()
|
/external/skia/src/utils/ |
D | SkBoundaryPatch.cpp | 28 return SkMakePoint(SkScalarInterp(a.fX, b.fX, t), in SkPointInterp() 29 SkScalarInterp(a.fY, b.fY, t)); in SkPointInterp()
|
D | SkInterpolator.cpp | 198 values[i] = SkScalarInterp(prevSrc[i], nextSrc[i], T); in timeToValues()
|
/external/skia/bench/ |
D | GradientBench.cpp | 83 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConical() 84 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeConical() 96 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConicalZeroRad() 97 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeConicalZeroRad()
|
/external/skia/samplecode/ |
D | SampleShaderText.cpp | 80 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 81 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
|
D | SampleGradients.cpp | 89 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 90 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
|
D | SampleSlides.cpp | 204 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 205 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
|
/external/skia/src/animator/ |
D | SkOperandIterpolator.cpp | 77 values[i].fScalar = SkScalarInterp(prevSrc[i].fScalar, nextSrc[i].fScalar, T); in timeToValues()
|
/external/skia/src/effects/ |
D | SkPerlinNoiseShader.cpp | 365 SkScalar a = SkScalarInterp(u, v, sx); in noise2D() 370 SkScalar b = SkScalarInterp(u, v, sx); in noise2D() 371 return SkScalarInterp(a, b, sy); in noise2D()
|
/external/skia/include/core/ |
D | SkScalar.h | 238 static inline SkScalar SkScalarInterp(SkScalar A, SkScalar B, SkScalar t) { in SkScalarInterp() function
|
/external/skia/experimental/SkPerlinNoiseShader2/ |
D | SkPerlinNoiseShader2.cpp | 433 SkScalar a = SkScalarInterp(u, v, sx); in noise2D() 438 SkScalar b = SkScalarInterp(u, v, sx); in noise2D() 439 return SkScalarInterp(a, b, sy); in noise2D()
|