Home
last modified time | relevance | path

Searched refs:GetTotalRatio (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_linear_track.cpp129 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 …]
H A Drosen_render_moon_track.cpp59 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()
H A Drosen_render_arc_track.cpp244 data.sweepDegree = data.sweepDegree * GetTotalRatio(); in Paint()
262 double ratio = leftToRight_ ? GetTotalRatio() : 1 - GetTotalRatio(); in Paint()
H A Drosen_render_capsule_track.cpp89 double progressWidth = progressSize.Width()*GetTotalRatio(); in DrawCapsuleProgressAnimation()
157 double progressWidth = progressSize.Height()*GetTotalRatio(); in DrawCapsuleProgressVerticalAnimation()
H A Drender_track.h93 double GetTotalRatio() const in GetTotalRatio() function
H A Drosen_render_scale_ring_track.cpp118 data.sweepDegree = paintData_.sweepDegree * GetTotalRatio(); in Paint()
H A Drosen_render_circular_track.cpp136 data.sweepDegree = paintData_.sweepDegree * GetTotalRatio(); in Paint()