Searched refs:keyStatus (Results 1 – 7 of 7) sorted by relevance
/base/inputmethod/imf/frameworks/inputmethod_ability/include/ |
D | keyboard_listener.h | 24 virtual bool OnKeyEvent(int32_t keyCode, int32_t keyStatus) = 0;
|
D | input_method_ability.h | 64 IMF_API bool DispatchKeyEvent(int32_t keyCode, int32_t keyStatus);
|
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodability/ |
D | js_keyboard_delegate_setting.h | 82 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
|
D | js_keyboard_delegate_setting.cpp | 339 …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/ |
D | input_method_ability.cpp | 268 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/ |
D | input_method_controller_test.cpp | 172 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/ |
D | inputmethodability_fuzzer.cpp | 33 bool OnKeyEvent(int32_t keyCode, int32_t keyStatus) in OnKeyEvent() argument
|