/external/skia/gm/ |
D | gradients_2pt_conical.cpp | 43 SkPoint center0, center1; in Make2ConicalOutside() local 47 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutside() 48 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside() 54 SkPoint center0, center1; in Make2ConicalOutsideFlip() local 58 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutsideFlip() 59 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip() 65 SkPoint center0, center1; in Make2ConicalInside() local 68 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInside() 70 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInside() 78 SkPoint center0, center1; in Make2ConicalInsideFlip() local [all …]
|
D | gradients_no_texture.cpp | 49 SkPoint center0, center1; in Make2Radial() local 52 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 55 center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial() 61 SkPoint center0, center1; in Make2Conical() local 65 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical() 66 return SkGradientShader::MakeTwoPointConical(center1, radius1, in Make2Conical()
|
D | blurroundrect.cpp | 104 SkPoint center0, center1; in MakeRadial() local 107 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial() 109 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in MakeRadial()
|
D | gradients.cpp | 109 SkPoint center0, center1; in Make2Radial() local 112 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 114 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial() 122 SkPoint center0, center1; in Make2Radial4f() local 125 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3) / 5), in Make2Radial4f() 128 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial4f() 136 SkPoint center0, center1; in Make2Conical() local 140 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical() 141 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical() 148 SkPoint center0, center1; in Make2Conical4f() local [all …]
|
D | shadertext.cpp | 70 SkPoint center0, center1; in Make2Conical() local 73 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 76 center1, (pts[1].fX - pts[0].fX) / 7, in Make2Conical()
|
D | blurrect.cpp | 72 SkPoint center0, center1; in MakeRadial() local 75 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial() 77 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in MakeRadial()
|
/external/skia/bench/ |
D | GradientBench.cpp | 76 SkPoint center0, center1; in MakeConical() local 79 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConical() 81 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in MakeConical() 89 SkPoint center0, center1; in MakeConicalZeroRad() local 92 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConicalZeroRad() 94 return SkGradientShader::MakeTwoPointConical(center1, 0.0, in MakeConicalZeroRad() 102 SkPoint center0, center1; in MakeConicalOutside() local 106 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in MakeConicalOutside() 108 center1, radius1, in MakeConicalOutside() 116 SkPoint center0, center1; in MakeConicalOutsideZeroRad() local [all …]
|
/external/skia/src/shaders/gradients/ |
D | SkTwoPointConicalGradient_gpu.cpp | 45 const SkPoint& center1 = shader.getStartCenter(); in set_matrix_edge_conical() local 48 invLMatrix->postTranslate(-center1.fX, -center1.fY); in set_matrix_edge_conical() 50 SkPoint diff = center2 - center1; in set_matrix_edge_conical() 186 SkPoint center1 = {d->fRandom->nextUScalar1(), d->fRandom->nextUScalar1()}; in TestCreate() local 194 } while (center1 == center2); in TestCreate() 198 SkPoint diff = center2 - center1; in TestCreate() 204 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, in TestCreate() 207 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, in TestCreate() 468 SkPoint center1 = {d->fRandom->nextUScalar1(), d->fRandom->nextUScalar1()}; in TestCreate() local 475 } while (center1 == center2); in TestCreate() [all …]
|
D | SkTwoPointConicalGradient.cpp | 131 SkPoint center1 = fFlippedGrad ? fCenter2 : fCenter1; in onMakeColorSpace() local 143 return SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, xformedColors, in onMakeColorSpace()
|
/external/skia/samplecode/ |
D | SampleGradients.cpp | 85 SkPoint center0, center1; in Make2Conical() local 88 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 91 center1, (pts[1].fX - pts[0].fX) / 7, in Make2Conical()
|
D | SampleShaderText.cpp | 77 SkPoint center0, center1; in Make2Conical() local 80 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 83 center1, (pts[1].fX - pts[0].fX) / 7, in Make2Conical()
|
D | SampleSlides.cpp | 200 SkPoint center0, center1; in Make2Conical() local 203 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 205 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Conical()
|
/external/freetype/src/autofit/ |
D | afcjk.c | 1945 FT_Pos target, center1, center2; in af_cjk_hint_edges() 1967 center1 = left->pos + ( right->pos - left->pos ) / 2; in af_cjk_hint_edges() 1969 if ( center1 >= target ) in af_cjk_hint_edges() 1983 d1 = center1 - target; in af_cjk_hint_edges()
|