Home
last modified time | relevance | path

Searched refs:GetNextIndex (Results 1 – 11 of 11) 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()
444 inline int32_t RenderTabContent::GetNextIndex() const in GetNextIndex() function in OHOS::Ace::RenderTabContent
H A Drender_tab_content.h202 int32_t GetNextIndex() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image_animator/
H A Dimage_animator_pattern.cpp118 int32_t nextIndex = GetNextIndex(index); in SetShowingIndex()
121 nextIndex = GetNextIndex(nextIndex); in SetShowingIndex()
263 int32_t nextIndex = GetNextIndex(nowImageIndex_); in OnDirtyLayoutWrapperSwap()
266 nextIndex = GetNextIndex(nextIndex); in OnDirtyLayoutWrapperSwap()
470 int32_t ImageAnimatorPattern::GetNextIndex(int32_t preIndex) in GetNextIndex() function in OHOS::Ace::NG::ImageAnimatorPattern
H A Dimage_animator_pattern.h156 int32_t GetNextIndex(int32_t preIndex);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Drender_swiper.cpp1084 fromIndex = GetNextIndex(); in MoveItems()
1090 toIndex = GetNextIndex(); in MoveItems()
1106 toIndex = GetNextIndex(); in MoveItems()
1455 int32_t nextIndex = GetNextIndex(index); in UpdateItemOpacity()
1515 int32_t RenderSwiper::GetNextIndex() const in GetNextIndex() function in OHOS::Ace::RenderSwiper
1517 return GetNextIndex(currentIndex_); in GetNextIndex()
1522 return GetNextIndex(targetIndex_); in GetNextIndexOnAnimation()
1556 index = GetNextIndex(); in ShowPrevious()
1580 index = GetNextIndex(); in ShowNext()
1788 nextIndex = GetNextIndex(); in Tick()
[all …]
H A Drender_swiper.h483 int32_t GetNextIndex() const;
485 int32_t GetNextIndex(int32_t index) const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stepper/
H A Drender_stepper.h175 int32_t GetNextIndex() const;
H A Drender_stepper.cpp670 int32_t RenderStepper::GetNextIndex() const in GetNextIndex() function in OHOS::Ace::RenderStepper
696 int32_t toIndex = GetNextIndex(); in StepperNext()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.cpp627 int32_t nextIndex = GetNextIndex(nowImageIndex_); in OnDirtyLayoutWrapperSwap()
630 nextIndex = GetNextIndex(nextIndex); in OnDirtyLayoutWrapperSwap()
1818 int32_t nextIndex = GetNextIndex(index); in SetShowingIndex()
1821 nextIndex = GetNextIndex(nextIndex); in SetShowingIndex()
1963 int32_t ImagePattern::GetNextIndex(int32_t preIndex) in GetNextIndex() function in OHOS::Ace::NG::ImagePattern
H A Dimage_pattern.h483 int32_t GetNextIndex(int32_t preIndex);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/image_animator/
H A Dimage_animator_test_ng.cpp1215 EXPECT_EQ(imageAnimatorPattern->GetNextIndex(0), 0);
1216 EXPECT_EQ(imageAnimatorPattern->GetNextIndex(1), 0);