Lines Matching refs:center1
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()
477 SkPoint diff = center2 - center1; in TestCreate()
484 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, in TestCreate()
487 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, in TestCreate()
672 SkPoint center1 = {d->fRandom->nextUScalar1(), d->fRandom->nextUScalar1()}; in TestCreate() local
681 SkPoint diff = center2 - center1; in TestCreate()
685 } while (radius1 == radius2 && center1 == center2); in TestCreate()
689 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, in TestCreate()
692 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, in TestCreate()
920 SkPoint center1 = {d->fRandom->nextUScalar1(), d->fRandom->nextUScalar1()}; in TestCreate() local
928 SkPoint diff = center2 - center1; in TestCreate()
932 } while (radius1 == radius2 && center1 == center2); in TestCreate()
936 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, in TestCreate()
939 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, in TestCreate()
1153 SkPoint center1 = {d->fRandom->nextUScalar1(), d->fRandom->nextUScalar1()}; in TestCreate() local
1161 } while (center1 == center2); in TestCreate()
1162 SkPoint diff = center2 - center1; in TestCreate()
1170 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, in TestCreate()
1173 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, in TestCreate()