Searched refs:ActionStage (Results 1 – 7 of 7) sorted by relevance
/test/testfwk/arkxtest/uitest/core/ |
D | ui_action.cpp | 28 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 …]
|
D | ui_action.h | 40 enum ActionStage : uint8_t { enum 77 ActionStage stage_; 85 ActionStage stage_; 91 ActionStage stage_; 267 recv.push_back(KeyEvent {ActionStage::DOWN, kCtrlCode, 0}); in ComputeEvents() 269 recv.push_back(KeyEvent {ActionStage::DOWN, kCode, opt.keyHoldMs_}); in ComputeEvents() 270 recv.push_back(KeyEvent {ActionStage::UP, kCode, 0}); in ComputeEvents() 272 recv.push_back(KeyEvent {ActionStage::UP, kCtrlCode, 0}); in ComputeEvents() 284 recv.push_back(KeyEvent {ActionStage::DOWN, code_, opt.keyHoldMs_}); in ComputeEvents() 285 recv.push_back(KeyEvent {ActionStage::UP, code_, 0}); in ComputeEvents() [all …]
|
D | widget_operator.cpp | 195 … events.emplace_back(KeyEvent{ActionStage::DOWN, KEYCODE_DPAD_RIGHT, typeCharTimeMs}); in InputText() 196 events.emplace_back(KeyEvent{ActionStage::UP, KEYCODE_DPAD_RIGHT, 0}); in InputText() 197 events.emplace_back(KeyEvent{ActionStage::DOWN, KEYCODE_DEL, typeCharTimeMs}); in InputText() 198 events.emplace_back(KeyEvent{ActionStage::UP, KEYCODE_DEL, 0}); in InputText()
|
D | ui_driver.cpp | 515 events.emplace_back(KeyEvent {ActionStage::DOWN, pair.second, 0}); in TextToKeyEvents() 517 events.emplace_back(KeyEvent {ActionStage::DOWN, pair.first, typeCharTimeMs}); in TextToKeyEvents() 518 events.emplace_back(KeyEvent {ActionStage::UP, pair.first, 0}); in TextToKeyEvents() 520 events.emplace_back(KeyEvent {ActionStage::UP, pair.second, 0}); in TextToKeyEvents()
|
/test/testfwk/arkxtest/uitest/test/ |
D | ui_action_test.cpp | 61 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/server/ |
D | system_ui_controller.cpp | 387 case ActionStage::DOWN: in InjectTouchEventSequence() 390 case ActionStage::MOVE: in InjectTouchEventSequence() 393 case ActionStage::UP: in InjectTouchEventSequence() 399 pinterItem.SetPressed(events.At(finger, step).stage_ != ActionStage::UP); in InjectTouchEventSequence() 434 case ActionStage::DOWN: in InjectMouseEvent() 440 case ActionStage::MOVE: in InjectMouseEvent() 443 case ActionStage::UP: in InjectMouseEvent() 448 case ActionStage::AXIS_UP: in InjectMouseEvent() 453 case ActionStage::AXIS_DOWN: in InjectMouseEvent() 458 case ActionStage::AXIS_STOP: in InjectMouseEvent() [all …]
|
/test/testfwk/arkxtest/uitest/addon/ |
D | extension_executor.cpp | 212 …EXTENSION_API_CHECK(stage >= ActionStage::DOWN && stage <= ActionStage::UP, "Illegal stage", ERR_B… in AtomicTouch() 213 auto touch = GenericAtomicAction(static_cast<ActionStage>(stage), Point(px, py)); in AtomicTouch()
|