/external/skia/tests/ |
PathOpsLineParametetersTest.cpp | 54 double distSq = denormalizedDistance[inner]; 55 distSq *= distSq; 58 if (AlmostEqualUlps(distSq, normalSquared * answersSq)) { 62 " distSq:%g answerSq:%g normalSquared:%g\n", 65 distSq, answersSq, normalSquared);
|
/external/skqp/tests/ |
PathOpsLineParametetersTest.cpp | 54 double distSq = denormalizedDistance[inner]; 55 distSq *= distSq; 58 if (AlmostEqualUlps(distSq, normalSquared * answersSq)) { 62 " distSq:%g answerSq:%g normalSquared:%g\n", 65 distSq, answersSq, normalSquared);
|
/external/skia/src/core/ |
SkDistanceFieldGen.cpp | 202 float distSq = check->fDistSq - 2.0f*(distVec.fX + distVec.fY - 1.0f); 203 if (distSq < curr->fDistSq) { 206 curr->fDistSq = distSq; 213 distSq = check->fDistSq - 2.0f*distVec.fY + 1.0f; 214 if (distSq < curr->fDistSq) { 216 curr->fDistSq = distSq; 223 distSq = check->fDistSq + 2.0f*(distVec.fX - distVec.fY + 1.0f); 224 if (distSq < curr->fDistSq) { 227 curr->fDistSq = distSq; 234 distSq = check->fDistSq - 2.0f*distVec.fX + 1.0f [all...] |
/external/skqp/src/core/ |
SkDistanceFieldGen.cpp | 202 float distSq = check->fDistSq - 2.0f*(distVec.fX + distVec.fY - 1.0f); 203 if (distSq < curr->fDistSq) { 206 curr->fDistSq = distSq; 213 distSq = check->fDistSq - 2.0f*distVec.fY + 1.0f; 214 if (distSq < curr->fDistSq) { 216 curr->fDistSq = distSq; 223 distSq = check->fDistSq + 2.0f*(distVec.fX - distVec.fY + 1.0f); 224 if (distSq < curr->fDistSq) { 227 curr->fDistSq = distSq; 234 distSq = check->fDistSq - 2.0f*distVec.fX + 1.0f [all...] |
/external/skia/src/pathops/ |
SkPathOpsLine.cpp | 49 double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against distSq instead ? 73 double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against distSq instead ? 105 double distSq = distU.fX * distU.fX + distU.fY * distU.fY; 106 double dist = sqrt(distSq); // OPTIMIZATION: can we compare against distSq instead ? 140 double distSq = distU.fX * distU.fX + distU.fY * distU.fY; 141 double dist = sqrt(distSq); // OPTIMIZATION: can we compare against distSq instead ?
|
SkOpSegment.cpp | 490 double SkOpSegment::distSq(double t, const SkOpAngle* oppAngle) const { [all...] |
SkOpSegment.h | 186 double distSq(double t, const SkOpAngle* opp) const;
|
SkPathOpsTSect.h | 371 double distSq = (fPerpPt - cPt).lengthSquared(); 373 if (dist2Sq < distSq) { [all...] |
SkPathOpsDebug.cpp | [all...] |
/external/skqp/src/pathops/ |
SkPathOpsLine.cpp | 49 double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against distSq instead ? 73 double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against distSq instead ? 105 double distSq = distU.fX * distU.fX + distU.fY * distU.fY; 106 double dist = sqrt(distSq); // OPTIMIZATION: can we compare against distSq instead ? 140 double distSq = distU.fX * distU.fX + distU.fY * distU.fY; 141 double dist = sqrt(distSq); // OPTIMIZATION: can we compare against distSq instead ?
|
SkOpSegment.cpp | 490 double SkOpSegment::distSq(double t, const SkOpAngle* oppAngle) const { [all...] |
SkOpSegment.h | 186 double distSq(double t, const SkOpAngle* opp) const;
|
SkPathOpsTSect.h | 371 double distSq = (fPerpPt - cPt).lengthSquared(); 373 if (dist2Sq < distSq) { [all...] |
SkPathOpsDebug.cpp | [all...] |
/external/skia/src/gpu/ |
GrDistanceFieldGenFromVector.cpp | 689 const float distSq = dataPtr[idx].fDistSq; 690 int dilation = distSq < 1.5 * 1.5 ? 1 : 691 distSq < 2.5 * 2.5 ? 2 : 692 distSq < 3.5 * 3.5 ? 3 : SK_DistanceFieldPad; 714 if (currDistSq < distSq) {
|
/external/skqp/src/gpu/ |
GrDistanceFieldGenFromVector.cpp | 689 const float distSq = dataPtr[idx].fDistSq; 690 int dilation = distSq < 1.5 * 1.5 ? 1 : 691 distSq < 2.5 * 2.5 ? 2 : 692 distSq < 3.5 * 3.5 ? 3 : SK_DistanceFieldPad; 714 if (currDistSq < distSq) {
|
/external/skia/src/utils/ |
SkShadowTessellator.cpp | 882 SkScalar distSq = SkPointPriv::DistanceToLineSegmentBetweenSqd(fCentroid, currPoint, 884 if (distSq < minDistSq) { 885 minDistSq = distSq; [all...] |
/external/skqp/src/utils/ |
SkShadowTessellator.cpp | 862 SkScalar distSq = SkPointPriv::DistanceToLineSegmentBetweenSqd(fCentroid, currPoint, 864 if (distSq < minDistSq) { 865 minDistSq = distSq; [all...] |
/external/skia/src/gpu/ops/ |
GrAAConvexTessellator.cpp | 58 SkScalar distSq = SkPointPriv::DistanceToSqd(p0, p1); 59 return distSq < kCloseSqd; [all...] |
/external/skqp/src/gpu/ops/ |
GrAAConvexTessellator.cpp | 58 SkScalar distSq = SkPointPriv::DistanceToSqd(p0, p1); 59 return distSq < kCloseSqd; [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
FlingUpDownMethod.java | 320 double distSq = 322 return distSq >= Math.pow(radius, 2); [all...] |