Searched refs:endCurrentIndex (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/ |
H A D | dot_indicator_paint_method.cpp | 526 if (endCurrentIndex == -1) { in GetIndex() 527 endCurrentIndex = itemCount_ - 1; in GetIndex() 528 } else if (endCurrentIndex == itemCount_) { in GetIndex() 529 endCurrentIndex = 0; in GetIndex() 541 endCurrentIndex = startCurrentIndex; in GetStartAndEndIndex() 557 endCurrentIndex = startCurrentIndex; in GetStartAndEndIndex() 627 if (i != endCurrentIndex) { in ForwardCalculation() 664 if (endCurrentIndex == -1) { in BackwardCalculation() 665 endCurrentIndex = itemCount_ - 1; in BackwardCalculation() 667 endCurrentIndex = 0; in BackwardCalculation() [all …]
|
H A D | overlength_dot_indicator_paint_method.cpp | 232 auto [startCurrentIndex, endCurrentIndex] = GetStartAndEndIndex(index); in ForwardCalculation() 251 if (i != endCurrentIndex) { in ForwardCalculation() 272 …pointCenter, endVectorBlackPointCenterX, startCurrentIndex, endCurrentIndex, selectedItemWidth, in… in ForwardCalculation()
|
H A D | dot_indicator_paint_method.h | 183 …inearVector<float>& endVectorBlackPointCenterX, int32_t startCurrentIndex, int32_t endCurrentIndex,
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_indicator_modifier_test_ng.cpp | 1010 int32_t endCurrentIndex = totalCount - 1; variable 1018 …pointCenter, endVectorBlackPointCenterX, startCurrentIndex, endCurrentIndex, selectedItemWidth, 0); 1026 …pointCenter, endVectorBlackPointCenterX, startCurrentIndex, endCurrentIndex, selectedItemWidth, 0); 1036 …pointCenter, endVectorBlackPointCenterX, startCurrentIndex, endCurrentIndex, selectedItemWidth, 0); 1037 EXPECT_EQ(pointCenter.startLongPointRightCenterX, endVectorBlackPointCenterX[endCurrentIndex]); 1038 EXPECT_EQ(pointCenter.endLongPointLeftCenterX, endVectorBlackPointCenterX[endCurrentIndex]); 1045 …pointCenter, endVectorBlackPointCenterX, startCurrentIndex, endCurrentIndex, selectedItemWidth, 0);
|