/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/ |
H A D | text_picker_pattern_test_ng.cpp | 1064 prop.nextDistance = 7.0f; 1102 prop.nextDistance = 7.0f; 1140 prop.nextDistance = 7.0f; 1178 prop.nextDistance = 7.0f; 1216 prop.nextDistance = 7.0f; 1254 prop.nextDistance = 7.0f; 1292 prop.nextDistance = 7.0f; 1330 prop.nextDistance = 7.0f; 1368 prop.nextDistance = 7.0f; 1406 prop.nextDistance = 7.0f; [all …]
|
H A D | text_picker_Extend_test_ng.cpp | 789 prop.nextDistance = 7.0f; 826 prop.nextDistance = 7.0f; 863 prop.nextDistance = 7.0f; 900 prop.nextDistance = 7.0f; 1217 prop.nextDistance = 7.0f; 1257 prop.nextDistance = 7.0f;
|
H A D | text_picker_column_test_ng.cpp | 1743 prop.nextDistance = 5.0f; 1769 prop.nextDistance = 10.0f; 1793 prop.nextDistance = 5.0f; 1818 prop.nextDistance = 5.0f; 1848 prop.nextDistance = 7.0f;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_column_pattern.cpp | 848 … : optionProperties_[middleIndex].nextDistance; in HandleDragEnd() 907 … : optionProperties_[midIndex].nextDistance; in ScrollOption() 934 : optionProperties_[i].nextDistance; in CalcAlgorithmOffset() 953 … : optionProperties_[midIndex].nextDistance; in UpdateFinishToss() 1122 prop.nextDistance = GetShiftDistanceForLandscape(i, DatePickerScrollDirection::DOWN); in SetOptionShiftDistance() 1125 prop.nextDistance = GetShiftDistance(i, DatePickerScrollDirection::DOWN); in SetOptionShiftDistance() 1141 … : optionProperties_[midIndex].nextDistance; in UpdateColumnChildPosition() 1238 … > 0 ? optionProperties_[middleIndex].prevDistance : optionProperties_[middleIndex].nextDistance) * in OnAroundButtonClick() 1264 … : optionProperties_[middleIndex].nextDistance; in PlayRestAnimation()
|
H A D | toss_animation_controller.cpp | 98 … (speed) < 0.0 ? optionProperties[midIndex].prevDistance : optionProperties[midIndex].nextDistance; in StartSpringMotion()
|
H A D | datepicker_column_pattern.h | 57 float nextDistance = 0.0f; // between the next item and itself when scroll down member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_column_pattern.cpp | 899 … : optionProperties_[middleIndex].nextDistance; in HandleDragEnd() 958 … : optionProperties_[midIndex].nextDistance; in ScrollOption() 992 : optionProperties_[i].nextDistance; in CalcAlgorithmOffset() 1128 prop.nextDistance = GetShiftDistanceForLandscape(i, TimePickerScrollDirection::DOWN); in SetOptionShiftDistance() 1131 prop.nextDistance = GetShiftDistance(i, TimePickerScrollDirection::DOWN); in SetOptionShiftDistance() 1150 … : optionProperties_[midIndex].nextDistance; in UpdateFinishToss() 1235 … : optionProperties_[midIndex].nextDistance; in UpdateColumnChildPosition() 1381 … > 0 ? optionProperties_[middleIndex].prevDistance : optionProperties_[middleIndex].nextDistance) * in OnAroundButtonClick() 1413 … : optionProperties_[middleIndex].nextDistance; in PlayRestAnimation()
|
H A D | toss_animation_controller.cpp | 103 … (speed) < 0.0 ? optionProperties[midIndex].prevDistance : optionProperties[midIndex].nextDistance; in StartSpringMotion()
|
H A D | timepicker_column_pattern.h | 56 float nextDistance = 0.0f; // between the next item and itself when scroll down member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_column_pattern.cpp | 934 auto shiftDistance = optionProperties_[midIndex].nextDistance; in GetOverScrollDeltaIndex() 939 shiftDistance += optionProperties_[idx].nextDistance; in GetOverScrollDeltaIndex() 1134 auto shiftDistance = isDownScroll_ ? optionProperties_[middleIndex].nextDistance in HandleDragEnd() 1218 auto shiftDistance = isDownScroll_ ? optionProperties_[midIndex].nextDistance in ScrollOption() 1255 double distance = isDownScroll_ ? optionProperties_[i].nextDistance in CalcAlgorithmOffset() 1416 prop.nextDistance = GetShiftDistanceForLandscape(i, ScrollDirection::DOWN); in SetOptionShiftDistance() 1419 prop.nextDistance = GetShiftDistance(i, ScrollDirection::DOWN); in SetOptionShiftDistance() 1505 auto shiftDistance = isDownScroll_ ? optionProperties_[midIndex].nextDistance in UpdateColumnChildPosition() 1698 … > 0 ? optionProperties_[middleIndex].prevDistance : optionProperties_[middleIndex].nextDistance) * in OnAroundButtonClick() 1723 double shiftDistance = isDownScroll_ ? optionProperties_[middleIndex].nextDistance in PlayResetAnimation()
|
H A D | toss_animation_controller.cpp | 101 …column->IsDownScroll() ? optionProperties[midIndex].nextDistance : optionProperties[midIndex].prev… in StartSpringMotion()
|
H A D | textpicker_column_pattern.h | 54 float nextDistance = 0.0f; // between the next item and itself when scroll down member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable.cpp | 988 auto nextDistance = position - finalPosition_; in ProcessSpringMotion() local 989 isFadingAway_ = GreatNotEqual(std::abs(nextDistance), std::abs(distance)); in ProcessSpringMotion() 991 if (distance * nextDistance < 0) { in ProcessSpringMotion() 998 distance, nextDistance, nodeId_, nodeTag_.c_str()); in ProcessSpringMotion()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/picker/ |
H A D | date_picker_test_ng.cpp | 3328 datePickerOptionProperty.nextDistance = 1.0f; 3434 datePickerOptionProperty.nextDistance = DOWN_FONT_SIZE;
|