Home
last modified time | relevance | path

Searched refs:nextDistance (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/
H A Dtext_picker_pattern_test_ng.cpp1064 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 Dtext_picker_Extend_test_ng.cpp789 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 Dtext_picker_column_test_ng.cpp1743 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 Ddatepicker_column_pattern.cpp848 … : 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 Dtoss_animation_controller.cpp98 … (speed) < 0.0 ? optionProperties[midIndex].prevDistance : optionProperties[midIndex].nextDistance; in StartSpringMotion()
H A Ddatepicker_column_pattern.h57 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 Dtimepicker_column_pattern.cpp899 … : 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 Dtoss_animation_controller.cpp103 … (speed) < 0.0 ? optionProperties[midIndex].prevDistance : optionProperties[midIndex].nextDistance; in StartSpringMotion()
H A Dtimepicker_column_pattern.h56 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 Dtextpicker_column_pattern.cpp934 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 Dtoss_animation_controller.cpp101 …column->IsDownScroll() ? optionProperties[midIndex].nextDistance : optionProperties[midIndex].prev… in StartSpringMotion()
H A Dtextpicker_column_pattern.h54 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 Dscrollable.cpp988 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 Ddate_picker_test_ng.cpp3328 datePickerOptionProperty.nextDistance = 1.0f;
3434 datePickerOptionProperty.nextDistance = DOWN_FONT_SIZE;