Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkDashPathEffect.cpp28 &fInitialDashIndex, &fIntervalLength, &fPhase); in SkDashPathEffect()
233 info->fPhase = fPhase; in asADash()
244 buffer.writeScalar(fPhase); in flatten()
260 fPhase = buffer.readScalar(); in SkDashPathEffect()
273 fPhase = 0; in SkDashPathEffect()
276 fPhase += fIntervals[i]; in SkDashPathEffect()
278 fPhase += fIntervals[fInitialDashIndex] - fInitialDashLength; in SkDashPathEffect()
283 SkDashPath::CalcDashParameters(fPhase, fIntervals, fCount, &fInitialDashLength, in SkDashPathEffect()
/external/chromium_org/third_party/skia/src/effects/
DSkDashPathEffect.cpp28 &fInitialDashIndex, &fIntervalLength, &fPhase); in SkDashPathEffect()
233 info->fPhase = fPhase; in asADash()
244 buffer.writeScalar(fPhase); in flatten()
260 fPhase = buffer.readScalar(); in SkDashPathEffect()
273 fPhase = 0; in SkDashPathEffect()
276 fPhase += fIntervals[i]; in SkDashPathEffect()
278 fPhase += fIntervals[fInitialDashIndex] - fInitialDashLength; in SkDashPathEffect()
283 SkDashPath::CalcDashParameters(fPhase, fIntervals, fCount, &fInitialDashLength, in SkDashPathEffect()
/external/skia/samplecode/
DSamplePathUtils.cpp45 SkScalar fPhase; member in SamplePathUtils
51 fPhase = 0.0f; // to animate the dashed path in SamplePathUtils()
68 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, fPhase)); in onDrawContent()
96 fPhase += .01f; in onDrawContent()
/external/chromium_org/third_party/skia/samplecode/
DSamplePathUtils.cpp45 SkScalar fPhase; member in SamplePathUtils
51 fPhase = 0.0f; // to animate the dashed path in SamplePathUtils()
68 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, fPhase)); in onDrawContent()
96 fPhase += .01f; in onDrawContent()
/external/skia/src/gpu/effects/
DGrDashingEffect.cpp113 SkASSERT(info.fPhase < info.fIntervals[0] + info.fIntervals[1]); in calc_start_adjustment()
114 if (info.fPhase >= info.fIntervals[0] && info.fPhase != 0) { in calc_start_adjustment()
116 return srcIntervalLen - info.fPhase; in calc_start_adjustment()
181 SkASSERT(info.fPhase >= 0 && info.fPhase < info.fIntervals[0] + info.fIntervals[1]); in DrawDashLine()
183 SkScalar srcPhase = info.fPhase; in DrawDashLine()
339 devInfo.fPhase = devPhase; in DrawDashLine()
617 info.fPhase = random->nextRangeScalar(0, info.fIntervals[0] + info.fIntervals[1]); in TestCreate()
/external/chromium_org/third_party/skia/src/gpu/effects/
DGrDashingEffect.cpp113 SkASSERT(info.fPhase < info.fIntervals[0] + info.fIntervals[1]); in calc_start_adjustment()
114 if (info.fPhase >= info.fIntervals[0] && info.fPhase != 0) { in calc_start_adjustment()
116 return srcIntervalLen - info.fPhase; in calc_start_adjustment()
181 SkASSERT(info.fPhase >= 0 && info.fPhase < info.fIntervals[0] + info.fIntervals[1]); in DrawDashLine()
183 SkScalar srcPhase = info.fPhase; in DrawDashLine()
339 devInfo.fPhase = devPhase; in DrawDashLine()
617 info.fPhase = random->nextRangeScalar(0, info.fIntervals[0] + info.fIntervals[1]); in TestCreate()
/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/chromium_org/third_party/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/chromium_org/third_party/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/include/core/
DSkPathEffect.h123 DashInfo() : fIntervals(NULL), fCount(0), fPhase(0) {} in DashInfo()
128 SkScalar fPhase; //!< Offset into the dashed interval pattern member
/external/chromium_org/third_party/skia/include/effects/
DSkDashPathEffect.h66 SkScalar fPhase; variable
/external/skia/include/effects/
DSkDashPathEffect.h66 SkScalar fPhase; variable
/external/chromium_org/third_party/skia/src/utils/
DSkDashPath.cpp324 CalcDashParameters(info.fPhase, info.fIntervals, info.fCount, in FilterDashPath()
DSkLua.cpp250 setfield_scalar(fL, "phase", info.fPhase); in pushDash()
/external/skia/src/utils/
DSkDashPath.cpp324 CalcDashParameters(info.fPhase, info.fIntervals, info.fCount, in FilterDashPath()
DSkLua.cpp250 setfield_scalar(fL, "phase", info.fPhase); in pushDash()