Searched refs:totalWeight (Results 1 – 3 of 3) sorted by relevance
251 double totalWeight = 0.0; in Paint() local253 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()
254 float totalWeight = ZERO_CIRCLE; in PaintDraw() local256 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() local595 totalWeight += weight; in PaintMultiSegmentGradientCircular()597 if (NearEqual(totalWeight, 0.0)) { in PaintMultiSegmentGradientCircular()632 float totalWeight = ZERO_CIRCLE; in PaintMultiSegmentGradientCircularShadow() local[all …]
67 FILLP_INT totalWeight; member