Home
last modified time | relevance | path

Searched refs:CreateKeyEvent (Results 1 - 8 of 8) sorted by relevance

/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 &out);
/foundation/multimodalinput/input/util/network/test/
H A Dcircle_stream_buffer_test.cpp101 * @tc.desc:Test the funcation CreateKeyEvent
112 napi_status status = napi.CreateKeyEvent(env, in, out); in HWTEST_F()
/foundation/multimodalinput/input/service/delegate_task/test/
H A Ddelegate_tasks_test.cpp186 * @tc.desc:Test the funcation CreateKeyEvent
197 napi_status status = napi.CreateKeyEvent(env, in, out); in HWTEST_F()
/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_value &out) in CreateKeyEvent() function in OHOS::MMI::KeyEventNapi
/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler.h248 std::shared_ptr<KeyEvent> CreateKeyEvent(int32_t keyCode, int32_t keyAction, bool isPressed);
/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp1198 std::shared_ptr<KeyEvent> KeyCommandHandler::CreateKeyEvent(int32_t keyCode, int32_t keyAction, bool isPressed) in CreateKeyEvent() function in OHOS::MMI::KeyCommandHandler
1603 auto keyEventCancel = CreateKeyEvent(keycode, KeyEvent::KEY_ACTION_CANCEL, false); in SendKeyEvent()
1609 auto keyEventDown = CreateKeyEvent(keycode, KeyEvent::KEY_ACTION_DOWN, true); in SendKeyEvent()
1614 auto keyEventUp = CreateKeyEvent(keycode, KeyEvent::KEY_ACTION_UP, false); in SendKeyEvent()
/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor.cpp1417 if (keyEventHelper.CreateKeyEvent(jsEnv_, keyEvent, result) != napi_ok) { in TransformKeyEvent()
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp2970 * @tc.desc: CreateKeyEvent
2981 ASSERT_NE(handler.CreateKeyEvent(keyCode, keyAction, isPressed), nullptr);

Completed in 15 milliseconds