Home
last modified time | relevance | path

Searched refs:SkTAbs (Results 1 – 17 of 17) sorted by relevance

/external/skia/src/core/
DSkTime.cpp17 int timeZoneHours = SkTAbs(timeZoneMinutes) / 60; in toISO8601()
18 timeZoneMinutes = SkTAbs(timeZoneMinutes) % 60; in toISO8601()
DSkNx.h124 SkNx abs() const { return SkTAbs(fVal); } in abs()
/external/skia/src/effects/gradients/
DSkClampRange.cpp23 int64_t ua = SkTAbs(a); in sk_64_smul_check()
24 int64_t ub = SkTAbs(b); in sk_64_smul_check()
/external/skia/tests/
DTime.cpp47 REPORTER_ASSERT(r, SkTAbs(SkToInt(dateTime.fTimeZoneMinutes)) <= 14 * 60); in DEF_TEST()
DBlendTest.cpp38 if (SkTAbs(ideal - p) == 1) { r.diffs_by_1++; } in test()
DPathOpsQuadLineIntersectionThreadedTest.cpp94 if (h == v && SkTAbs(h) != 1) { in testQuadLineIntersectMain()
DPathOpsAngleTest.cpp54 int epsilon = SkTAbs(p1Bits - p2Bits); in DEF_TEST()
107 int epsilon = SkTAbs(p1Bits - p2Bits); in DEF_TEST()
DMatrix44Test.cpp22 return SkTAbs<SkMScalar>(a - b) <= tolerance; in nearly_equal_mscalar()
/external/skia/src/pdf/
DSkPDFMetadata.cpp19 int timeZoneHours = SkTAbs(timeZoneMinutes) / 60; in pdf_date()
20 timeZoneMinutes = SkTAbs(timeZoneMinutes) % 60; in pdf_date()
/external/skia/src/ports/
DSkFontMgr_android.cpp259 score += SkTAbs((pattern.width() - candidate.width()) * 100); in match_score()
260 score += SkTAbs((pattern.isItalic() == candidate.isItalic()) ? 0 : 1000); in match_score()
261 score += SkTAbs(pattern.weight() - candidate.weight()); in match_score()
DSkFontHost_FreeType_common.cpp187 const size_t srcRowBytes = SkTAbs(srcPitch); in copyFTBitmap()
/external/skia/src/pathops/
DSkOpSpan.cpp373 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(oppSum) <= DEBUG_LIMIT_WIND_SUM); in setOppSum()
383 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(windSum) <= DEBUG_LIMIT_WIND_SUM); in setWindSum()
DSkPathOpsTypes.cpp175 return SkTAbs(floatIntA.fSignBitInt - floatIntB.fSignBitInt); in UlpsDistance()
DSkOpSegment.cpp1482 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(*sumWinding) <= DEBUG_LIMIT_WIND_SUM); in setUpWindings()
1501 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(*sumWinding) <= DEBUG_LIMIT_WIND_SUM); in setUpWindings()
1502 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(*oppSumWinding) <= DEBUG_LIMIT_WIND_SUM); in setUpWindings()
1778 int absOut = SkTAbs(outerWinding); in UseInnerWinding()
1779 int absIn = SkTAbs(innerWinding); in UseInnerWinding()
DSkOpAngle.cpp765 int startSpan = SkTAbs(rh->fSectorStart - fSectorStart); in oppositePlanes()
/external/skia/src/codec/
DSkIcoCodec.cpp205 float error = SkTAbs(((float) (width * height)) - desiredSize); in onGetScaledDimensions()
/external/skia/include/core/
DSkTypes.h399 template <typename T> inline T SkTAbs(T value) { in SkTAbs() function