Home
last modified time | relevance | path

Searched refs:CreateKeyEvent (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/common/src/
H A Dkey_event_util.cpp31 auto keyDown = CreateKeyEvent(keyCode, MMI::KeyEvent::KEY_ACTION_DOWN); in SimulateKeyEvent()
32 auto keyUp = CreateKeyEvent(keyCode, MMI::KeyEvent::KEY_ACTION_UP); in SimulateKeyEvent()
51 auto keyDown = CreateKeyEvent(key, MMI::KeyEvent::KEY_ACTION_DOWN); in SimulateKeyEvents()
52 auto keyUp = CreateKeyEvent(key, MMI::KeyEvent::KEY_ACTION_UP); in SimulateKeyEvents()
71 std::shared_ptr<MMI::KeyEvent> KeyEventUtil::CreateKeyEvent(int32_t keyCode, int32_t keyAction) in CreateKeyEvent() function in OHOS::MiscServices::KeyEventUtil
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/common/include/
H A Dkey_event_util.h27 static std::shared_ptr<MMI::KeyEvent> CreateKeyEvent(int32_t keyCode, int32_t keyAction);
/ohos5.0/foundation/multimodalinput/input/util/napi/include/
H A Dkey_event_napi.h35 …static napi_status CreateKeyEvent(napi_env env, const std::shared_ptr<KeyEvent> &in, napi_value &o…
/ohos5.0/base/powermgr/power_manager/test/unittest/src/
H A Dpower_coordination_lock_test.cpp58 std::shared_ptr<KeyEvent> CreateKeyEvent() in CreateKeyEvent() function
665 std::shared_ptr<MMI::KeyEvent> keyEvent = CreateKeyEvent();
739 std::shared_ptr<MMI::KeyEvent> keyEvent = CreateKeyEvent();
/ohos5.0/foundation/multimodalinput/input/service/delegate_task/test/
H A Ddelegate_tasks_test.cpp197 napi_status status = napi.CreateKeyEvent(env, in, out);
/ohos5.0/foundation/multimodalinput/input/util/napi/src/
H A Dkey_event_napi.cpp26 napi_status KeyEventNapi::CreateKeyEvent(napi_env env, const std::shared_ptr<KeyEvent> &in, napi_va… in CreateKeyEvent() function in OHOS::MMI::KeyEventNapi
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_ability_exception_test.cpp236 … keyEvent = KeyEventUtil::CreateKeyEvent(MMI::KeyEvent::KEYCODE_A, MMI::KeyEvent::KEY_ACTION_DOWN);
H A Dinput_method_controller_test.cpp174 auto keyEvent = KeyEventUtil::CreateKeyEvent(keyCode, keyStatus); in OnKeyEvent()
299 …keyEvent_ = KeyEventUtil::CreateKeyEvent(MMI::KeyEvent::KEYCODE_A, MMI::KeyEvent::KEY_ACTION_DOWN); in SetUpTestCase()
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_keyboard_delegate_setting.cpp335 … result = MMI::KeyEventNapi::CreateKeyEvent(env, keyEventEntry->pullKeyEventPara, keyEventObject); in DealKeyEvent()
400 … result = MMI::KeyEventNapi::CreateKeyEvent(env, entry->pullKeyEventPara, keyEventObject); in OnKeyEvent()
/ohos5.0/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler.h239 std::shared_ptr<KeyEvent> CreateKeyEvent(int32_t keyCode, int32_t keyAction, bool isPressed);
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp1278 std::shared_ptr<KeyEvent> KeyCommandHandler::CreateKeyEvent(int32_t keyCode, int32_t keyAction, boo… in CreateKeyEvent() function in OHOS::MMI::KeyCommandHandler
1774 auto keyEventCancel = CreateKeyEvent(keycode, KeyEvent::KEY_ACTION_CANCEL, false); in SendKeyEvent()
1780 auto keyEventDown = CreateKeyEvent(keycode, KeyEvent::KEY_ACTION_DOWN, true); in SendKeyEvent()
1785 auto keyEventUp = CreateKeyEvent(keycode, KeyEvent::KEY_ACTION_UP, false); in SendKeyEvent()
/ohos5.0/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp2221 ASSERT_NE(handler.CreateKeyEvent(keyCode, keyAction, isPressed), nullptr);