Searched refs:SkScalarIsNaN (Results 1 – 16 of 16) sorted by relevance
/external/skia/tests/ |
D | PathOpsTestCommon.cpp | 256 if (SkScalarIsNaN(bounds.fLeft)) { in ValidBounds() 259 if (SkScalarIsNaN(bounds.fTop)) { in ValidBounds() 262 if (SkScalarIsNaN(bounds.fRight)) { in ValidBounds() 265 return !SkScalarIsNaN(bounds.fBottom); in ValidBounds() 307 if (SkScalarIsNaN(pts[index].fX)) { in ValidPoints() 310 if (SkScalarIsNaN(pts[index].fY)) { in ValidPoints()
|
D | MathTest.cpp | 314 REPORTER_ASSERT(reporter, !SkScalarIsNaN(inf)); in unittest_isfinite() 315 REPORTER_ASSERT(reporter, !SkScalarIsNaN(-inf)); in unittest_isfinite() 319 REPORTER_ASSERT(reporter, SkScalarIsNaN(nan)); in unittest_isfinite() 320 REPORTER_ASSERT(reporter, !SkScalarIsNaN(big)); in unittest_isfinite() 321 REPORTER_ASSERT(reporter, !SkScalarIsNaN(-big)); in unittest_isfinite() 322 REPORTER_ASSERT(reporter, !SkScalarIsNaN(0)); in unittest_isfinite() 381 REPORTER_ASSERT(reporter, SkScalarIsNaN(f) ); in unittest_half() 487 REPORTER_ASSERT(reporter, SkScalarIsNaN(x)); in DEF_TEST()
|
/external/skia/src/animator/ |
D | SkDrawPaint.cpp | 247 if (SkScalarIsNaN(strokeMiter) == false) in setupPaint() 249 if (SkScalarIsNaN(strokeWidth) == false) in setupPaint() 253 if (SkScalarIsNaN(textScaleX) == false) in setupPaint() 255 if (SkScalarIsNaN(textSize) == false) in setupPaint() 257 if (SkScalarIsNaN(textSkewX) == false) in setupPaint()
|
D | SkDrawColor.cpp | 161 if (SkScalarIsNaN(fValue) == false) in getColor() 163 if (SkScalarIsNaN(fSaturation) == false) in getColor() 165 if (SkScalarIsNaN(fHue) == false) in getColor()
|
D | SkPostParts.cpp | 30 else if (SkScalarIsNaN(fFloat) == false) in add()
|
D | SkDisplayInput.cpp | 45 SkScalarIsNaN(fFloat) == false || string.size() > 0; in getProperty()
|
D | SkDrawPath.cpp | 137 if (SkScalarIsNaN(fLength)) { in getProperty()
|
D | SkAnimatorScript.cpp | 382 value->fOperand.fS32 = type == SkType_Float ? SkScalarIsNaN(scalar) == false && in IsFinite() 395 …value->fOperand.fS32 = scriptValue->fType == SkType_Float ? SkScalarIsNaN(scriptValue->fOperand.fS… in IsNaN()
|
/external/skia/include/core/ |
D | SkScalar.h | 120 static inline bool SkScalarIsNaN(SkScalar x) { return x != x; } in SkScalarIsNaN() function 131 return !SkScalarIsNaN(prod); in SkScalarIsFinite() 139 return !SkScalarIsNaN(prod); in SkScalarsAreFinite() 148 return !SkScalarIsNaN(prod); in SkScalarsAreFinite()
|
D | SkPoint.h | 370 SkASSERT(0 == accum || SkScalarIsNaN(accum)); in isFinite() 374 return !SkScalarIsNaN(accum); in isFinite()
|
D | SkRect.h | 477 SkASSERT(0 == accum || SkScalarIsNaN(accum)); in isFinite() 481 return !SkScalarIsNaN(accum); in isFinite()
|
/external/skia/src/views/animated/ |
D | SkImageView.cpp | 239 if (SkScalarIsNaN(width = fData.fAnim->getScalar("dimensions", "x")) || in getDataBounds() 240 SkScalarIsNaN(height = fData.fAnim->getScalar("dimensions", "y"))) in getDataBounds()
|
/external/skia/src/core/ |
D | SkPictureFlat.h | 323 return !SkScalarIsNaN(fTopBot[0]); in isTopBotWritten()
|
D | SkPath.cpp | 1586 if (SkScalarIsNaN(fLastPt.fX) || SkScalarIsNaN(fLastPt.fY) || in autoClose() 1587 SkScalarIsNaN(fMoveTo.fX) || SkScalarIsNaN(fMoveTo.fY)) { in autoClose()
|
D | SkGeometry.cpp | 66 if (SkScalarIsNaN(r)) { in valid_unit_divide() 93 if (R < 0 || SkScalarIsNaN(R)) { // complex roots in SkFindUnitQuadRoots()
|
/external/skia/src/gpu/ |
D | GrAAConvexPathRenderer.cpp | 114 SkASSERT(!SkScalarIsNaN(c->fX) && !SkScalarIsNaN(c->fY)); in center_of_mass()
|