Searched refs:GetTotalRatio (Results 1 – 7 of 7) sorted by relevance
129 if (!NearEqual(GetTotalRatio(), 0.0)) { in Paint()147 endRect = startRect + trackHeight + trackLength * GetTotalRatio(); in Paint()174 if (!NearEqual(GetTotalRatio(), 0.0)) { in Paint()385 if (!NearEqual(GetTotalRatio(), 0.0)) { in PaintSliderTrack()397 …isReverse_ ? fromOffset - trackLength * GetTotalRatio() : fromOffset + trackLength * GetTotalRatio… in PaintSliderTrack()403 toOffset = fromOffset + trackLength * GetTotalRatio(); in PaintSliderTrack()406 toOffset = fromOffset - trackLength * GetTotalRatio(); in PaintSliderTrack()411 if (!NearEqual(GetTotalRatio(), 0.0)) { in PaintSliderTrack()423 …isReverse_ ? fromOffset - trackLength * GetTotalRatio() : fromOffset + trackLength * GetTotalRatio… in PaintSliderTrack()431 toOffset = fromOffset + trackLength * GetTotalRatio(); in PaintSliderTrack()[all …]
59 if (GetTotalRatio() <= 0.5) { in Paint()63 double progressOffset = radius - radius * GetTotalRatio() / 0.5; in Paint()69 double progressOffset = radius * (GetTotalRatio() - 0.5) / 0.5; in Paint()89 if (GetTotalRatio() <= 0.5) { in Paint()94 double progressOffset = radius - radius * GetTotalRatio() / 0.5; in Paint()102 double progressOffset = radius * (GetTotalRatio() - 0.5) / 0.5; in Paint()
244 data.sweepDegree = data.sweepDegree * GetTotalRatio(); in Paint()262 double ratio = leftToRight_ ? GetTotalRatio() : 1 - GetTotalRatio(); in Paint()
89 double progressWidth = progressSize.Width()*GetTotalRatio(); in DrawCapsuleProgressAnimation()157 double progressWidth = progressSize.Height()*GetTotalRatio(); in DrawCapsuleProgressVerticalAnimation()
93 double GetTotalRatio() const in GetTotalRatio() function
118 data.sweepDegree = paintData_.sweepDegree * GetTotalRatio(); in Paint()
136 data.sweepDegree = paintData_.sweepDegree * GetTotalRatio(); in Paint()