Searched refs:currentStartPos (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_layout_algorithm.cpp | 401 float currentStartPos = 0.0f; in LayoutListItemAll() local 403 currentStartPos = currentEndPos; in LayoutListItemAll() 729 float currentStartPos = startPos; in MeasureJumpToItemForward() local 733 currentStartPos = currentEndPos; in MeasureJumpToItemForward() 749 float currentStartPos = endPos; in MeasureJumpToItemBackward() local 752 currentEndPos = currentStartPos; in MeasureJumpToItemBackward() 779 currentStartPos = headerMainSize_; in MeasureStart() 864 float currentStartPos = 0.0f; in MeasureForward() local 894 currentStartPos = currentStartPos - spaceWidth_; in MeasureForward() 902 float currentStartPos = endPos; in MeasureBackward() local [all …]
|
H A D | list_layout_algorithm.cpp | 1035 float currentStartPos = 0.0f; in LayoutForward() local 1046 currentStartPos = currentEndPos; in LayoutForward() 1047 … int32_t count = LayoutALineForward(layoutWrapper, currentIndex, currentStartPos, currentEndPos); in LayoutForward() 1121 float currentStartPos = endPos; in LayoutBackward() local 1132 currentEndPos = currentStartPos; in LayoutBackward() 1138 currentStartPos = currentStartPos - spaceWidth_; in LayoutBackward() 1146 } while (GreatNotEqual(currentStartPos + chainOffset, startMainPos)); in LayoutBackward() 1148 currentStartPos += chainOffset; in LayoutBackward() 1161 currentOffset_ = currentStartPos - contentStartOffset_; in LayoutBackward() 1163 endMainPos_ = currentStartPos - contentStartOffset_ + contentMainSize_; in LayoutBackward() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_layout_algorithm.cpp | 707 float currentStartPos = 0.0f; in LayoutForward() local 721 currentStartPos = currentEndPos; in LayoutForward() 838 float currentStartPos = endPos; in LayoutBackward() local 850 currentEndPos = currentStartPos; in LayoutBackward() 857 currentStartPos = currentStartPos - spaceWidth_; in LayoutBackward() 861 startMainPos = currentStartPos; in LayoutBackward() 866 } while (GreatNotEqual(currentStartPos, adjustStartMainPos) || in LayoutBackward() 870 if (GreatNotEqual(currentStartPos, startMainPos_)) { in LayoutBackward() 872 currentOffset_ = currentStartPos; in LayoutBackward() 878 endMainPos_ = currentStartPos + contentMainSize_; in LayoutBackward() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_layout_test_ng.cpp | 1335 float currentStartPos = 0.0f; variable 1338 &layoutWrapper, layoutConstraint, axis, currentIndex, currentStartPos, currentEndPos);
|