Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drender_list_item.cpp414 bool reachRightSpeed = info.GetMainVelocity() > speedThreshold; in HandleDragEnd() local
418 …peIndex == ListItemSwipeIndex::ITEM_CHILD && (curOffset_ > width * threshold || reachRightSpeed)) { in HandleDragEnd()
432 (-curOffset_ < width * (1 - threshold) || reachRightSpeed)) { in HandleDragEnd()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_pattern.cpp783 bool reachRightSpeed = velocity > SWIPER_SPEED_TH; in HandleDragEnd() local
821 (curOffset_ > width * threshold || reachRightSpeed)) { in HandleDragEnd()
833 if (swiperIndex_ == ListItemSwipeIndex::ITEM_CHILD && reachRightSpeed) { in HandleDragEnd()
848 (1 - threshold) || (reachRightSpeed && -curOffset_ < width))) { in HandleDragEnd()