Home
last modified time | relevance | path

Searched refs:GetPrevIndex (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Drender_tab_content.cpp192 int32_t newIndex = IsRightToLeft() ? (scrollOffset_ < 0.0 ? GetPrevIndex() : GetNextIndex()) in HandleDragUpdate()
193 : (scrollOffset_ > 0.0 ? GetPrevIndex() : GetNextIndex()); in HandleDragUpdate()
206 int32_t newIndex = IsRightToLeft() ? (scrollOffset_ < 0.0 ? GetPrevIndex() : GetNextIndex()) in HandleDragEnd()
207 : (scrollOffset_ > 0.0 ? GetPrevIndex() : GetNextIndex()); in HandleDragEnd()
375 int32_t newIndex = IsRightToLeft() ? (newDragOffset < 0.0 ? GetPrevIndex() : GetNextIndex()) in UpdateScrollPosition()
376 : (newDragOffset > 0.0 ? GetPrevIndex() : GetNextIndex()); in UpdateScrollPosition()
439 inline int32_t RenderTabContent::GetPrevIndex() const in GetPrevIndex() function in OHOS::Ace::RenderTabContent
H A Drender_tab_content.h201 int32_t GetPrevIndex() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Drender_swiper.cpp1081 toIndex = GetPrevIndex(); in MoveItems()
1093 fromIndex = GetPrevIndex(); in MoveItems()
1103 toIndex = GetPrevIndex(); in MoveItems()
1451 int32_t preIndex = GetPrevIndex(index); in UpdateItemOpacity()
1500 int32_t RenderSwiper::GetPrevIndex() const in GetPrevIndex() function in OHOS::Ace::RenderSwiper
1502 return GetPrevIndex(currentIndex_); in GetPrevIndex()
1507 return GetPrevIndex(targetIndex_); in GetPrevIndexOnAnimation()
1558 index = GetPrevIndex(); in ShowPrevious()
1578 index = GetPrevIndex(); in ShowNext()
1786 nextIndex = GetPrevIndex(); in Tick()
[all …]
H A Drender_swiper.h482 int32_t GetPrevIndex() const;
484 int32_t GetPrevIndex(int32_t index) const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stepper/
H A Drender_stepper.h174 int32_t GetPrevIndex() const;
H A Drender_stepper.cpp653 int32_t RenderStepper::GetPrevIndex() const in GetPrevIndex() function in OHOS::Ace::RenderStepper
689 int32_t toIndex = GetPrevIndex(); in StepperPrev()