Home
last modified time | relevance | path

Searched refs:SkScalarIsNaN (Results 1 – 16 of 16) sorted by relevance

/external/skia/tests/
DPathOpsTestCommon.cpp256 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()
DMathTest.cpp314 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/
DSkDrawPaint.cpp247 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()
DSkDrawColor.cpp161 if (SkScalarIsNaN(fValue) == false) in getColor()
163 if (SkScalarIsNaN(fSaturation) == false) in getColor()
165 if (SkScalarIsNaN(fHue) == false) in getColor()
DSkPostParts.cpp30 else if (SkScalarIsNaN(fFloat) == false) in add()
DSkDisplayInput.cpp45 SkScalarIsNaN(fFloat) == false || string.size() > 0; in getProperty()
DSkDrawPath.cpp137 if (SkScalarIsNaN(fLength)) { in getProperty()
DSkAnimatorScript.cpp382 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/
DSkScalar.h120 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()
DSkPoint.h370 SkASSERT(0 == accum || SkScalarIsNaN(accum)); in isFinite()
374 return !SkScalarIsNaN(accum); in isFinite()
DSkRect.h477 SkASSERT(0 == accum || SkScalarIsNaN(accum)); in isFinite()
481 return !SkScalarIsNaN(accum); in isFinite()
/external/skia/src/views/animated/
DSkImageView.cpp239 if (SkScalarIsNaN(width = fData.fAnim->getScalar("dimensions", "x")) || in getDataBounds()
240 SkScalarIsNaN(height = fData.fAnim->getScalar("dimensions", "y"))) in getDataBounds()
/external/skia/src/core/
DSkPictureFlat.h323 return !SkScalarIsNaN(fTopBot[0]); in isTopBotWritten()
DSkPath.cpp1586 if (SkScalarIsNaN(fLastPt.fX) || SkScalarIsNaN(fLastPt.fY) || in autoClose()
1587 SkScalarIsNaN(fMoveTo.fX) || SkScalarIsNaN(fMoveTo.fY)) { in autoClose()
DSkGeometry.cpp66 if (SkScalarIsNaN(r)) { in valid_unit_divide()
93 if (R < 0 || SkScalarIsNaN(R)) { // complex roots in SkFindUnitQuadRoots()
/external/skia/src/gpu/
DGrAAConvexPathRenderer.cpp114 SkASSERT(!SkScalarIsNaN(c->fX) && !SkScalarIsNaN(c->fY)); in center_of_mass()