Home
last modified time | relevance | path

Searched refs:fA (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/external/skqp/src/pathops/
DSkLineParameters.h57 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints()
66 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints()
72 fA = pts[s].fY - pts[e].fY; in cubicEndPoints()
86 fA = pts[0].fY - pts[1].fY; in lineEndPoints()
105 fA = DBL_EPSILON; in quadEndPoints()
111 fA = pts[s].fY - pts[e].fY; in quadEndPoints()
122 return fA * fA + fB * fB; in normalSquared()
128 fA = fB = fC = 0; in normalize()
132 fA *= reciprocal; in normalize()
142 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in cubicDistanceY()
[all …]
/external/skia/src/pathops/
DSkLineParameters.h57 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints()
66 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints()
72 fA = pts[s].fY - pts[e].fY; in cubicEndPoints()
86 fA = pts[0].fY - pts[1].fY; in lineEndPoints()
105 fA = DBL_EPSILON; in quadEndPoints()
111 fA = pts[s].fY - pts[e].fY; in quadEndPoints()
122 return fA * fA + fB * fB; in normalSquared()
128 fA = fB = fC = 0; in normalize()
132 fA *= reciprocal; in normalize()
142 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in cubicDistanceY()
[all …]
/external/skia/include/core/
DSkColor.h247 float fA; //!< alpha component member
255 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB;
273 return { fR * scale, fG * scale, fB * scale, fA * scale };
282 return { fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA };
323 SkASSERT(fA <= 1.0f && fA >= 0.0f); in isOpaque()
324 return fA == 1.0f; in isOpaque()
329 SkASSERT(fA >= 0.0f && fA <= 1.0f); in fitsInBytes()
365 return { fR * fA, fG * fA, fB * fA, fA }; in premul()
376 if (fA == 0.0f) { in unpremul()
379 float invAlpha = 1 / fA; in unpremul()
[all …]
/external/skqp/include/core/
DSkColor.h245 float fA; //!< alpha component member
253 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB;
271 return { fR * scale, fG * scale, fB * scale, fA * scale };
280 return { fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA };
321 SkASSERT(fA <= 1.0f && fA >= 0.0f); in isOpaque()
322 return fA == 1.0f; in isOpaque()
351 return { fR * fA, fG * fA, fB * fA, fA }; in premul()
362 if (fA == 0.0f) { in unpremul()
365 float invAlpha = 1 / fA; in unpremul()
366 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
DBracketFinder.java127 double fA = eval(func, xA); in search() local
130 fA < fB : in search()
131 fA > fB) { in search()
136 tmp = fA; in search()
137 fA = fB; in search()
150 double tmp2 = (xB - xC) * (fB - fA); in search()
166 fA = fB; in search()
201 fA = fB; in search()
209 fLo = fA; in search()
/external/skqp/modules/sksg/src/
DSkSGTransform.cpp23 : fA(std::move(a)), fB(std::move(b)) { in Concat()
24 SkASSERT(fA); in Concat()
27 this->observeInval(fA); in Concat()
32 this->unobserveInval(fA); in ~Concat()
38 fA->revalidate(ic, ctm); in onRevalidate()
41 fComposed.setConcat(TransformPriv::As<T>(fA), in onRevalidate()
57 const sk_sp<Transform> fA, fB; member in sksg::__anon705465150111::Concat
/external/skia/src/gpu/effects/generated/
DGrColorMatrixFragmentProcessor.h28 color.fA = input.fA; in constantOutputForConstantInput()
30 auto v4 = m.map(color.fR, color.fG, color.fB, color.fA) + v; in constantOutputForConstantInput()
32 color.fA = SkTPin(color.fA, 0.f, 1.f); in constantOutputForConstantInput()
41 return {color.fR, color.fG, color.fB, color.fA}; in constantOutputForConstantInput()
DGrRGBToHSLFilterEffect.h31 S = pmC / (c.fA + eps - std::abs(pmL * 2 - c.fA)), L = pmL / (c.fA + eps); in constantOutputForConstantInput()
33 return {H, S, L, c.fA}; in constantOutputForConstantInput()
/external/mesa3d/src/freedreno/afuc/
Dlexer.l44 "0x"[0-9a-fA-F]* yylval.num = strtoul(yytext, NULL, 0); return T_HEX;
46 "$"[0-9a-fA-F][0-9a-fA-F] yylval.num = parse_reg(yytext); return T_REGISTER;
52 "["[0-9a-fA-F][0-9a-fA-F]*"]" yylval.num = parse_literal(yytext); return T_LITERAL;
/external/skqp/tests/
DPathOpsOpRectThreadedTest.cpp36 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain()
57 " SkPath::kCW_Direction);\n", state.fA, state.fA, state.fB, state.fB); in testPathOpsRectsMain()
126 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB) + c, in testPathOpsFastMain()
146 " SkPath::kCW_Direction);\n", state.fA, state.fA, state.fB + c, state.fB); in testPathOpsFastMain()
DPathOpsOpCubicThreadedTest.cpp32 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); in testOpCubicsMain()
39 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain()
49 pathStr.appendf(" path.moveTo(%d,%d);\n", state.fA, state.fB); in testOpCubicsMain()
58 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
/external/skia/tests/
DPathOpsOpRectThreadedTest.cpp37 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain()
58 " SkPathDirection::kCW);\n", state.fA, state.fA, state.fB, state.fB); in testPathOpsRectsMain()
131 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB) + c, in testPathOpsFastMain()
151 " SkPathDirection::kCW);\n", state.fA, state.fA, state.fB + c, state.fB); in testPathOpsFastMain()
DProcessorTest.cpp397 SkASSERT(inf[0].fA == inf[1].fA && inf[1].fA == inf[2].fA); in legal_modulation()
424 expectedForAlphaModulation[i] = fpPreAlphaModulation * inf[i].fA; in legal_modulation()
429 if (inf[i].fA == 0) { in legal_modulation()
454 inf[i].fR, inf[i].fG, inf[i].fB, inf[i].fA, in legal_modulation()
455 outf[i].fR, outf[i].fG, outf[i].fB, outf[i].fA, in legal_modulation()
457 expectedForColorModulation[i].fB, expectedForColorModulation[i].fA, in legal_modulation()
469 inf[i].fR, inf[i].fG, inf[i].fB, inf[i].fA, in legal_modulation()
470 outf[i].fR, outf[i].fG, outf[i].fB, outf[i].fA, in legal_modulation()
472 expectedForAlphaModulation[i].fB, expectedForAlphaModulation[i].fA, in legal_modulation()
625 float aDiff = fabsf(output4f.fA - expected4f.fA); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
DPathOpsOpCubicThreadedTest.cpp33 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); in testOpCubicsMain()
40 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain()
50 pathStr.appendf(" path.moveTo(%d,%d);\n", state.fA, state.fB); in testOpCubicsMain()
59 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
DPathOpsThreadedCommon.h27 unsigned char fA; member
58 fState.fA = (a & 0xFF); in PathOpsThreadedRunnable()
77 fState.fA = dirNo; in PathOpsThreadedRunnable()
/external/skia/src/gpu/effects/
DGrColorMatrixFragmentProcessor.fp46 color.fA = input.fA;
48 auto v4 = m.map(color.fR, color.fG, color.fB, color.fA) + v;
50 color.fA = SkTPin(color.fA, 0.f, 1.f);
59 return {color.fR, color.fG, color.fB, color.fA};
DGrTextureEffect.cpp27 float fA = 0.f, fB = 0.f; in Sampling() member
30 Span r = {fA + o, fB - o}; in Sampling()
31 if (r.fA > r.fB) { in Sampling()
32 r.fA = r.fB = (r.fA + r.fB) / 2; in Sampling()
37 bool contains(Span r) const { return fA <= r.fA && fB >= r.fB; } in Sampling()
55 if (canDoHW && size > 0 && subset.fA <= 0 && subset.fB >= size) { in Sampling()
65 Span isubset{sk_float_floor(subset.fA), sk_float_ceil(subset.fB)}; in Sampling()
66 if (domain.fA > isubset.fA && domain.fB < isubset.fB) { in Sampling()
108 fShaderSubset = {x.fShaderSubset.fA, y.fShaderSubset.fA, in Sampling()
110 fShaderClamp = {x.fShaderClamp.fA, y.fShaderClamp.fA, in Sampling()
DGrMixerEffect.fp34 c0.fA + (c1.fA - c0.fA) * weight
/external/skia/modules/sksg/src/
DSkSGTransform.cpp41 : fA(std::move(a)), fB(std::move(b)) { in Concat()
42 SkASSERT(fA); in Concat()
45 this->observeInval(fA); in Concat()
50 this->unobserveInval(fA); in ~Concat()
56 fA->revalidate(ic, ctm); in onRevalidate()
59 fComposed.setConcat(TransformPriv::As<T>(fA), in onRevalidate()
77 const sk_sp<Transform> fA, fB; member in sksg::__anona42a4b5e0111::Concat
/external/skqp/src/core/
DSkGeometry.h322 : fA(A) in SkQuadCoeff()
333 fA = P2 - times_2(P1) + fC; in SkQuadCoeff()
342 return (fA * tt + fB) * tt + fC; in eval()
345 Sk2s fA; member
359 fNumer.fA = p2 - times_2(p1w) + p0; in SkConicCoeff()
364 fDenom.fA = Sk2s(0) - fDenom.fB; in SkConicCoeff()
385 fA = P3 + three * (P1 - P2) - P0; in SkCubicCoeff()
397 return ((fA * t + fB) * t + fC) * t + fD; in eval()
400 Sk2s fA; member
/external/skia/src/core/
DSkGeometry.h320 : fA(A) in SkQuadCoeff()
331 fA = P2 - times_2(P1) + fC; in SkQuadCoeff()
340 return (fA * tt + fB) * tt + fC; in eval()
343 Sk2s fA; member
357 fNumer.fA = p2 - times_2(p1w) + p0; in SkConicCoeff()
362 fDenom.fA = Sk2s(0) - fDenom.fB; in SkConicCoeff()
383 fA = P3 + three * (P1 - P2) - P0; in SkCubicCoeff()
395 return ((fA * t + fB) * t + fC) * t + fD; in eval()
398 Sk2s fA; member
/external/skia/bench/
DRegionContainBench.cpp21 SkRegion fA, fB; member in RegionContainBench
42 fA.op(randrect(rand, i), SkRegion::kXOR_Op); in RegionContainBench()
59 proc(fA, fB); in onDraw()
/external/skqp/bench/
DRegionContainBench.cpp21 SkRegion fA, fB; member in RegionContainBench
42 fA.op(randrect(rand, i), SkRegion::kXOR_Op); in RegionContainBench()
59 proc(fA, fB); in onDraw()
/external/autotest/client/common_lib/cros/
Dusb_devices.textfsm8 Value Required Vendor ([0-9a-fA-F]+)
10 Value Required prev ([0-9a-fA-Z.]+)
13 Value serialnumber ([0-9a-fA-Z\:\-]+)
/external/skia/gm/
Dxform.cpp20 sk_sp<MatrixXF> fRoot, fRA, fRB, fA, fB; member in XformGM
30 fA = MatrixXF::Make(fRA); in XformGM()
34 fA->setTranslate(100, 0); in XformGM()
40 g->append(GeoShape::Make(fA, {0, 0, 100, 60}, SK_ColorRED)); in XformGM()

12345678910>>...15