/external/skia/tests/ |
StrokeTest.cpp | 16 return SkScalarNearlyEqual(a.left(), b.left()) && 17 SkScalarNearlyEqual(a.top(), b.top()) && 18 SkScalarNearlyEqual(a.right(), b.right()) && 19 SkScalarNearlyEqual(a.bottom(), b.bottom());
|
PathMeasureTest.cpp | 125 SkScalarNearlyEqual(position.fX, 150 SkScalarNearlyEqual(position.fX, 158 SkScalarNearlyEqual(position.fX, SK_Scalar1, 0.0001f)); 160 SkScalarNearlyEqual(position.fY, 1.5f)); 165 SkScalarNearlyEqual(position.fX, 169 SkScalarNearlyEqual(position.fY, 186 SkScalarNearlyEqual(position.fX, 197 SkScalarNearlyEqual(position.fX, 201 SkScalarNearlyEqual(position.fY,
|
GeometryTest.cpp | 13 return SkScalarNearlyEqual(a.fX, b.fX) && SkScalarNearlyEqual(a.fY, b.fY);
|
PointTest.cpp | 33 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength)); 34 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(newLength, SK_Scalar1)); 47 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, s2)); 48 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLength)); 104 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(length, SK_Scalar1));
|
RoundRectTest.cpp | 208 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(p.fX, 33.33333f)); 209 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(p.fY, 66.66666f)); 523 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.radii((SkRRect::Corner) i).fX, 525 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.radii((SkRRect::Corner) i).fY, 528 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.rect().width(), 530 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.rect().height(), 532 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.rect().left(), 534 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.rect().top(),
|
MatrixTest.cpp | 153 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SK_Scalar1, rotate.getMinStretch() ,SK_ScalarNearlyZero)); 154 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SK_Scalar1, rotate.getMaxStretch(), SK_ScalarNearlyZero)); 645 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst[0], pnt.fX)); 646 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst[1], pnt.fY)); 647 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst[2], SK_Scalar1)); 659 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst[0], pnt.fX)); 660 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst[1], pnt.fY)); 661 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst[2], SK_Scalar1)); 675 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst[0], pnt.fX)); 676 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst[1], pnt.fY)) [all...] |
PathTest.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
SkiaUtils.h | 78 return SkScalarNearlyEqual(WebCoreFloatToSkScalar(a), WebCoreFloatToSkScalar(b));
|
/external/chromium_org/third_party/skia/src/core/ |
SkRRect.cpp | 405 SkASSERT(SkScalarNearlyEqual(fRadii[i].fX, SkScalarHalf(fRect.width()))); 406 SkASSERT(SkScalarNearlyEqual(fRadii[i].fY, SkScalarHalf(fRect.height())));
|
SkMatrix.cpp | 199 return !SkScalarNearlyZero(mx) && SkScalarNearlyEqual(SkScalarAbs(mx), SkScalarAbs(my)); 214 SkScalarNearlyEqual(vec[0].lengthSqd(), vec[1].lengthSqd(), 246 SkScalarNearlyEqual(vec[0].lengthSqd(), vec[1].lengthSqd(), [all...] |
/external/skia/src/core/ |
SkRRect.cpp | 405 SkASSERT(SkScalarNearlyEqual(fRadii[i].fX, SkScalarHalf(fRect.width()))); 406 SkASSERT(SkScalarNearlyEqual(fRadii[i].fY, SkScalarHalf(fRect.height())));
|
SkMatrix.cpp | 199 return !SkScalarNearlyZero(mx) && SkScalarNearlyEqual(SkScalarAbs(mx), SkScalarAbs(my)); 214 SkScalarNearlyEqual(vec[0].lengthSqd(), vec[1].lengthSqd(), 246 SkScalarNearlyEqual(vec[0].lengthSqd(), vec[1].lengthSqd(), [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Path.cpp | 302 if (SkScalarNearlyEqual(sweepDegrees, s360)) { 308 if (SkScalarNearlyEqual(sweepDegrees, -s360)) {
|
/external/chromium_org/third_party/skia/include/core/ |
SkScalar.h | 292 static inline bool SkScalarNearlyEqual(SkScalar x, SkScalar y,
|
/external/skia/include/core/ |
SkScalar.h | 292 static inline bool SkScalarNearlyEqual(SkScalar x, SkScalar y,
|
/external/chromium_org/third_party/skia/src/effects/ |
SkDashPathEffect.cpp | 358 !SkScalarNearlyEqual(fIntervals[0], fIntervals[1]) ||
|
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 358 !SkScalarNearlyEqual(fIntervals[0], fIntervals[1]) ||
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrOvalRenderer.cpp | 472 if (SkScalarNearlyEqual(oval.width(), oval.height()) [all...] |
GrContext.cpp | [all...] |
/external/skia/src/gpu/ |
GrOvalRenderer.cpp | 472 if (SkScalarNearlyEqual(oval.width(), oval.height()) [all...] |
GrContext.cpp | [all...] |