Home
last modified time | relevance | path

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

/external/skia/src/gpu/gradients/generated/
DGrTwoPointConicalGradientLayout.cpp226 SkPoint center1, center2; in TestCreate() local
229 center2.fX = d->fRandom->nextRangeScalar(0.0f, scale); in TestCreate()
230 center2.fY = d->fRandom->nextRangeScalar(0.0f, scale); in TestCreate()
243 center2 = center1; in TestCreate()
252 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate()
253 center2.fX += offset; in TestCreate()
257 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate()
258 center2.fX += offset; in TestCreate()
265 radius2 = radius1 + SkPoint::Distance(center1, center2); in TestCreate()
279 SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate()
[all …]
/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.fp220 SkPoint center1, center2;
223 center2.fX = d->fRandom->nextRangeScalar(0.0f, scale);
224 center2.fY = d->fRandom->nextRangeScalar(0.0f, scale);
239 center2 = center1;
248 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) {
249 center2.fX += offset;
253 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) {
254 center2.fX += offset;
261 radius2 = radius1 + SkPoint::Distance(center1, center2);
275 SkScalarNearlyZero(SkPoint::Distance(center1, center2))) {
[all …]
/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/llvm-project/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/llvm-project/llvm/utils/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/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.c1971 FT_Pos target, center1, center2; in af_cjk_hint_edges()
2007 center2 = left1.pos + ( right2.pos - left1.pos ) / 2; in af_cjk_hint_edges()
2010 d2 = center2 - target; in af_cjk_hint_edges()