/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | QuarticRoot_Test.cpp | 46 SkASSERT(approximately_equal(roots[0], -B) 47 || approximately_equal(roots[0], -C)); 49 SkASSERT(!approximately_equal(roots[0], roots[1])); 50 SkASSERT(approximately_equal(roots[1], -B) 51 || approximately_equal(roots[1], -C)); 86 SkASSERT(approximately_equal(roots[0], -B) 87 || approximately_equal(roots[0], -C) 88 || approximately_equal(roots[0], -D)); 92 SkASSERT(!approximately_equal(roots[0], roots[1])); 93 SkASSERT(approximately_equal(root [all...] |
H A D | TestUtilities.cpp | 38 return approximately_equal(cubic[maxX].x, cubic[minX].x) 39 && approximately_equal(cubic[maxY].y, cubic[minY].y);
|
H A D | DataTypes.h | 88 inline bool approximately_equal(double x, double y) { function 119 return approximately_equal(x, y); 280 // return approximately_equal(a.y, y) && approximately_equal(a.x, x); 288 return approximately_equal(x * inv, a.x * inv) && approximately_equal(y * inv, a.y * inv); 297 return approximately_equal(x * inv, a.fX * inv) && approximately_equal(y * inv, a.fY * inv);
|
H A D | QuadraticIntersection_Test.cpp | 42 if (!approximately_equal(tx1, tx2)) { 46 if (!approximately_equal(ty1, ty2)) { 269 SkASSERT(approximately_equal(1, tt1) || approximately_zero(tt1)); 270 SkASSERT(approximately_equal(1, tt2) || approximately_zero(tt2));
|
/external/skia/experimental/Intersection/ |
H A D | QuarticRoot_Test.cpp | 46 SkASSERT(approximately_equal(roots[0], -B) 47 || approximately_equal(roots[0], -C)); 49 SkASSERT(!approximately_equal(roots[0], roots[1])); 50 SkASSERT(approximately_equal(roots[1], -B) 51 || approximately_equal(roots[1], -C)); 86 SkASSERT(approximately_equal(roots[0], -B) 87 || approximately_equal(roots[0], -C) 88 || approximately_equal(roots[0], -D)); 92 SkASSERT(!approximately_equal(roots[0], roots[1])); 93 SkASSERT(approximately_equal(root [all...] |
H A D | TestUtilities.cpp | 38 return approximately_equal(cubic[maxX].x, cubic[minX].x) 39 && approximately_equal(cubic[maxY].y, cubic[minY].y);
|
H A D | DataTypes.h | 88 inline bool approximately_equal(double x, double y) { function 119 return approximately_equal(x, y); 280 // return approximately_equal(a.y, y) && approximately_equal(a.x, x); 288 return approximately_equal(x * inv, a.x * inv) && approximately_equal(y * inv, a.y * inv); 297 return approximately_equal(x * inv, a.fX * inv) && approximately_equal(y * inv, a.fY * inv);
|
H A D | QuadraticIntersection_Test.cpp | 42 if (!approximately_equal(tx1, tx2)) { 46 if (!approximately_equal(ty1, ty2)) { 269 SkASSERT(approximately_equal(1, tt1) || approximately_zero(tt1)); 270 SkASSERT(approximately_equal(1, tt2) || approximately_zero(tt2));
|
/external/chromium_org/third_party/skia/tests/ |
H A D | PathOpsDLineTest.cpp | 51 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); 52 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY));
|
H A D | PathOpsDPointTest.cpp | 46 REPORTER_ASSERT(reporter, approximately_equal(pt.distance(p),
|
H A D | PathOpsDVectorTest.cpp | 46 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length()));
|
/external/skia/tests/ |
H A D | PathOpsDLineTest.cpp | 51 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); 52 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY));
|
H A D | PathOpsDPointTest.cpp | 46 REPORTER_ASSERT(reporter, approximately_equal(pt.distance(p),
|
H A D | PathOpsDVectorTest.cpp | 46 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length()));
|
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkPathOpsPoint.h | 112 // return approximately_equal(a.fY, fY) && approximately_equal(a.fX, fX); 115 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { 135 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) { 152 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) { 159 if (approximately_equal(fX, a.fX) && approximately_equal(f [all...] |
H A D | SkDCubicLineIntersection.cpp | 170 if (!approximately_equal(calcPt.fY, axisIntercept)) { 210 if (!approximately_equal(calcPt.fX, axisIntercept)) { 361 if (gridPt == fCubic[0].asSkPoint() && approximately_equal(*cubicT, 0)) { 363 } else if (gridPt == fCubic[3].asSkPoint() && approximately_equal(*cubicT, 1)) {
|
H A D | SkDCubicToQuads.cpp | 140 if (!approximately_equal(inflectT[start], inflectT[next])) {
|
H A D | SkQuarticRoot.cpp | 80 if (approximately_equal(roots[i], 1)) {
|
H A D | SkPathOpsTypes.h | 155 inline bool approximately_equal(double x, double y) { function 180 return approximately_equal(x, y);
|
/external/skia/src/pathops/ |
H A D | SkPathOpsPoint.h | 112 // return approximately_equal(a.fY, fY) && approximately_equal(a.fX, fX); 115 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { 135 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) { 152 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) { 159 if (approximately_equal(fX, a.fX) && approximately_equal(f [all...] |
H A D | SkDCubicLineIntersection.cpp | 170 if (!approximately_equal(calcPt.fY, axisIntercept)) { 210 if (!approximately_equal(calcPt.fX, axisIntercept)) { 361 if (gridPt == fCubic[0].asSkPoint() && approximately_equal(*cubicT, 0)) { 363 } else if (gridPt == fCubic[3].asSkPoint() && approximately_equal(*cubicT, 1)) {
|
H A D | SkDCubicToQuads.cpp | 140 if (!approximately_equal(inflectT[start], inflectT[next])) {
|
H A D | SkQuarticRoot.cpp | 80 if (approximately_equal(roots[i], 1)) {
|
/external/chromium_org/third_party/skia/src/utils/win/ |
H A D | SkDWriteGeometrySink.cpp | 80 static bool approximately_equal(float a, float b) { function 94 //NOTE: !approximately_equal(midX - cubic[3].x, dx23 * 3 / 2) 96 if (!approximately_equal(midX, (dx23 * 3 / 2) + cubic[3].x)) { 102 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) {
|
/external/skia/src/utils/win/ |
H A D | SkDWriteGeometrySink.cpp | 80 static bool approximately_equal(float a, float b) { function 94 //NOTE: !approximately_equal(midX - cubic[3].x, dx23 * 3 / 2) 96 if (!approximately_equal(midX, (dx23 * 3 / 2) + cubic[3].x)) { 102 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) {
|