Home
last modified time | relevance | path

Searched refs:fWeight (Results 1 – 25 of 62) sorted by relevance

123

/external/skqp/src/pathops/
DSkPathOpsConic.cpp52 conic_eval_tan(&fPts[0].fX, fWeight, t), in dxdyAtT()
53 conic_eval_tan(&fPts[0].fY, fWeight, t) in dxdyAtT()
95 double denominator = conic_eval_denominator(fWeight, t); in ptAtT()
97 sk_ieee_double_divide(conic_eval_numerator(&fPts[0].fX, fWeight, t), denominator), in ptAtT()
98 sk_ieee_double_divide(conic_eval_numerator(&fPts[0].fY, fWeight, t), denominator) in ptAtT()
131 ax = conic_eval_numerator(&fPts[0].fX, fWeight, t1); in subDivide()
132 ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1); in subDivide()
133 az = conic_eval_denominator(fWeight, t1); in subDivide()
140 double dx = conic_eval_numerator(&fPts[0].fX, fWeight, midT); in subDivide()
141 double dy = conic_eval_numerator(&fPts[0].fY, fWeight, midT); in subDivide()
[all …]
DSkPathOpsConic.h19 SkScalar fWeight; member
31 fWeight = 0; in debugInit()
38 SkDEBUGPARAMS(fPts.fDebugGlobalState) }, fWeight}; in flip()
51 fWeight = weight; in set()
DSkOpSegment.h199 return (*CurveDPointAtT[fVerb])(fPts, fWeight, mid); in dPtAtT()
203 return (*CurveDSlopeAtT[fVerb])(fPts, fWeight, mid); in dSlopeAtT()
263 return (*CurveIsVertical[fVerb])(fPts, fWeight, start->t(), end->t()); in isVertical()
313 return (*CurvePointAtT[fVerb])(fPts, fWeight, mid); in ptAtT()
422 return fWeight; in weight()
436 SkScalar fWeight; variable
DSkPathOpsRect.cpp36 roots = SkDConic::FindExtrema(&sub[0].fX, sub.fWeight, tValues); in setBounds()
39 roots += SkDConic::FindExtrema(&sub[0].fY, sub.fWeight, &tValues[roots]); in setBounds()
/external/skia/src/pathops/
DSkPathOpsConic.cpp52 conic_eval_tan(&fPts[0].fX, fWeight, t), in dxdyAtT()
53 conic_eval_tan(&fPts[0].fY, fWeight, t) in dxdyAtT()
95 double denominator = conic_eval_denominator(fWeight, t); in ptAtT()
97 sk_ieee_double_divide(conic_eval_numerator(&fPts[0].fX, fWeight, t), denominator), in ptAtT()
98 sk_ieee_double_divide(conic_eval_numerator(&fPts[0].fY, fWeight, t), denominator) in ptAtT()
131 ax = conic_eval_numerator(&fPts[0].fX, fWeight, t1); in subDivide()
132 ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1); in subDivide()
133 az = conic_eval_denominator(fWeight, t1); in subDivide()
140 double dx = conic_eval_numerator(&fPts[0].fX, fWeight, midT); in subDivide()
141 double dy = conic_eval_numerator(&fPts[0].fY, fWeight, midT); in subDivide()
[all …]
DSkPathOpsConic.h19 SkScalar fWeight; member
31 fWeight = 0; in debugInit()
38 SkDEBUGPARAMS(fPts.fDebugGlobalState) }, fWeight}; in flip()
51 fWeight = weight; in set()
DSkOpSegment.h199 return (*CurveDPointAtT[fVerb])(fPts, fWeight, mid); in dPtAtT()
203 return (*CurveDSlopeAtT[fVerb])(fPts, fWeight, mid); in dSlopeAtT()
263 return (*CurveIsVertical[fVerb])(fPts, fWeight, start->t(), end->t()); in isVertical()
313 return (*CurvePointAtT[fVerb])(fPts, fWeight, mid); in ptAtT()
422 return fWeight; in weight()
436 SkScalar fWeight; variable
DSkPathOpsRect.cpp36 roots = SkDConic::FindExtrema(&sub[0].fX, sub.fWeight, tValues); in setBounds()
39 roots += SkDConic::FindExtrema(&sub[0].fY, sub.fWeight, &tValues[roots]); in setBounds()
/external/skia/src/gpu/effects/
DGrMixerEffect.h32 return {c0.fR + (c1.fR - c0.fR) * fWeight, c0.fG + (c1.fG - c0.fG) * fWeight, in constantOutputForConstantInput()
33 c0.fB + (c1.fB - c0.fB) * fWeight, c0.fA + (c1.fA - c0.fA) * fWeight}; in constantOutputForConstantInput()
37 float weight() const { return fWeight; } in weight()
55 , fWeight(weight) { in GrMixerEffect()
70 float fWeight; variable
DGrMixerEffect.fp31 c0.fR + (c1.fR - c0.fR) * fWeight,
32 c0.fG + (c1.fG - c0.fG) * fWeight,
33 c0.fB + (c1.fB - c0.fB) * fWeight,
34 c0.fA + (c1.fA - c0.fA) * fWeight
DGrMixerEffect.cpp62 if (fWeight != that.fWeight) return false; in onIsEqual()
69 , fWeight(src.fWeight) { in GrMixerEffect()
/external/skia/samplecode/
DSampleMixer.cpp31 float fWeight = 0; member in MixerView
51 paint.setColorFilter(SkColorFilter::MakeLerp(cf0, cf1, fWeight)); in dodraw()
52 canvas->drawImage(fImg, fImg->width() + gap * fWeight, 0, &paint); in dodraw()
74 fWeight += fDW; in onDrawContent()
75 if (fWeight > 1 || fWeight < 0) { in onDrawContent()
/external/skqp/tests/
DPathOpsConicIntersectionTest.cpp48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
121 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeDPng()
140 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeDPng()
149 path.conicTo(chopped.fPts[1].asSkPoint(), chopped.fPts[2].asSkPoint(), chopped.fWeight); in writeDPng()
165 conic.fW = dConic.fWeight; in chopBothWays()
251 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
280 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
283 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeFrames()
304 c1.debugSet(conic1.fPts.fPts, conic1.fWeight); in oneOff()
[all …]
DPathOpsConicLineIntersectionTest.cpp78 conic.debugSet(c.fPts.fPts, c.fWeight); in testOneOffs()
107 conic.debugSet(c.fPts.fPts, c.fWeight); in DEF_TEST()
116 floatConic.set(pts, conic.fWeight); in DEF_TEST()
/external/skia/tests/
DPathOpsConicIntersectionTest.cpp48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
121 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeDPng()
140 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeDPng()
149 path.conicTo(chopped.fPts[1].asSkPoint(), chopped.fPts[2].asSkPoint(), chopped.fWeight); in writeDPng()
165 conic.fW = dConic.fWeight; in chopBothWays()
251 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
280 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
283 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeFrames()
304 c1.debugSet(conic1.fPts.fPts, conic1.fWeight); in oneOff()
[all …]
DPathOpsConicLineIntersectionTest.cpp78 conic.debugSet(c.fPts.fPts, c.fWeight); in testOneOffs()
107 conic.debugSet(c.fPts.fPts, c.fWeight); in DEF_TEST()
116 floatConic.set(pts, conic.fWeight); in DEF_TEST()
DPathOpsTestCommon.h22 SkScalar fWeight; member
/external/skia/src/core/
DSkColorFilter.cpp287 : fCF0(std::move(cf0)), fCF1(std::move(cf1)), fWeight(weight) in SkMixerColorFilter()
290 SkASSERT(fWeight >= 0 && fWeight <= 1); in SkMixerColorFilter()
323 float* storage = alloc->make<float>(fWeight); in onAppendStages()
333 fWeight); in asFragmentProcessor()
341 buffer.writeScalar(fWeight); in flatten()
349 const float fWeight; member in SkMixerColorFilter
/external/skia/modules/sksg/include/
DSkSGColorFilter.h80 SG_ATTRIBUTE(Weight, float, fWeight)
90 float fWeight = 0; variable
/external/skia/src/utils/win/
DSkDWrite.h85 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle()
94 DWRITE_FONT_WEIGHT fWeight; member
/external/skqp/src/utils/win/
DSkDWrite.h85 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle()
94 DWRITE_FONT_WEIGHT fWeight; member
/external/skqp/src/ports/
DSkFontMgr_android_parser.h71 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
75 int fWeight; member
/external/skia/src/ports/
DSkFontMgr_android_parser.h71 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
75 int fWeight; member
/external/skqp/modules/skottie/src/
DSkottieTextLayer.cpp32 const SkFontStyle::Weight fWeight; in FontStyle() member
47 weight = w.fWeight; in FontStyle()
/external/skia/modules/skottie/src/
DSkottieTextLayer.cpp32 const SkFontStyle::Weight fWeight; in FontStyle() member
47 weight = w.fWeight; in FontStyle()

123