/external/skia/src/core/ |
D | SkCubicClipper.cpp | 44 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], t0); in chopMonoCubicAtY() 45 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], t0); in chopMonoCubicAtY() 46 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], t0); in chopMonoCubicAtY() 47 SkScalar y012 = SkScalarInterp(y01, y12, t0); in chopMonoCubicAtY() 48 SkScalar y123 = SkScalarInterp(y12, y23, t0); in chopMonoCubicAtY() 49 SkScalar y0123 = SkScalarInterp(y012, y123, t0); in chopMonoCubicAtY() 87 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], tMid); in chopMonoCubicAtY() 88 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], tMid); in chopMonoCubicAtY() 89 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], tMid); in chopMonoCubicAtY() 90 SkScalar y012 = SkScalarInterp(y01, y12, tMid); in chopMonoCubicAtY() [all …]
|
D | SkPathMeasure.cpp | 76 SkScalarInterp(pts[0].fX, pts[3].fX, SK_Scalar1/3), in cubic_too_curvy() 77 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1/3)) in cubic_too_curvy() 80 SkScalarInterp(pts[0].fX, pts[3].fX, SK_Scalar1*2/3), in cubic_too_curvy() 81 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1*2/3)); in cubic_too_curvy() 280 pos->set(SkScalarInterp(pts[0].fX, pts[1].fX, t), in compute_pos_tan() 281 SkScalarInterp(pts[0].fY, pts[1].fY, t)); in compute_pos_tan() 327 dst->lineTo(SkScalarInterp(pts[0].fX, pts[1].fX, stopT), in seg_to() 328 SkScalarInterp(pts[0].fY, pts[1].fY, stopT)); in seg_to()
|
D | SkGeometry.cpp | 127 SkScalar ab = SkScalarInterp(src[0], src[2], t); in eval_quad() 128 SkScalar bc = SkScalarInterp(src[2], src[4], t); in eval_quad() 129 return SkScalarInterp(ab, bc, t); in eval_quad() 360 SkScalar ab = SkScalarInterp(src[0], src[2], t); in eval_cubic() 361 SkScalar bc = SkScalarInterp(src[2], src[4], t); in eval_cubic() 362 SkScalar cd = SkScalarInterp(src[4], src[6], t); in eval_cubic() 363 SkScalar abc = SkScalarInterp(ab, bc, t); in eval_cubic() 364 SkScalar bcd = SkScalarInterp(bc, cd, t); in eval_cubic() 365 return SkScalarInterp(abc, bcd, t); in eval_cubic() 1214 SkScalar ab = SkScalarInterp(src[0], src[3], t); in p3d_interp() [all …]
|
D | SkScalar.cpp | 35 return SkScalarInterp(values[right-1], values[right], fract); in SkScalarInterpFunc()
|
/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 | 113 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial() 114 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeRadial()
|
D | shadertext.cpp | 71 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 72 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
|
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 | 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.cpp | 71 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 72 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 | 80 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConical() 81 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeConical() 93 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConicalZeroRad() 94 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeConicalZeroRad()
|
/external/skia/samplecode/ |
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 | SampleShaderText.cpp | 79 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 80 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 | 79 values[i].fScalar = SkScalarInterp(prevSrc[i].fScalar, nextSrc[i].fScalar, T); in timeToValues()
|
/external/skia/src/effects/ |
D | SkPerlinNoiseShader.cpp | 363 SkScalar a = SkScalarInterp(u, v, sx); in noise2D() 368 SkScalar b = SkScalarInterp(u, v, sx); in noise2D() 369 return SkScalarInterp(a, b, sy); in noise2D()
|
/external/skia/include/core/ |
D | SkScalar.h | 241 static inline SkScalar SkScalarInterp(SkScalar A, SkScalar B, SkScalar t) { in SkScalarInterp() function
|