Home
last modified time | relevance | path

Searched refs:longClickHoldMs_ (Results 1 – 3 of 3) sorted by relevance

/test/testfwk/arkxtest/uitest/test/
Dui_action_test.cpp40 customOptions_.longClickHoldMs_ = CUSTOM_LONGCLICK_HOLD_MS; in SetUp()
84 ASSERT_EQ(customOptions_.longClickHoldMs_, event1.holdMs_); in TEST_F()
89 ASSERT_EQ(customOptions_.longClickHoldMs_, event2.downTimeOffsetMs_); in TEST_F()
412 opt.longClickHoldMs_ = 2000; // specify the long-click duration in TEST_F()
433 ASSERT_EQ(swipeEvent.holdMs_ + opt.longClickHoldMs_, dragEvent.holdMs_); in TEST_F()
435 … ASSERT_EQ(swipeEvent.downTimeOffsetMs_ + opt.longClickHoldMs_, dragEvent.downTimeOffsetMs_); in TEST_F()
/test/testfwk/arkxtest/uitest/core/
Dui_action.cpp39 pointer.PushAction(TouchEvent {ActionStage::DOWN, point, 0, options.longClickHoldMs_}); in DecomposeLongClick()
40 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.longClickHoldMs_, 0}); in DecomposeLongClick()
85 pointer.At(fingers - 1, 0).holdMs_ += options.longClickHoldMs_; in DecomposeComputeSwipe()
87 pointer.At(fingers - 1, idx).downTimeOffsetMs_ += options.longClickHoldMs_; in DecomposeComputeSwipe()
Dui_action.h149 uint32_t longClickHoldMs_ = 1500; variable