Home
last modified time | relevance | path

Searched refs:center2 (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/gpu/gradients/generated/
DGrTwoPointConicalGradientLayout.cpp159 SkPoint center2 = {d->fRandom->nextRangeScalar(0.0f, scale), in TestCreate() local
173 center2 = center1; in TestCreate()
182 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate()
183 center2.fX += offset; in TestCreate()
187 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate()
188 center2.fX += offset; in TestCreate()
195 radius2 = radius1 + SkPoint::Distance(center1, center2); in TestCreate()
209 SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate()
216 center1, radius1, center2, radius2, params.fColors4f, in TestCreate()
220 center1, radius1, center2, radius2, params.fColors, in TestCreate()
/external/skqp/src/gpu/gradients/
DGrTwoPointConicalGradientLayout.cpp158 SkPoint center2 = {d->fRandom->nextRangeScalar(0.0f, scale), in TestCreate() local
172 center2 = center1; in TestCreate()
181 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate()
182 center2.fX += offset; in TestCreate()
186 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate()
187 center2.fX += offset; in TestCreate()
194 radius2 = radius1 + SkPoint::Distance(center1, center2); in TestCreate()
208 SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate()
215 center1, radius1, center2, radius2, params.fColors4f, in TestCreate()
219 center1, radius1, center2, radius2, params.fColors, in TestCreate()
DGrTwoPointConicalGradientLayout.fp233 SkPoint center2 = {d->fRandom->nextRangeScalar(0.0f, scale),
249 center2 = center1;
258 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) {
259 center2.fX += offset;
263 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) {
264 center2.fX += offset;
271 radius2 = radius1 + SkPoint::Distance(center1, center2);
285 SkScalarNearlyZero(SkPoint::Distance(center1, center2))) {
291 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
294 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
/external/skia/src/gpu/gradients/
DGrTwoPointConicalGradientLayout.fp233 SkPoint center2 = {d->fRandom->nextRangeScalar(0.0f, scale),
249 center2 = center1;
258 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) {
259 center2.fX += offset;
263 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) {
264 center2.fX += offset;
271 radius2 = radius1 + SkPoint::Distance(center1, center2);
285 SkScalarNearlyZero(SkPoint::Distance(center1, center2))) {
291 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
294 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dtest_tools.cc271 auto center2 = graph.add_node(); in TestGraphs() local
272 *center2 = MakeNodeMul("node6", "node1", "node2"); in TestGraphs()
273 center2->add_input("node2:1"); in TestGraphs()
274 center2->add_input("node3:2"); in TestGraphs()
275 center2->add_input("node4:2"); in TestGraphs()
276 center2->add_input("node4:3"); in TestGraphs()
/external/libcxx/utils/google-benchmark/src/
Dstatistics.cc49 auto center2 = copy.begin() + v.size() / 2 - 1; in StatisticsMedian() local
50 std::nth_element(copy.begin(), center2, copy.end()); in StatisticsMedian()
51 return (*center + *center2) / 2.0; in StatisticsMedian()
/external/google-benchmark/src/
Dstatistics.cc49 auto center2 = copy.begin() + v.size() / 2 - 1; in StatisticsMedian() local
50 std::nth_element(copy.begin(), center2, copy.end()); in StatisticsMedian()
51 return (*center + *center2) / 2.0; in StatisticsMedian()
/external/freetype/src/autofit/
Dafcjk.c1972 FT_Pos target, center1, center2; in af_cjk_hint_edges()
2008 center2 = left1.pos + ( right2.pos - left1.pos ) / 2; in af_cjk_hint_edges()
2011 d2 = center2 - target; in af_cjk_hint_edges()