Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimodalinput/input/util/napi/src/
H A Dkey_event_napi.cpp110 bool isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_CTRL_LEFT) in WriteKeyStatusToJs()
111 || HasKeyCode(pressedKeys, KeyEvent::KEYCODE_CTRL_RIGHT); in WriteKeyStatusToJs()
115 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_ALT_LEFT) in WriteKeyStatusToJs()
116 || HasKeyCode(pressedKeys, KeyEvent::KEYCODE_ALT_RIGHT); in WriteKeyStatusToJs()
120 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_SHIFT_LEFT) in WriteKeyStatusToJs()
121 || HasKeyCode(pressedKeys, KeyEvent::KEYCODE_SHIFT_RIGHT); in WriteKeyStatusToJs()
125 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_META_LEFT) in WriteKeyStatusToJs()
126 || HasKeyCode(pressedKeys, KeyEvent::KEYCODE_META_RIGHT); in WriteKeyStatusToJs()
130 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_FN); in WriteKeyStatusToJs()
151 bool KeyEventNapi::HasKeyCode(const std::vector<int32_t> &pressedKeys, int32_t keyCode) in HasKeyCode() function in OHOS::MMI::KeyEventNapi
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor.cpp938 bool JsInputMonitor::HasKeyCode(const std::vector<int32_t>& pressedKeys, int32_t keyCode) in HasKeyCode() function in OHOS::MMI::JsInputMonitor
946 bool isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_CTRL_LEFT) in GetPressedKey()
947 || HasKeyCode(pressedKeys, KeyEvent::KEYCODE_CTRL_RIGHT); in GetPressedKey()
952 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_ALT_LEFT) in GetPressedKey()
953 || HasKeyCode(pressedKeys, KeyEvent::KEYCODE_ALT_RIGHT); in GetPressedKey()
958 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_SHIFT_LEFT) in GetPressedKey()
959 || HasKeyCode(pressedKeys, KeyEvent::KEYCODE_SHIFT_RIGHT); in GetPressedKey()
964 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_META_LEFT) in GetPressedKey()
965 || HasKeyCode(pressedKeys, KeyEvent::KEYCODE_META_RIGHT); in GetPressedKey()
970 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_FN); in GetPressedKey()
/ohos5.0/foundation/multimodalinput/input/util/napi/include/
H A Dkey_event_napi.h69 static bool HasKeyCode(const std::vector<int32_t> &pressedKeys, int32_t keyCode);
/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/common/
H A Dlibaccessibility_common.map36 OHOS::AccessibilityNapi::HasKeyCode*;
/ohos5.0/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
H A Dnapi_accessibility_utils.cpp1371 bool HasKeyCode(const std::vector<int32_t>& pressedKeys, int32_t keyCode) in HasKeyCode() function
1502 bool isPressed = HasKeyCode(pressedKeys, OHOS::MMI::KeyEvent::KEYCODE_CTRL_LEFT) in SetKeyPropertyPart1()
1503 || HasKeyCode(pressedKeys, OHOS::MMI::KeyEvent::KEYCODE_CTRL_RIGHT); in SetKeyPropertyPart1()
1509 isPressed = HasKeyCode(pressedKeys, OHOS::MMI::KeyEvent::KEYCODE_ALT_LEFT) in SetKeyPropertyPart1()
1510 || HasKeyCode(pressedKeys, OHOS::MMI::KeyEvent::KEYCODE_ALT_RIGHT); in SetKeyPropertyPart1()
1516 isPressed = HasKeyCode(pressedKeys, OHOS::MMI::KeyEvent::KEYCODE_SHIFT_LEFT) in SetKeyPropertyPart1()
1517 || HasKeyCode(pressedKeys, OHOS::MMI::KeyEvent::KEYCODE_SHIFT_RIGHT); in SetKeyPropertyPart1()
1523 isPressed = HasKeyCode(pressedKeys, OHOS::MMI::KeyEvent::KEYCODE_META_LEFT) in SetKeyPropertyPart1()
1524 || HasKeyCode(pressedKeys, OHOS::MMI::KeyEvent::KEYCODE_META_RIGHT); in SetKeyPropertyPart1()
1530 isPressed = HasKeyCode(pressedKeys, OHOS::MMI::KeyEvent::KEYCODE_FN); in SetKeyPropertyPart1()
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/include/
H A Djs_input_monitor.h127 bool HasKeyCode(const std::vector<int32_t>& pressedKeys, int32_t keyCode);
/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
H A Daccessibility_utils.h84 bool HasKeyCode(const std::vector<int32_t>& pressedKeys, int32_t keyCode);