Home
last modified time | relevance | path

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

12345678910>>...13

/external/skia/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()
327 SkASSERT(fA >= 0.0f && fA <= 1.0f); in fitsInBytes()
359 return { fR * fA, fG * fA, fB * fA, fA }; in premul()
370 if (fA == 0.0f) { in unpremul()
373 float invAlpha = 1 / fA; in unpremul()
[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/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/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::__anon01bd9a8a0111::Concat
/external/skia/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::__anon359380d30111::Concat
/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()
DPathOpsThreadedCommon.h27 unsigned char fA; member
58 fState.fA = a; in PathOpsThreadedRunnable()
77 fState.fA = dirNo; in PathOpsThreadedRunnable()
DPathOpsOpLoopThreadedTest.cpp47 SkPoint midA = { SkIntToScalar(a * state.fA + c * (6 - state.fA)) / 6, in testOpLoopsMain()
48 SkIntToScalar(b * state.fA + d * (6 - state.fA)) / 6 }; in testOpLoopsMain()
/external/skia/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()
DPathOpsThreadedCommon.h27 unsigned char fA; member
58 fState.fA = (a & 0xFF); in PathOpsThreadedRunnable()
77 fState.fA = dirNo; in PathOpsThreadedRunnable()
DPathOpsOpLoopThreadedTest.cpp47 SkPoint midA = { SkIntToScalar(a * state.fA + c * (6 - state.fA)) / 6, in testOpLoopsMain()
48 SkIntToScalar(b * state.fA + d * (6 - state.fA)) / 6 }; in testOpLoopsMain()
/external/skia/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/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/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/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/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/src/gpu/ops/
DGrQuadPerEdgeAA.cpp45 Sk4f fA, fB, fC; member
295 bool topleftInside = ((edges.fA * left + edges.fB * top + edges.fC) >= 0.f).allTrue(); in get_exact_coverage()
296 bool botleftInside = ((edges.fA * left + edges.fB * bot + edges.fC) >= 0.f).allTrue(); in get_exact_coverage()
297 bool botrightInside = ((edges.fA * right + edges.fB * bot + edges.fC) >= 0.f).allTrue(); in get_exact_coverage()
298 bool toprightInside = ((edges.fA * right + edges.fB * top + edges.fC) >= 0.f).allTrue(); in get_exact_coverage()
311 Sk4f leftCross = -(edges.fC + edges.fA * left) / edges.fB; in get_exact_coverage()
312 Sk4f rightCross = -(edges.fC + edges.fA * right) / edges.fB; in get_exact_coverage()
313 Sk4f topCross = -(edges.fC + edges.fB * top) / edges.fA; in get_exact_coverage()
314 Sk4f botCross = -(edges.fC + edges.fB * bot) / edges.fA; in get_exact_coverage()
463 Sk4f denom = edges.fA * nextCW(edges.fB) - edges.fB * nextCW(edges.fA); in compute_degenerate_quad()
[all …]
/external/skia/src/gpu/effects/
DGrMixerEffect.fp34 c0.fA + (c1.fA - c0.fA) * fWeight
DGrMixerEffect.h33 c0.fB + (c1.fB - c0.fB) * fWeight, c0.fA + (c1.fA - c0.fA) * fWeight}; in constantOutputForConstantInput()
/external/clang/test/CodeGen/
Dinline2.c40 inline int fA(void) { return 0; } in fA() function
66 + fA() + fB(); in test_all()
/external/skia/modules/particles/src/
DSkCurve.cpp21 return { c1.fR + c2.fR, c1.fG + c2.fG, c1.fB + c2.fB, c1.fA + c2.fA }; in operator +()
25 return { c1.fR - c2.fR, c1.fG - c2.fG, c1.fB - c2.fB, c1.fA - c2.fA }; in operator -()

12345678910>>...13