Home
last modified time | relevance | path

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

/base/inputmethod/imf/frameworks/js/napi/common/
H A Devent_checker.cpp21 const std::unordered_set<std::string> EVENT_TYPES[static_cast<uint32_t>(EventSubscribeModule::MODULE_END)] = {
22 [static_cast<uint32_t>(EventSubscribeModule::INPUT_METHOD_CONTROLLER)] = { "insertText", "deleteLeft",
25 [static_cast<uint32_t>(EventSubscribeModule::INPUT_METHOD_SETTING)] = { "imeChange", "imeShow", "imeHide" },
26 [static_cast<uint32_t>(EventSubscribeModule::INPUT_METHOD_ABILITY)] = { "inputStart", "inputStop", "keyboardShow",
28 [static_cast<uint32_t>(EventSubscribeModule::KEYBOARD_DELEGATE)] = { "editorAttributeChanged", "keyDown", "keyUp",
30 [static_cast<uint32_t>(EventSubscribeModule::KEYBOARD_PANEL_MANAGER)] = { "panelPrivateCommand", "isPanelShow" },
31 [static_cast<uint32_t>(EventSubscribeModule::PANEL)] = { "show", "hide", "sizeChange" }
34 bool EventChecker::IsValidEventType(EventSubscribeModule module, const std::string &type) in IsValidEventType()
36 if (module < EventSubscribeModule::MODULE_BEGIN || module >= EventSubscribeModule in IsValidEventType()
[all...]
H A Devent_checker.h22 enum class EventSubscribeModule : uint32_t { class
34 static bool IsValidEventType(EventSubscribeModule module, const std::string &type);
/base/inputmethod/imf/frameworks/js/napi/keyboardpanelmanager/
H A Djs_keyboard_panel_manager.cpp100 !EventChecker::IsValidEventType(EventSubscribeModule::KEYBOARD_PANEL_MANAGER, type) || in Subscribe()
123 !EventChecker::IsValidEventType(EventSubscribeModule::KEYBOARD_PANEL_MANAGER, type)) { in UnSubscribe()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_keyboard_delegate_setting.cpp228 !EventChecker::IsValidEventType(EventSubscribeModule::KEYBOARD_DELEGATE, type) || in Subscribe()
257 !EventChecker::IsValidEventType(EventSubscribeModule::KEYBOARD_DELEGATE, type)) { in UnSubscribe()
H A Djs_panel.cpp357 !EventChecker::IsValidEventType(EventSubscribeModule::PANEL, type) || in Subscribe()
389 PARAM_CHECK_RETURN(env, EventChecker::IsValidEventType(EventSubscribeModule::PANEL, type), in UnSubscribe()
H A Djs_input_method_engine_setting.cpp340 !EventChecker::IsValidEventType(EventSubscribeModule::INPUT_METHOD_ABILITY, type) || in Subscribe()
497 !EventChecker::IsValidEventType(EventSubscribeModule::INPUT_METHOD_ABILITY, type)) { in UnSubscribe()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
H A Djs_get_input_method_setting.cpp490 !EventChecker::IsValidEventType(EventSubscribeModule::INPUT_METHOD_SETTING, type) || in Subscribe()
561 !EventChecker::IsValidEventType(EventSubscribeModule::INPUT_METHOD_SETTING, type)) { in UnSubscribe()
H A Djs_get_input_method_controller.cpp354 PARAM_CHECK_RETURN(env, EventChecker::IsValidEventType(EventSubscribeModule::INPUT_METHOD_CONTROLLER, type), in Subscribe()
388 !EventChecker::IsValidEventType(EventSubscribeModule::INPUT_METHOD_CONTROLLER, type)) { in UnSubscribe()

Completed in 11 milliseconds