Home
last modified time | relevance | path

Searched refs:scrollListener_ (Results 1 – 4 of 4) sorted by relevance

/foundation/graphic/ui/frameworks/components/
Dui_scroll_view.cpp25 UIScrollView::UIScrollView() : scrollListener_(nullptr) in UIScrollView()
61 …if (scrollListener_ && (scrollListener_->GetScrollState() == OnScrollListener::SCROLL_STATE_MOVE))… in OnDragEndEvent()
62 scrollListener_->OnScrollEnd(); in OnDragEndEvent()
63 scrollListener_->SetScrollState(OnScrollListener::SCROLL_STATE_STOP); in OnDragEndEvent()
165 …if ((scrollListener_ != nullptr) && (scrollListener_->GetScrollState() == OnScrollListener::SCROLL… in ScrollBy()
166 scrollListener_->OnScrollEnd(); in ScrollBy()
167 scrollListener_->SetScrollState(OnScrollListener::SCROLL_STATE_STOP); in ScrollBy()
238 if ((scrollListener_ != nullptr) && in MoveOffset()
239 (scrollListener_->GetScrollState() == OnScrollListener::SCROLL_STATE_STOP)) { in MoveOffset()
240 scrollListener_->OnScrollStart(); in MoveOffset()
[all …]
Dui_list.cpp165 scrollListener_(nullptr) in UIList()
220 …if (scrollListener_ && (scrollListener_->GetScrollState() == ListScrollListener::SCROLL_STATE_MOVE… in OnDragEndEvent()
221 scrollListener_->SetScrollState(ListScrollListener::SCROLL_STATE_STOP); in OnDragEndEvent()
222 scrollListener_->OnScrollEnd(onSelectedIndex_, onSelectedView_); in OnDragEndEvent()
255 …if (scrollListener_ && (scrollListener_->GetScrollState() == ListScrollListener::SCROLL_STATE_MOVE… in ScrollBy()
256 scrollListener_->SetScrollState(ListScrollListener::SCROLL_STATE_STOP); in ScrollBy()
257 scrollListener_->OnScrollEnd(onSelectedIndex_, onSelectedView_); in ScrollBy()
352 …if (scrollListener_ && (scrollListener_->GetScrollState() == ListScrollListener::SCROLL_STATE_STOP… in MoveOffset()
353 scrollListener_->SetScrollState(ListScrollListener::SCROLL_STATE_MOVE); in MoveOffset()
354 scrollListener_->OnScrollStart(onSelectedIndex_, onSelectedView_); in MoveOffset()
[all …]
/foundation/graphic/ui/interfaces/kits/components/
Dui_scroll_view.h234 scrollListener_ = scrollListener; in RegisterScrollListener()
247 OnScrollListener* scrollListener_; variable
Dui_list.h345 scrollListener_ = scrollListener; in SetScrollStateListener()
508 ListScrollListener* scrollListener_; variable