Home
last modified time | relevance | path

Searched refs:totalWeight (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_arc_track.cpp251 double totalWeight = 0.0; in Paint() local
253 totalWeight += weight; in Paint()
255 if (NearEqual(totalWeight, 0.0)) { in Paint()
267 if (ShouldHighLight(totalWeight - currentStart, weights_[index], ratio * totalWeight)) { in Paint()
269 highLightStart = totalWeight - currentStart; in Paint()
271 data.startDegree = paintData_.startDegree + (1 - currentStart / totalWeight) * paintData_.sweepDegree; in Paint()
272 data.sweepDegree = (weights_[index] / totalWeight) * paintData_.sweepDegree; in Paint()
277 data.startDegree = paintData_.startDegree + (highLightStart / totalWeight) * paintData_.sweepDegree; in Paint()
278 data.sweepDegree = (weights_[highLightIndex] / totalWeight) * paintData in Paint()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_modifier.cpp244 float totalWeight = ZERO_CIRCLE; in PaintDraw() local
246 totalWeight += weight; in PaintDraw()
248 if (NearEqual(totalWeight, 0.0)) { in PaintDraw()
259 if (ShouldHighLight(totalWeight - currentStart, weights[index], ratio * totalWeight)) { in PaintDraw()
261 highLightStart = totalWeight - currentStart; in PaintDraw()
263 data.startDegree = startDegree + (1 - currentStart / totalWeight) * sweepDegree; in PaintDraw()
264 data.sweepDegree = (weights[index] / totalWeight) * sweepDegree; in PaintDraw()
269 data.startDegree = startDegree + (highLightStart / totalWeight) * sweepDegree; in PaintDraw()
270 data.sweepDegree = (weights[highLightIndex] / totalWeight) * sweepDegre in PaintDraw()
583 float totalWeight = ZERO_CIRCLE; PaintMultiSegmentGradientCircular() local
622 float totalWeight = ZERO_CIRCLE; PaintMultiSegmentGradientCircularShadow() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dspunge.h67 FILLP_INT totalWeight; member

Completed in 3 milliseconds