Home
last modified time | relevance | path

Searched refs:SWIPER_SPEED_TH (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_test_ng.h46 constexpr float SWIPER_SPEED_TH = 1500.f; variable
94 void DragSwiperItem(int32_t index, float mainDelta, float mainVelocity = SWIPER_SPEED_TH);
97 void HandleDragEnd(int32_t index, float mainVelocity = SWIPER_SPEED_TH);
H A Dlist_swipe_test_ng.cpp281 const float fastSpeed = SWIPER_SPEED_TH + 1;
342 const float fastSpeed = SWIPER_SPEED_TH + 1;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drender_list_item.cpp31 constexpr double SWIPER_SPEED_TH = 1200; variable
413 double speedThreshold = theme_ ? theme_->GetItemSwipeSpeedThreshold() : SWIPER_SPEED_TH; in HandleDragEnd()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_pattern.cpp37 constexpr float SWIPER_SPEED_TH = 1500.f; variable
783 bool reachRightSpeed = velocity > SWIPER_SPEED_TH; in HandleDragEnd()
784 bool reachLeftSpeed = -velocity > SWIPER_SPEED_TH; in HandleDragEnd()