Searched refs:longClickHoldMs_ (Results 1 – 3 of 3) sorted by relevance
/test/testfwk/arkxtest/uitest/test/ |
D | ui_action_test.cpp | 40 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/ |
D | ui_action.cpp | 39 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()
|
D | ui_action.h | 149 uint32_t longClickHoldMs_ = 1500; variable
|