Home
last modified time | relevance | path

Searched refs:SkScalarIsFinite (Results 1 – 25 of 106) sorted by relevance

12345

/external/skia/tests/
DRectTest.cpp156 REPORTER_ASSERT(reporter, !SkScalarIsFinite(r.width())); in DEF_TEST()
157 REPORTER_ASSERT(reporter, !SkScalarIsFinite(r.height())); in DEF_TEST()
160 REPORTER_ASSERT(reporter, SkScalarIsFinite(r.centerX())); in DEF_TEST()
161 REPORTER_ASSERT(reporter, SkScalarIsFinite(r.centerY())); in DEF_TEST()
166 REPORTER_ASSERT(reporter, SkScalarIsFinite(SkRectPriv::HalfWidth(r))); in DEF_TEST()
167 REPORTER_ASSERT(reporter, SkScalarIsFinite(SkRectPriv::HalfHeight(r))); in DEF_TEST()
DMathTest.cpp185 REPORTER_ASSERT(reporter, !SkScalarIsFinite(inf)); in unittest_isfinite()
186 REPORTER_ASSERT(reporter, !SkScalarIsFinite(-inf)); in unittest_isfinite()
193 REPORTER_ASSERT(reporter, !SkScalarIsFinite(nan)); in unittest_isfinite()
194 REPORTER_ASSERT(reporter, SkScalarIsFinite(big)); in unittest_isfinite()
195 REPORTER_ASSERT(reporter, SkScalarIsFinite(-big)); in unittest_isfinite()
196 REPORTER_ASSERT(reporter, SkScalarIsFinite(0)); in unittest_isfinite()
235 REPORTER_ASSERT(reporter, !SkScalarIsFinite(f) ); in unittest_half()
245 REPORTER_ASSERT(reporter, !SkScalarIsFinite(f) ); in unittest_half()
DPointTest.cpp111 if (SkScalarIsFinite(length)) { in test_overflow()
113 REPORTER_ASSERT(reporter, !SkScalarIsFinite(length)); in test_overflow()
/external/skia/src/core/
DSkFontPriv.h68 return SkScalarIsFinite(font.getSize()) && in IsFinite()
69 SkScalarIsFinite(font.getScaleX()) && in IsFinite()
70 SkScalarIsFinite(font.getSkewX()); in IsFinite()
DSkValidationUtils.h32 SkScalarIsFinite(rect.width()) && in SkIsValidRect()
33 SkScalarIsFinite(rect.height()); in SkIsValidRect()
DSkPoint.cpp77 if (SkScalarIsFinite(mag2)) { in Length()
116 if (!SkScalarIsFinite(temp)) { in DistanceToLineBetweenSqd()
159 if (!SkScalarIsFinite(temp)) { in DistanceToLineSegmentBetweenSqd()
/external/skqp/src/core/
DSkFontPriv.h74 return SkScalarIsFinite(font.fSize) && in IsFinite()
75 SkScalarIsFinite(font.fScaleX) && in IsFinite()
76 SkScalarIsFinite(font.fSkewX); in IsFinite()
DSkValidationUtils.h32 SkScalarIsFinite(rect.width()) && in SkIsValidRect()
33 SkScalarIsFinite(rect.height()); in SkIsValidRect()
DSkPoint.cpp133 if (SkScalarIsFinite(mag2)) { in Length()
172 if (!SkScalarIsFinite(temp)) { in DistanceToLineBetweenSqd()
215 if (!SkScalarIsFinite(temp)) { in DistanceToLineSegmentBetweenSqd()
/external/skia/src/shaders/gradients/
DSk4fGradientBase.cpp126 SkASSERT(SkScalarIsFinite(t0) || SkScalarIsFinite(t1)); in Sk4fGradientInterval()
131 SkASSERT(SkScalarIsFinite(dt) || (c0 == c1).allTrue()); in Sk4fGradientInterval()
132 SkASSERT(SkScalarIsFinite(t0) || (c0 == c1).allTrue()); in Sk4fGradientInterval()
133 const Sk4f dc = SkScalarIsFinite(dt) ? (c1 - c0) / dt : 0; in Sk4fGradientInterval()
134 const Sk4f bias = c0 - (SkScalarIsFinite(t0) ? t0 * dc : 0); in Sk4fGradientInterval()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.cpp126 SkASSERT(SkScalarIsFinite(t0) || SkScalarIsFinite(t1)); in Sk4fGradientInterval()
131 SkASSERT(SkScalarIsFinite(dt) || (c0 == c1).allTrue()); in Sk4fGradientInterval()
132 SkASSERT(SkScalarIsFinite(t0) || (c0 == c1).allTrue()); in Sk4fGradientInterval()
133 const Sk4f dc = SkScalarIsFinite(dt) ? (c1 - c0) / dt : 0; in Sk4fGradientInterval()
134 const Sk4f bias = c0 - (SkScalarIsFinite(t0) ? t0 * dc : 0); in Sk4fGradientInterval()
/external/skqp/tests/
DRectTest.cpp157 REPORTER_ASSERT(reporter, SkScalarIsFinite(r.centerX())); in DEF_TEST()
158 REPORTER_ASSERT(reporter, SkScalarIsFinite(r.centerY())); in DEF_TEST()
159 REPORTER_ASSERT(reporter, !SkScalarIsFinite(r.width())); in DEF_TEST()
160 REPORTER_ASSERT(reporter, !SkScalarIsFinite(r.height())); in DEF_TEST()
DMathTest.cpp187 REPORTER_ASSERT(reporter, !SkScalarIsFinite(inf)); in unittest_isfinite()
188 REPORTER_ASSERT(reporter, !SkScalarIsFinite(-inf)); in unittest_isfinite()
195 REPORTER_ASSERT(reporter, !SkScalarIsFinite(nan)); in unittest_isfinite()
196 REPORTER_ASSERT(reporter, SkScalarIsFinite(big)); in unittest_isfinite()
197 REPORTER_ASSERT(reporter, SkScalarIsFinite(-big)); in unittest_isfinite()
198 REPORTER_ASSERT(reporter, SkScalarIsFinite(0)); in unittest_isfinite()
237 REPORTER_ASSERT(reporter, !SkScalarIsFinite(f) ); in unittest_half()
247 REPORTER_ASSERT(reporter, !SkScalarIsFinite(f) ); in unittest_half()
DPointTest.cpp111 if (SkScalarIsFinite(length)) { in test_overflow()
113 REPORTER_ASSERT(reporter, !SkScalarIsFinite(length)); in test_overflow()
/external/skia/src/pathops/
DSkPathOpsTypes.cpp37 if (!SkScalarIsFinite(a) || !SkScalarIsFinite(b)) { in equal_ulps_pin()
67 if (!SkScalarIsFinite(a) || !SkScalarIsFinite(b)) { in not_equal_ulps_pin()
/external/skqp/src/pathops/
DSkPathOpsTypes.cpp37 if (!SkScalarIsFinite(a) || !SkScalarIsFinite(b)) { in equal_ulps_pin()
67 if (!SkScalarIsFinite(a) || !SkScalarIsFinite(b)) { in not_equal_ulps_pin()
/external/skqp/src/effects/
DSkDiscretePathEffect.cpp19 if (!SkScalarIsFinite(segLength) || !SkScalarIsFinite(deviation)) { in Make()
DSk1DPathEffect.cpp206 if (advance <= 0 || !SkScalarIsFinite(advance) || !SkScalarIsFinite(phase) || path.isEmpty()) { in Make()
/external/skia/src/effects/
DSkDiscretePathEffect.cpp19 if (!SkScalarIsFinite(segLength) || !SkScalarIsFinite(deviation)) { in Make()
DSk1DPathEffect.cpp210 if (advance <= 0 || !SkScalarIsFinite(advance) || !SkScalarIsFinite(phase) || path.isEmpty()) { in Make()
/external/skia/docs/examples/
DPaint_setTextSkewX.cpp10 SkDebugf("text scale %s-finite\n", SkScalarIsFinite(paint.getTextScaleX()) ? "is" : "not");
/external/skia/src/effects/imagefilters/
DSkOffsetImageFilter.cpp51 if (!SkScalarIsFinite(dx) || !SkScalarIsFinite(dy)) { in Offset()
DSkArithmeticImageFilter.cpp80 if (!SkScalarIsFinite(k1) || !SkScalarIsFinite(k2) || !SkScalarIsFinite(k3) || in Arithmetic()
81 !SkScalarIsFinite(k4)) { in Arithmetic()
/external/skqp/src/effects/imagefilters/
DSkOffsetImageFilter.cpp28 if (!SkScalarIsFinite(dx) || !SkScalarIsFinite(dy)) { in Make()
/external/skia/modules/skparagraph/include/
DTextStyle.h22 if (SkScalarIsFinite(x)) {
29 if (SkScalarIsFinite(x) && SkScalarIsFinite(x)) {

12345