Home
last modified time | relevance | path

Searched refs:ActionStage (Results 1 – 5 of 5) sorted by relevance

/test/testfwk/arkxtest/uitest/test/
Dui_action_test.cpp61 ASSERT_EQ(ActionStage::DOWN, event1.stage_); in TEST_F()
66 ASSERT_EQ(ActionStage::UP, event2.stage_); in TEST_F()
81 ASSERT_EQ(ActionStage::DOWN, event1.stage_); in TEST_F()
88 ASSERT_EQ(ActionStage::UP, event2.stage_); in TEST_F()
105 ASSERT_EQ(ActionStage::DOWN, event1.stage_); in TEST_F()
110 ASSERT_EQ(ActionStage::UP, event2.stage_); in TEST_F()
117 ASSERT_EQ(ActionStage::DOWN, event3.stage_); in TEST_F()
122 ASSERT_EQ(ActionStage::UP, event4.stage_); in TEST_F()
155 ASSERT_EQ(ActionStage::DOWN, events.At(0, event).stage_); in TEST_F()
158 ASSERT_EQ(ActionStage::UP, events.At(0, event).stage_); in TEST_F()
[all …]
/test/testfwk/arkxtest/uitest/core/
Dui_action.h36 enum ActionStage : uint8_t { enum
41 ActionStage stage_;
49 ActionStage stage_;
207 recv.push_back(KeyEvent {ActionStage::DOWN, kCtrlCode, 0}); in ComputeEvents()
209 recv.push_back(KeyEvent {ActionStage::DOWN, kCode, opt.keyHoldMs_}); in ComputeEvents()
210 recv.push_back(KeyEvent {ActionStage::UP, kCode, 0}); in ComputeEvents()
212 recv.push_back(KeyEvent {ActionStage::UP, kCtrlCode, 0}); in ComputeEvents()
224 recv.push_back(KeyEvent {ActionStage::DOWN, code_, opt.keyHoldMs_}); in ComputeEvents()
225 recv.push_back(KeyEvent {ActionStage::UP, code_, 0}); in ComputeEvents()
240 recv.push_back(KeyEvent {ActionStage::DOWN, codeZero_, 0}); in ComputeEvents()
[all …]
Dui_action.cpp28 pointer.PushAction(TouchEvent {ActionStage::DOWN, point, 0, options.clickHoldMs_}); in DecomposeClick()
29 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.clickHoldMs_, 0}); in DecomposeClick()
39 pointer.PushAction(TouchEvent {ActionStage::DOWN, point, 0, options.longClickHoldMs_}); in DecomposeLongClick()
40 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.longClickHoldMs_, 0}); in DecomposeLongClick()
50 pointer.PushAction(TouchEvent {ActionStage::DOWN, point, 0, options.clickHoldMs_}); in DecomposeDoubleClick()
51 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.clickHoldMs_, msInterval}); in DecomposeDoubleClick()
53 pointer.PushAction(TouchEvent {ActionStage::DOWN, point, 0, options.clickHoldMs_}); in DecomposeDoubleClick()
54 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.clickHoldMs_, 0}); in DecomposeDoubleClick()
74 pointer.PushAction(TouchEvent {ActionStage::DOWN, {from.px_, from.py_}, 0, intervalMs}); in DecomposeComputeSwipe()
79 … pointer.PushAction(TouchEvent {ActionStage::MOVE, {pointX, pointY}, timeOffsetMs, intervalMs}); in DecomposeComputeSwipe()
[all …]
Dwidget_operator.cpp191 events.emplace_back(KeyEvent {ActionStage::DOWN, 2015, typeCharTimeMs}); in InputText()
192 events.emplace_back(KeyEvent {ActionStage::UP, 2015, 0}); in InputText()
193 events.emplace_back(KeyEvent {ActionStage::DOWN, 2055, typeCharTimeMs}); in InputText()
194 events.emplace_back(KeyEvent {ActionStage::UP, 2055, 0}); in InputText()
211 events.emplace_back(KeyEvent {ActionStage::DOWN, pair.second, 0}); in InputText()
213 events.emplace_back(KeyEvent {ActionStage::DOWN, pair.first, typeCharTimeMs}); in InputText()
214 events.emplace_back(KeyEvent {ActionStage::UP, pair.first, 0}); in InputText()
216 events.emplace_back(KeyEvent {ActionStage::UP, pair.second, 0}); in InputText()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp317 case ActionStage::DOWN: in InjectTouchEventSequence()
320 case ActionStage::MOVE: in InjectTouchEventSequence()
323 case ActionStage::UP: in InjectTouchEventSequence()
327 pinterItem.SetPressed(events.At(finger, step).stage_ != ActionStage::UP); in InjectTouchEventSequence()
344 if (event.stage_ == ActionStage::UP) { in InjectKeyEventSequence()