Home
last modified time | relevance | path

Searched refs:SK_Fract1 (Results 1 – 6 of 6) sorted by relevance

/external/skia/tests/
DMathTest.cpp258 x = SkFractSqrt(SK_Fract1); in TestMath()
259 REPORTER_ASSERT(reporter, x == SK_Fract1); in TestMath()
260 x = SkFractSqrt(SK_Fract1/4); in TestMath()
261 REPORTER_ASSERT(reporter, x == SK_Fract1/2); in TestMath()
262 x = SkFractSqrt(SK_Fract1/16); in TestMath()
263 REPORTER_ASSERT(reporter, x == SK_Fract1/4); in TestMath()
367 double xx = (double)x / SK_Fract1; in TestMath()
/external/skia/include/core/
DSkFixed.h51 #define SK_Fract1 (1 << 30) macro
57 #define SkFloatToFract(x) ((SkFract)((x) * SK_Fract1))
/external/skia/src/utils/
DSkUnitMappers.cpp15 fScale = SK_Fract1 / (segments - 1); in SkDiscreteMapper()
DSkCamera.cpp102 SkFixed scale = SkFixedDiv(SK_Fract1, mag); in normalize()
/external/skia/include/utils/
DSkCamera.h31 #define SK_UnitScalar1 SK_Fract1
/external/skia/src/core/
DSkMatrix.cpp31 #define kMatrix22Elem SK_Fract1
715 return SkFractDiv(SK_Fract1, denom); in sk_inv_determinant()
750 tmp.set(SK_Fract1); in invert()
1156 #define PerspNearlyZero(x) (SkAbs32(x) < (SK_Fract1 >> 26))
1299 dst->fMat[kMPersp2] = SK_Fract1; in Poly2Proc()
1316 dst->fMat[kMPersp2] = SK_Fract1; in Poly3Proc()
1376 dst->fMat[kMPersp2] = SK_Fract1; in Poly4Proc()