Home
last modified time | relevance | path

Searched refs:reachLeftSpeed (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drender_list_item.cpp415 bool reachLeftSpeed = -info.GetMainVelocity() > speedThreshold; in HandleDragEnd() local
421 (curOffset_ < width * (1 - threshold) || reachLeftSpeed)) { in HandleDragEnd()
429 …peIndex == ListItemSwipeIndex::ITEM_CHILD && (width * threshold < -curOffset_ || reachLeftSpeed)) { in HandleDragEnd()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_pattern.cpp784 bool reachLeftSpeed = -velocity > SWIPER_SPEED_TH; in HandleDragEnd() local
809 if (swiperIndex_ == ListItemSwipeIndex::ITEM_CHILD && reachLeftSpeed) { in HandleDragEnd()
824 (1 - threshold) || (reachLeftSpeed && curOffset_ < width))) { in HandleDragEnd()
845 (width * threshold < -curOffset_ || reachLeftSpeed)) { in HandleDragEnd()