Searched refs:distSq (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/skia/experimental/Intersection/
H A DLineParameteters_Test.cpp53 double distSq = denormalizedDistance[inner]; local
54 distSq *= distSq;
57 if (AlmostEqualUlps(distSq, normalSquared * answersSq)) {
61 " distSq:%g answerSq:%g normalSquared:%g\n",
64 distSq, answersSq, normalSquared);
/external/chromium_org/third_party/skia/tests/
H A DPathOpsLineParametetersTest.cpp52 double distSq = denormalizedDistance[inner]; local
53 distSq *= distSq;
56 if (AlmostEqualUlps(distSq, normalSquared * answersSq)) {
60 " distSq:%g answerSq:%g normalSquared:%g\n",
63 distSq, answersSq, normalSquared);
/external/skia/experimental/Intersection/
H A DLineParameteters_Test.cpp53 double distSq = denormalizedDistance[inner]; local
54 distSq *= distSq;
57 if (AlmostEqualUlps(distSq, normalSquared * answersSq)) {
61 " distSq:%g answerSq:%g normalSquared:%g\n",
64 distSq, answersSq, normalSquared);
/external/skia/tests/
H A DPathOpsLineParametetersTest.cpp52 double distSq = denormalizedDistance[inner]; local
53 distSq *= distSq;
56 if (AlmostEqualUlps(distSq, normalSquared * answersSq)) {
60 " distSq:%g answerSq:%g normalSquared:%g\n",
63 distSq, answersSq, normalSquared);
/external/chromium_org/third_party/skia/src/core/
H A DSkDistanceFieldGen.cpp200 float distSq = check->fDistSq - 2.0f*(distVec.fX + distVec.fY - 1.0f); local
201 if (distSq < curr->fDistSq) {
204 curr->fDistSq = distSq;
211 distSq = check->fDistSq - 2.0f*distVec.fY + 1.0f;
212 if (distSq < curr->fDistSq) {
214 curr->fDistSq = distSq;
221 distSq = check->fDistSq + 2.0f*(distVec.fX - distVec.fY + 1.0f);
222 if (distSq < curr->fDistSq) {
225 curr->fDistSq = distSq;
232 distSq
245 float distSq = check->fDistSq; local
261 float distSq = check->fDistSq - 2.0f*distVec.fX + 1.0f; local
275 float distSq = check->fDistSq + 2.0f*distVec.fX + 1.0f; local
[all...]
/external/skia/src/core/
H A DSkDistanceFieldGen.cpp200 float distSq = check->fDistSq - 2.0f*(distVec.fX + distVec.fY - 1.0f); local
201 if (distSq < curr->fDistSq) {
204 curr->fDistSq = distSq;
211 distSq = check->fDistSq - 2.0f*distVec.fY + 1.0f;
212 if (distSq < curr->fDistSq) {
214 curr->fDistSq = distSq;
221 distSq = check->fDistSq + 2.0f*(distVec.fX - distVec.fY + 1.0f);
222 if (distSq < curr->fDistSq) {
225 curr->fDistSq = distSq;
232 distSq
245 float distSq = check->fDistSq; local
261 float distSq = check->fDistSq - 2.0f*distVec.fX + 1.0f; local
275 float distSq = check->fDistSq + 2.0f*distVec.fX + 1.0f; local
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsLine.cpp81 double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against distSq instead ?
105 double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against distSq instead ?
150 double distSq = distU.fX * distU.fX + distU.fY * distU.fY; local
151 double dist = sqrt(distSq); // OPTIMIZATION: can we compare against distSq instead ?
185 double distSq = distU.fX * distU.fX + distU.fY * distU.fY; local
186 double dist = sqrt(distSq); // OPTIMIZATION: can we compare against distSq instead ?
/external/skia/src/pathops/
H A DSkPathOpsLine.cpp81 double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against distSq instead ?
105 double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against distSq instead ?
150 double distSq = distU.fX * distU.fX + distU.fY * distU.fY; local
151 double dist = sqrt(distSq); // OPTIMIZATION: can we compare against distSq instead ?
185 double distSq = distU.fX * distU.fX + distU.fY * distU.fY; local
186 double dist = sqrt(distSq); // OPTIMIZATION: can we compare against distSq instead ?

Completed in 240 milliseconds