Home
last modified time | relevance | path

Searched refs:keyStatus (Results 1 – 7 of 7) sorted by relevance

/base/inputmethod/imf/frameworks/inputmethod_ability/include/
Dkeyboard_listener.h24 virtual bool OnKeyEvent(int32_t keyCode, int32_t keyStatus) = 0;
Dinput_method_ability.h64 IMF_API bool DispatchKeyEvent(int32_t keyCode, int32_t keyStatus);
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodability/
Djs_keyboard_delegate_setting.h82 bool OnKeyEvent(int32_t keyCode, int32_t keyStatus) override;
88 static napi_value GetResultOnKeyEvent(napi_env env, int32_t keyCode, int32_t keyStatus);
117 int32_t keyStatus = 0; member
Djs_keyboard_delegate_setting.cpp339 …ue JsKeyboardDelegateSetting::GetResultOnKeyEvent(napi_env env, int32_t keyCode, int32_t keyStatus) in GetResultOnKeyEvent() argument
349 napi_create_int32(env, keyStatus, &jsKeyAction); in GetResultOnKeyEvent()
355 bool JsKeyboardDelegateSetting::OnKeyEvent(int32_t keyCode, int32_t keyStatus) in OnKeyEvent() argument
358 KeyEventPara para{ keyCode, keyStatus, false }; in OnKeyEvent()
359 std::string type = (keyStatus == ARGC_TWO ? "keyDown" : "keyUp"); in OnKeyEvent()
362 entry.keyEventPara = { para.keyCode, para.keyStatus, para.isOnKeyEvent }; in OnKeyEvent()
382 … GetResultOnKeyEvent(item->env_, entry->keyEventPara.keyCode, entry->keyEventPara.keyStatus); in OnKeyEvent()
/base/inputmethod/imf/frameworks/inputmethod_ability/src/
Dinput_method_ability.cpp268 bool InputMethodAbility::DispatchKeyEvent(int32_t keyCode, int32_t keyStatus) in DispatchKeyEvent() argument
270 IMSA_HILOGI("key = %{public}d, status = %{public}d", keyCode, keyStatus); in DispatchKeyEvent()
275 return kdListener_->OnKeyEvent(keyCode, keyStatus); in DispatchKeyEvent()
/base/inputmethod/imf/unitest/src/
Dinput_method_controller_test.cpp172 bool OnKeyEvent(int32_t keyCode, int32_t keyStatus) override;
180 bool KeyboardListenerImpl::OnKeyEvent(int32_t keyCode, int32_t keyStatus) in OnKeyEvent() argument
182 IMSA_HILOGD("KeyboardListenerImpl::OnKeyEvent %{public}d %{public}d", keyCode, keyStatus); in OnKeyEvent()
184 keyStatus_ = keyStatus; in OnKeyEvent()
/base/inputmethod/imf/test/fuzztest/inputmethodability_fuzzer/
Dinputmethodability_fuzzer.cpp33 bool OnKeyEvent(int32_t keyCode, int32_t keyStatus) in OnKeyEvent() argument