Searched refs:fromController (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | render_tab_content.cpp | 211 void RenderTabContent::ChangeScroll(int32_t index, bool fromController) in ChangeScroll() argument 221 ScrollContents(index, true, fromController); in ChangeScroll() 224 void RenderTabContent::ScrollContents(int32_t newIndex, bool isLinkBar, bool fromController) in ScrollContents() argument 274 animator_->AddStopListener([weak, newIndex, needChange, fromController]() { in ScrollContents() 277 tabContent->HandleStopListener(newIndex, needChange, fromController); in ScrollContents() 315 void RenderTabContent::HandleStopListener(int32_t newIndex, bool needChange, bool fromController) in HandleStopListener() argument 319 if (!fromController) { in HandleStopListener()
|
H A D | render_tab_content.h | 61 void ChangeScroll(int32_t index, bool fromController = false); 178 void ScrollContents(int32_t newIndex, bool isLinkBar, bool fromController = false);
|