Searched refs:gAnimPeriod (Results 1 – 1 of 1) sorted by relevance
1320 static const SkScalar gAnimPeriod = 10 * SK_Scalar1; in beforeChild() local1322 SkScalar t = SkScalarMod(secs, gAnimPeriod); in beforeChild()1323 if (SkScalarFloorToInt(secs / gAnimPeriod) & 0x1) { in beforeChild()1324 t = gAnimPeriod - t; in beforeChild()1326 t = 2 * t - gAnimPeriod; in beforeChild()1327 t *= gAnimMag / gAnimPeriod; in beforeChild()