Home
last modified time | relevance | path

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

/ohos5.0/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_.sweepDeg… in Paint()
272 data.sweepDegree = (weights_[index] / totalWeight) * paintData_.sweepDegree; in Paint()
277 …data.startDegree = paintData_.startDegree + (highLightStart / totalWeight) * paintData_.sweepDegre… in Paint()
278 data.sweepDegree = (weights_[highLightIndex] / totalWeight) * paintData_.sweepDegree; in Paint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_modifier.cpp254 float totalWeight = ZERO_CIRCLE; in PaintDraw() local
256 totalWeight += weight; in PaintDraw()
258 if (NearEqual(totalWeight, 0.0)) { in PaintDraw()
269 if (ShouldHighLight(totalWeight - currentStart, weights[index], ratio * totalWeight)) { in PaintDraw()
271 highLightStart = totalWeight - currentStart; in PaintDraw()
274 data.sweepDegree = (weights[index] / totalWeight) * sweepDegree; in PaintDraw()
593 float totalWeight = ZERO_CIRCLE; in PaintMultiSegmentGradientCircular() local
595 totalWeight += weight; in PaintMultiSegmentGradientCircular()
597 if (NearEqual(totalWeight, 0.0)) { in PaintMultiSegmentGradientCircular()
632 float totalWeight = ZERO_CIRCLE; in PaintMultiSegmentGradientCircularShadow() local
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dspunge.h67 FILLP_INT totalWeight; member