Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_arc_scroll_bar.cpp80 int16_t maxAngle; in DrawForeground() local
83 maxAngle = endAngle_ - foregoundAngleRange; in DrawForeground()
84 startAngle = minAngle + static_cast<int16_t>(scrollProgress_ * (maxAngle - minAngle)); in DrawForeground()
87 maxAngle = endAngle_; in DrawForeground()
89 endAngle = maxAngle - static_cast<int16_t>(scrollProgress_ * (maxAngle - minAngle)); in DrawForeground()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dscroll_bar.cpp107 double maxAngle = bottomAngle_ - topAngle_; in SetRoundTrickRegion() local
108 trickSweepAngle_ = std::max(diameter * maxAngle / estimatedHeight, minAngle_); in SetRoundTrickRegion()
110 …double trickStartAngle = (maxAngle - trickSweepAngle_) * lastOffsetY / (estimatedHeight - diameter… in SetRoundTrickRegion()
111 trickStartAngle = std::clamp(0.0, trickStartAngle, maxAngle) - maxAngle * FACTOR_HALF; in SetRoundTrickRegion()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/inner/
H A Dscroll_bar.cpp301 double maxAngle = bottomAngle_ - topAngle_; in SetRoundTrickRegion() local
302 trickSweepAngle_ = std::max(diameter * maxAngle / estimatedHeight, minAngle_); in SetRoundTrickRegion()
304 …double trickStartAngle = (maxAngle - trickSweepAngle_) * lastOffsetY / (estimatedHeight - diameter… in SetRoundTrickRegion()
305 trickStartAngle = std::clamp(0.0, trickStartAngle, maxAngle) - maxAngle * FACTOR_HALF; in SetRoundTrickRegion()