Home
last modified time | relevance | path

Searched refs:CombinationKeyFunction (Results 1 – 3 of 3) sorted by relevance

/base/inputmethod/imf/services/adapter/keyboard/src/
Dcombination_key.cpp25 const std::map<CombinationKeyFunction, std::set<uint8_t>> COMBINATION_KEY_MAP{
26 …{ CombinationKeyFunction::SWITCH_LANGUAGE, { KeyboardEvent::SHIFT_LEFT_MASK, KeyboardEvent::SHIFT_…
27 { CombinationKeyFunction::SWITCH_IME,
34 { CombinationKeyFunction::SWITCH_MODE, { KeyboardEvent::CAPS_MASK } },
37 bool CombinationKey::IsMatch(CombinationKeyFunction combinationKey, uint32_t state) in IsMatch()
/base/inputmethod/imf/services/adapter/keyboard/include/
Dcombination_key.h23 enum class CombinationKeyFunction { SWITCH_LANGUAGE = 0, SWITCH_MODE, SWITCH_IME }; enum
27 static bool IsMatch(CombinationKeyFunction combinationKey, uint32_t state);
/base/inputmethod/imf/services/src/
Dinput_method_system_ability.cpp680 if (CombinationKey::IsMatch(CombinationKeyFunction::SWITCH_MODE, state)) { in SwitchByCombinationKey()
684 if (CombinationKey::IsMatch(CombinationKeyFunction::SWITCH_LANGUAGE, state)) { in SwitchByCombinationKey()
688 if (CombinationKey::IsMatch(CombinationKeyFunction::SWITCH_IME, state)) { in SwitchByCombinationKey()