Searched refs:pointCenter (Results 1 – 5 of 5) 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 | 573 …pointCenter.endLongPointRightCenterX = pointCenter.endLongPointLeftCenterX = endVectorBlackPointCe… in AdjustPointCenterXForTouchBottom() 576 pointCenter.endLongPointRightCenterX = pointCenter.endLongPointLeftCenterX = in AdjustPointCenterXForTouchBottom() 603 StarAndEndPointCenter pointCenter; in ForwardCalculation() local 618 pointCenter.startLongPointRightCenterX = pointCenter.startLongPointLeftCenterX; in ForwardCalculation() 623 …pointCenter.startLongPointRightCenterX = pointCenter.startLongPointLeftCenterX + selectedItemWidth; in ForwardCalculation() 634 pointCenter.endLongPointRightCenterX = pointCenter.endLongPointLeftCenterX; in ForwardCalculation() 639 … pointCenter.endLongPointRightCenterX = pointCenter.endLongPointLeftCenterX + selectedItemWidth; in ForwardCalculation() 657 StarAndEndPointCenter pointCenter; in BackwardCalculation() local 677 pointCenter.startLongPointRightCenterX = pointCenter.startLongPointLeftCenterX; in BackwardCalculation() 693 pointCenter.endLongPointRightCenterX = pointCenter.endLongPointLeftCenterX; in BackwardCalculation() [all …]
|
H A D | overlength_dot_indicator_paint_method.cpp | 224 StarAndEndPointCenter pointCenter; in ForwardCalculation() local 241 … pointCenter.startLongPointLeftCenterX = startCenterX + itemHalfSizes[SELECTED_ITEM_HALF_WIDTH]; in ForwardCalculation() 242 pointCenter.startLongPointRightCenterX = pointCenter.startLongPointLeftCenterX; in ForwardCalculation() 246 … pointCenter.startLongPointLeftCenterX = startCenterX + itemHalfSizes[SELECTED_ITEM_HALF_WIDTH]; in ForwardCalculation() 247 …pointCenter.startLongPointRightCenterX = pointCenter.startLongPointLeftCenterX + selectedItemWidth; in ForwardCalculation() 257 … pointCenter.endLongPointLeftCenterX = endCenterX + itemHalfSizes[SELECTED_ITEM_HALF_WIDTH]; in ForwardCalculation() 258 pointCenter.endLongPointRightCenterX = pointCenter.endLongPointLeftCenterX; in ForwardCalculation() 262 … pointCenter.endLongPointLeftCenterX = endCenterX + itemHalfSizes[SELECTED_ITEM_HALF_WIDTH]; in ForwardCalculation() 263 … pointCenter.endLongPointRightCenterX = pointCenter.endLongPointLeftCenterX + selectedItemWidth; in ForwardCalculation() 272 …pointCenter, endVectorBlackPointCenterX, startCurrentIndex, endCurrentIndex, selectedItemWidth, in… in ForwardCalculation() [all …]
|
H A D | dot_indicator_paint_method.h | 182 void AdjustPointCenterXForTouchBottom(StarAndEndPointCenter& pointCenter,
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_indicator_modifier_test_ng.cpp | 1003 DotIndicatorPaintMethod::StarAndEndPointCenter pointCenter; variable 1019 EXPECT_EQ(pointCenter.endLongPointRightCenterX, endVectorBlackPointCenterX[0]); 1020 EXPECT_EQ(pointCenter.endLongPointLeftCenterX, endVectorBlackPointCenterX[0]); 1024 pointCenter = { 0.0f, 0.0f, 0.0f, 0.0f }; 1027 EXPECT_EQ(pointCenter.endLongPointRightCenterX, endVectorBlackPointCenterX[startCurrentIndex]); 1028 EXPECT_EQ(pointCenter.endLongPointLeftCenterX, endVectorBlackPointCenterX[startCurrentIndex]); 1034 pointCenter = { 0.0f, 0.0f, 0.0f, 0.0f }; 1038 EXPECT_EQ(pointCenter.endLongPointLeftCenterX, endVectorBlackPointCenterX[endCurrentIndex]); 1043 pointCenter = { 0.0f, 0.0f, 0.0f, 0.0f }; 1046 EXPECT_EQ(pointCenter.startLongPointRightCenterX, endVectorBlackPointCenterX[0]); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/ |
H A D | loading_progress_modifier.cpp | 244 RSPoint pointCenter = distPoints[i]; in DrawOrbit() local 256 canvas.DrawCircle(pointCenter, cometParam.radius * cometParam.sizeScale); in DrawOrbit()
|