/test/testfwk/arkxtest/uitest/test/ |
D | ui_action_test.cpp | 66 ASSERT_EQ(ActionStage::UP, event2.stage_); in TEST_F() 88 ASSERT_EQ(ActionStage::UP, event2.stage_); in TEST_F() 110 ASSERT_EQ(ActionStage::UP, event2.stage_); in TEST_F() 122 ASSERT_EQ(ActionStage::UP, event4.stage_); in TEST_F() 158 ASSERT_EQ(ActionStage::UP, events.At(0, event).stage_); in TEST_F() 203 ASSERT_EQ(ActionStage::UP, events.At(0, event).stage_); in TEST_F() 243 ASSERT_EQ(ActionStage::UP, events.At(eventFinger, eventStep).stage_); in TEST_F() 260 ASSERT_EQ(ActionStage::UP, events.At(eventFinger, eventStep).stage_); in TEST_F() 298 ASSERT_EQ(ActionStage::UP, events.At(eventFinger, eventStep).stage_); in TEST_F() 344 ASSERT_EQ(ActionStage::UP, events.At(eventFinger, eventStep).stage_); in TEST_F() [all …]
|
/test/testfwk/arkxtest/uitest/core/ |
D | ui_action.cpp | 29 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.clickHoldMs_, 0}); in DecomposeClick() 40 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.longClickHoldMs_, 0}); in DecomposeLongClick() 51 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.clickHoldMs_, msInterval}); in DecomposeDoubleClick() 54 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.clickHoldMs_, 0}); in DecomposeDoubleClick() 82 pointer.PushAction(TouchEvent {ActionStage::UP, {to.px_, to.py_}, timeCostMs, intervalMs}); in DecomposeComputeSwipe() 185 … matrix.PushAction(TouchEvent {ActionStage::UP, {endPx, endPy}, timeOffsetMs, intervalMs}); in Decompose() 315 keyAction2.push_back(KeyEvent {ActionStage::UP, key2_, opt.keyHoldMs_}); in Decompose() 316 keyAction2.push_back(KeyEvent {ActionStage::UP, key1_, opt.keyHoldMs_}); in Decompose() 317 auto keyUp = MouseEvent {ActionStage::UP, point_, MouseButton::BUTTON_NONE, keyAction2, 0}; in Decompose() 340 keyAction2.push_back(KeyEvent {ActionStage::UP, key2_, opt.keyHoldMs_}); in Decompose() [all …]
|
D | ui_action.h | 41 NONE = 0, DOWN = 1, MOVE = 2, UP = 3, AXIS_UP = 4, AXIS_DOWN = 5, AXIS_STOP = 6 enumerator 270 recv.push_back(KeyEvent {ActionStage::UP, kCode, 0}); in ComputeEvents() 272 recv.push_back(KeyEvent {ActionStage::UP, kCtrlCode, 0}); in ComputeEvents() 285 recv.push_back(KeyEvent {ActionStage::UP, code_, 0}); in ComputeEvents() 308 recv.push_back(KeyEvent {ActionStage::UP, codeTwo_, 0}); in ComputeEvents() 310 recv.push_back(KeyEvent {ActionStage::UP, codeOne_, 0}); in ComputeEvents() 311 recv.push_back(KeyEvent {ActionStage::UP, codeZero_, 0}); in ComputeEvents()
|
D | widget_operator.cpp | 196 events.emplace_back(KeyEvent{ActionStage::UP, KEYCODE_DPAD_RIGHT, 0}); in InputText() 198 events.emplace_back(KeyEvent{ActionStage::UP, KEYCODE_DEL, 0}); in InputText()
|
D | ui_driver.cpp | 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/server/ |
D | system_ui_controller.cpp | 393 case ActionStage::UP: in InjectTouchEventSequence() 399 pinterItem.SetPressed(events.At(finger, step).stage_ != ActionStage::UP); in InjectTouchEventSequence() 443 case ActionStage::UP: in InjectMouseEvent() 492 if (event.stage_ == ActionStage::UP) { in InjectKeyEventSequence()
|
/test/xts/acts/multimodalinput/multimodalinput_ets_standard/entry/src/main/ets/test/ |
D | MultimodalInputEventType.test.ets | 44 expect(keyEvent.Action.UP == 2).assertTrue(); 408 expect(touchEvent.Action.UP == 3).assertTrue();
|
/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()
|
/test/xts/acts/testfwk/uitest/src/main/ets/test/ |
D | uitest.test.ets | 264 await driver.fling(UiDirection.UP, 39000) 1625 await window6.resize(bounds6.right - bounds6.left,500,ResizeDirection.UP)
|