Home
last modified time | relevance | path

Searched refs:forgroundHeight (Results 1 - 1 of 1) sorted by relevance

/foundation/arkui/ui_lite/frameworks/components/
H A Dui_box_scroll_bar.cpp45 int16_t forgroundHeight = static_cast<int16_t>(foregroundProportion_ * backgroundRect_.GetHeight()); in OnDraw() local
46 if (forgroundHeight < SCROLL_BAR_MIN_LEN) { in OnDraw()
47 forgroundHeight = SCROLL_BAR_MIN_LEN; in OnDraw()
50 static_cast<int16_t>(scrollProgress_ * (backgroundRect_.GetHeight() - forgroundHeight)); in OnDraw()
52 forgroundTop + forgroundHeight - 1); in OnDraw()

Completed in 5 milliseconds