Home
last modified time | relevance | path

Searched refs:fPhase (Results 1 – 11 of 11) sorted by relevance

/external/skia/samplecode/
DSamplePathEffects.cpp95 SkScalar fPhase; member in PathEffectView
98 PathEffectView() : fPhase(0) { in PathEffectView()
147 paint.setPathEffect(make_pe(2, fPhase))->unref(); in onDrawContent()
153 paint.setPathEffect(make_pe(3, fPhase))->unref(); in onDrawContent()
159 paint.setPathEffect(make_warp_pe(fPhase))->unref(); in onDrawContent()
166 fPhase = timer.scaled(40); in onAnimate()
/external/skia/src/effects/
DSkDashPathEffect.cpp15 : fPhase(0) in SkDashPathEffect()
31 &fInitialDashLength, &fInitialDashIndex, &fIntervalLength, &fPhase); in SkDashPathEffect()
353 info->fPhase = fPhase; in asADash()
359 buffer.writeScalar(fPhase); in flatten()
376 str->appendf("count: %d phase %.2f intervals: (", fCount, fPhase); in toString()
/external/skia/tests/
DAsADashTest.cpp43 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
56 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
/external/skia/src/pathops/
DSkPathOpsTypes.h37 , fPhase(kIntersecting) in SkOpGlobalState()
98 return fPhase; in phase()
112 SkASSERT(fPhase != phase); in setPhase()
113 fPhase = phase; in setPhase()
132 Phase fPhase; variable
/external/skia/include/core/
DSkPathEffect.h123 DashInfo() : fIntervals(NULL), fCount(0), fPhase(0) {} in DashInfo()
128 SkScalar fPhase; //!< Offset into the dashed interval pattern member
/external/skia/src/gpu/
DGrStrokeInfo.h77 fDashPhase = dashInfo.fPhase; in setDashInfo()
91 fDashPhase = info.fPhase; in setDashInfo()
DGrStrokeInfo.cpp17 info.fPhase = fDashPhase; in applyDash()
/external/skia/src/gpu/effects/
DGrDashingEffect.cpp254 SkScalar fPhase; member
381 if (args.fPhase > 0 && args.fPhase < args.fIntervals[0]) { in generateGeometry()
385 startPts[1].fX = SkMinScalar(startPts[0].fX + args.fIntervals[0] - args.fPhase, in generateGeometry()
391 startAdj = args.fIntervals[0] + args.fIntervals[1] - args.fPhase; in generateGeometry()
397 startAdj += calc_start_adjustment(args.fIntervals, args.fPhase); in generateGeometry()
400 args.fPhase = 0; in generateGeometry()
403 SkScalar endAdj = calc_end_adjustment(args.fIntervals, args.fPtsRot, args.fPhase, in generateGeometry()
437 args.fPhase = 0; in generateGeometry()
444 SkScalar devPhase = args.fPhase * args.fParallelScale; in generateGeometry()
728 geometry.fPhase = phase; in create_batch()
[all …]
/external/skia/include/effects/
DSkDashPathEffect.h68 SkScalar fPhase; variable
/external/skia/src/utils/
DSkDashPath.cpp325 CalcDashParameters(info.fPhase, info.fIntervals, info.fCount, in FilterDashPath()
DSkLua.cpp301 setfield_scalar(fL, "phase", info.fPhase); in pushDash()