Home
last modified time | relevance | path

Searched refs:totalDegree (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_scale_ring_track.cpp69 static int32_t totalDegree = 360; in DrawScaleArc() local
79 180 * (trackInfo.clockwise * (trackInfo.startDegree / (totalDegree / 2.0)) - 0.5), in DrawScaleArc()
80 360 * (trackInfo.clockwise * trackInfo.sweepDegree / totalDegree), false, paint); in DrawScaleArc()
88 180 * (trackInfo.clockwise * (trackInfo.startDegree / (totalDegree / 2.0)) - 0.5), in DrawScaleArc()
89 360 * (trackInfo.clockwise * trackInfo.sweepDegree / totalDegree)); in DrawScaleArc()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_modifier.cpp1196 double totalDegree = ANGLE_360; in PaintRingSweeping() local
1197 double angleArc = (value_->Get() / maxValue_->Get()) * totalDegree; in PaintRingSweeping()
1198 double radArc = angleArc / totalDegree * 2 * PI_NUM; in PaintRingSweeping()
1403 static int32_t totalDegree = 1; in PaintMoon() local
1410 … angle = std::min((value_->Get() / maxValue_->Get()) * totalDegree, static_cast<float>(totalDegree in PaintMoon()
1450 static int32_t totalDegree = 1; in PaintCapsule() local
1459 …std::min((value_->Get() / maxValue_->Get()) * totalDegree * contentSize.Width(), contentSize.Width… in PaintCapsule()
1541 static int32_t totalDegree = 1; in PaintVerticalCapsule() local
1550 …std::min((value_->Get() / maxValue_->Get()) * totalDegree * contentSize.Height(), contentSize.Heig… in PaintVerticalCapsule()