Home
last modified time | relevance | path

Searched refs:SkScalarMod (Results 1 – 25 of 29) sorted by relevance

12

/external/skqp/tests/
DAsADashTest.cpp45 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
58 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
/external/skia/tests/
DAsADashTest.cpp45 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
58 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
/external/skqp/src/utils/
DSkDashPath.cpp52 phase = SkScalarMod(phase, len); in CalcDashParameters()
64 phase = SkScalarMod(phase, len); in CalcDashParameters()
128 minXY = leftTop - SkScalarMod(leftTop - minXY, intervalLength); in clip_line()
134 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line()
204 SkScalarMod(priorLength, intervalLength))) { in cull_path()
319 SkScalar endPhase = SkScalarMod(pathLength + initialDashLength, intervalLength); in InternalFilter()
/external/skia/src/utils/
DSkDashPath.cpp53 phase = SkScalarMod(phase, len); in CalcDashParameters()
65 phase = SkScalarMod(phase, len); in CalcDashParameters()
129 minXY = leftTop - SkScalarMod(leftTop - minXY, intervalLength); in clip_line()
135 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line()
313 SkScalar endPhase = SkScalarMod(pathLength + initialDashLength, intervalLength); in InternalFilter()
/external/skia/gm/
Dpostercircle.cpp101 SkScalar yRotation = SkScalarMod(kAngleStep * i + in onDraw()
102 360.f * SkScalarMod(fTime / yDuration, yDuration), 360.f); in onDraw()
Dcrbug_224618.cpp54 SkScalar viewportWidth = SkScalarMod(fTime, 10.f) / 10.f * (kMaxVW - kMinVW) + kMinVW; in onDraw()
/external/skia/src/effects/
DSkDashPathEffect.cpp111 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, intervalLength); in cull_line()
114 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
144 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
147 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength); in cull_line()
DSk1DPathEffect.cpp53 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
57 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
/external/skqp/src/effects/
DSkDashPathEffect.cpp111 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, intervalLength); in cull_line()
114 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
144 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
147 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength); in cull_line()
DSk1DPathEffect.cpp49 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
53 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
/external/skia/samplecode/
DSampleThinAA.cpp363 bool completed = SkScalarMod(newAngle, 15.f) < SkScalarMod(fAngle, 15.f); in onAnimate()
364 fAngle = SkScalarMod(newAngle, 360.f); in onAnimate()
408 case ' ': fAngle = SkScalarMod(fAngle + 15.f, 360.f); return true; in onChar()
DSampleDegenerateTwoPtRadials.cpp23 SkASSERT(0 == SkScalarMod(w, SK_Scalar1 * 5)); in draw_gradient2()
DSampleAtlas.cpp113 fRadian = SkScalarMod(fRadian, 2 * SK_ScalarPI); in advance()
/external/skqp/samplecode/
DSampleThinAA.cpp361 bool completed = SkScalarMod(newAngle, 15.f) < SkScalarMod(fAngle, 15.f); in onAnimate()
362 fAngle = SkScalarMod(newAngle, 360.f); in onAnimate()
411 case ' ': fAngle = SkScalarMod(fAngle + 15.f, 360.f); return true; in onQuery()
DSampleDegenerateTwoPtRadials.cpp24 SkASSERT(0 == SkScalarMod(w, SK_Scalar1 * 5)); in draw_gradient2()
DSampleLitAtlas.cpp57 SkScalar newRot = SkScalarMod(fShip.rot() + (2*SK_ScalarPI - SK_ScalarPI/32.0f), in left()
63 SkScalar newRot = SkScalarMod(fShip.rot() + SK_ScalarPI/32.0f, 2 * SK_ScalarPI); in right()
384 fRot = SkScalarMod(fRot, 2 * SK_ScalarPI); in advance()
DSampleAtlas.cpp111 fRadian = SkScalarMod(fRadian, 2 * SK_ScalarPI); in advance()
DSampleFilterQuality.cpp117 fValue = SkScalarMod(fValue, fMod); in fixUp()
/external/skqp/modules/sksg/samples/
DSampleSVGPong.cpp49 const SkScalar vMod = (vP < 0) ? P - SkScalarMod(-vP, P) : SkScalarMod(vP, P); in box_reflect()
/external/skia/modules/sksg/samples/
DSampleSVGPong.cpp52 const SkScalar vMod = (vP < 0) ? P - SkScalarMod(-vP, P) : SkScalarMod(vP, P); in box_reflect()
/external/skia/include/core/
DSkScalar.h40 #define SkScalarMod(x, y) sk_float_mod(x,y) macro
/external/skqp/include/core/
DSkScalar.h40 #define SkScalarMod(x, y) sk_float_mod(x,y) macro
/external/skqp/src/shaders/gradients/
DSk4fLinearGradient.cpp70 SkScalar f = SkScalarIsFinite(fx) ? SkScalarMod(fx, 2.0f) : 0; in pinFx()
/external/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp71 SkScalar f = SkScalarIsFinite(fx) ? SkScalarMod(fx, 2.0f) : 0; in pinFx()
/external/skia/src/gpu/geometry/
DGrShape.cpp143 fArc.fStartAngle = SkScalarMod(fArc.fStartAngle, 360.f); in simplifyArc()

12