/external/skia/src/core/ |
D | SkTime.cpp | 18 int timeZoneHours = SkTAbs(timeZoneMinutes) / 60; in toISO8601() 19 timeZoneMinutes = SkTAbs(timeZoneMinutes) % 60; in toISO8601()
|
D | SkColorSpacePriv.h | 58 return SkTAbs(a - b) < 0.01f; in color_space_almost_equal() 64 return SkTAbs(a - b) < 0.001f; in transfer_fn_almost_equal()
|
D | SkColorSpace_ICC.cpp | 1277 return (SkTAbs(X - kD50_WhitePoint[0]) <= 0.04f) && in is_close_to_d50() 1278 (SkTAbs(Y - kD50_WhitePoint[1]) <= 0.04f) && in is_close_to_d50() 1279 (SkTAbs(Z - kD50_WhitePoint[2]) <= 0.04f); in is_close_to_d50()
|
D | SkGeometry.cpp | 1149 SkScalar closerY = SkTAbs(midY - startY) < SkTAbs(midY - endY) ? startY : endY; in subdivide()
|
/external/skia/src/pathops/ |
D | SkPathOpsPoint.h | 258 float largestNumber = SkTMax(SkTAbs(a.fX), SkTMax(SkTAbs(a.fY), in WayRoughlyEqual() 259 SkTMax(SkTAbs(b.fX), SkTAbs(b.fY)))); in WayRoughlyEqual()
|
D | SkPathOpsCurve.cpp | 105 maxVal = SkTMax(maxVal, SkTMax(SkTAbs(fCurve[index].fX), in setCurveHullSweep() 106 SkTAbs(fCurve[index].fY))); in setCurveHullSweep()
|
D | SkOpSpan.cpp | 465 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(oppSum) <= DEBUG_LIMIT_WIND_SUM); in setOppSum() 475 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(windSum) <= DEBUG_LIMIT_WIND_SUM); in setWindSum()
|
D | SkPathOpsTypes.cpp | 188 return SkTAbs(floatIntA.fSignBitInt - floatIntB.fSignBitInt); in UlpsDistance()
|
D | SkOpSegment.cpp | 1459 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(*sumWinding) <= DEBUG_LIMIT_WIND_SUM); in setUpWindings() 1478 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(*sumWinding) <= DEBUG_LIMIT_WIND_SUM); in setUpWindings() 1479 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(*oppSumWinding) <= DEBUG_LIMIT_WIND_SUM); in setUpWindings() 1707 int absOut = SkTAbs(outerWinding); in UseInnerWinding() 1708 int absIn = SkTAbs(innerWinding); in UseInnerWinding()
|
/external/skia/src/effects/shadows/ |
D | SkSpotShadowMaskFilter.cpp | 269 SkScalar scaleOffset = (scale - 1.0f) * SkTMax(SkTMax(SkTAbs(rrect.rect().fLeft), in directFilterRRectMaskGPU() 270 SkTAbs(rrect.rect().fRight)), in directFilterRRectMaskGPU() 271 SkTMax(SkTAbs(rrect.rect().fTop), in directFilterRRectMaskGPU() 272 SkTAbs(rrect.rect().fBottom))); in directFilterRRectMaskGPU()
|
/external/skia/tests/ |
D | CrossContextImageTest.cpp | 30 return SkTAbs((int)SkColorGetR(a) - (int)SkColorGetR(b)) <= error && in colors_are_close() 31 SkTAbs((int)SkColorGetG(a) - (int)SkColorGetG(b)) <= error && in colors_are_close() 32 SkTAbs((int)SkColorGetB(a) - (int)SkColorGetB(b)) <= error; in colors_are_close()
|
D | Time.cpp | 47 REPORTER_ASSERT(r, SkTAbs(SkToInt(dateTime.fTimeZoneMinutes)) <= 14 * 60); in DEF_TEST()
|
D | BlendTest.cpp | 37 if (SkTAbs(ideal - p) == 1) { r.diffs_by_1++; } in test()
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 96 if (h == v && SkTAbs(h) != 1) { in testQuadLineIntersectMain()
|
D | PathOpsAngleTest.cpp | 54 int epsilon = SkTAbs(p1Bits - p2Bits); in DEF_TEST() 109 int epsilon = SkTAbs(p1Bits - p2Bits); in DEF_TEST()
|
D | ICCTest.cpp | 19 return SkTAbs(a - b) < 0.001f; in almost_equal()
|
D | ColorSpaceXformTest.cpp | 71 return SkTAbs(x - y) <= 1; in almost_equal()
|
/external/skia/samplecode/ |
D | SampleAndroidShadows.cpp | 361 SkScalar scaleOffset = (scale - 1.0f) * SkTMax(SkTMax(SkTAbs(pathRect.fLeft), in drawSpotShadowAlt() 362 SkTAbs(pathRect.fRight)), in drawSpotShadowAlt() 363 SkTMax(SkTAbs(pathRect.fTop), in drawSpotShadowAlt() 364 SkTAbs(pathRect.fBottom))); in drawSpotShadowAlt()
|
/external/skia/src/pdf/ |
D | SkPDFMetadata.cpp | 20 int timeZoneHours = SkTAbs(timeZoneMinutes) / 60; in pdf_date() 21 timeZoneMinutes = SkTAbs(timeZoneMinutes) % 60; in pdf_date()
|
/external/skia/src/effects/gradients/ |
D | SkClampRange.cpp | 29 uint64_t udx = static_cast<uint64_t>(SkTAbs(dx)); in sk_64_smul_check()
|
/external/skia/src/effects/ |
D | SkRRectsGaussianEdgeMaskFilter.cpp | 61 SkVector delta = { SkTAbs(p.fX - rr.rect().centerX()), SkTAbs(p.fY - rr.rect().centerY()) }; in compute_rrect_normalized_dist()
|
/external/skia/src/codec/ |
D | SkAndroidCodec.cpp | 45 return 0.5f * SkTAbs(a.fX*b.fY + b.fX*c.fY - a.fX*c.fY - c.fX*b.fY - b.fX*a.fY); in calculate_area()
|
D | SkIcoCodec.cpp | 217 float error = SkTAbs(((float) (width * height)) - desiredSize); in onGetScaledDimensions()
|
/external/skia/include/core/ |
D | SkTypes.h | 352 template <typename T> static inline T SkTAbs(T value) { in SkTAbs() function
|
/external/skia/tools/ |
D | colorspaceinfo.cpp | 211 return 0.5f * SkTAbs(a.fX*b.fY + b.fX*c.fY - a.fX*c.fY - c.fX*b.fY - b.fX*a.fY); in calculate_area()
|