Searched refs:SkScalarMod (Results 1 - 12 of 12) sorted by relevance

/external/skia/tests/
H A DAsADashTest.cpp43 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase);
56 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase);
/external/skia/src/utils/
H A DSkDashPath.cpp49 phase = SkScalarMod(phase, len);
61 phase = SkScalarMod(phase, len);
127 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX,
131 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight,
/external/skia/samplecode/
H A DSampleDegenerateTwoPtRadials.cpp24 SkASSERT(0 == SkScalarMod(w, SK_Scalar1 * 5));
H A DSampleLitAtlas.cpp57 SkScalar newRot = SkScalarMod(fShip.rot() + (2*SK_ScalarPI - SK_ScalarPI/32.0f),
63 SkScalar newRot = SkScalarMod(fShip.rot() + SK_ScalarPI/32.0f, 2 * SK_ScalarPI);
383 fRot = SkScalarMod(fRot, 2 * SK_ScalarPI);
H A DSampleSVGPong.cpp46 const SkScalar vMod = (vP < 0) ? P - SkScalarMod(-vP, P) : SkScalarMod(vP, P);
H A DSampleAtlas.cpp110 fRadian = SkScalarMod(fRadian, 2 * SK_ScalarPI);
H A DSampleFilterQuality.cpp121 fValue = SkScalarMod(fValue, fMod);
H A DSampleApp.cpp1488 SkScalar t = SkScalarMod(secs, gAnimPeriod);
/external/skia/src/effects/
H A DSkDashPathEffect.cpp106 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, intervalLength);
109 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength);
137 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength);
140 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength);
H A DSk1DPathEffect.cpp43 phase = SkScalarMod(phase, advance);
47 phase = SkScalarMod(phase, advance);
/external/skia/include/core/
H A DSkScalar.h40 #define SkScalarMod(x, y) sk_float_mod(x,y) macro
/external/skia/src/effects/gradients/
H A DSk4fLinearGradient.cpp105 SkScalar f = SkScalarMod(fx, 2.0f);

Completed in 167 milliseconds