Home
last modified time | relevance | path

Searched refs:pressedKeyItem (Results 1 - 5 of 5) sorted by relevance

/foundation/multimodalinput/input/service/event_handler/src/
H A Dkey_auto_repeat.cpp132 std::optional<KeyEvent::KeyItem> pressedKeyItem = keyEvent_->GetKeyItem(keyEvent_->GetKeyCode()); in SelectAutoRepeat() local
133 if (pressedKeyItem) { in SelectAutoRepeat()
134 keyEvent_->RemoveReleasedKeyItems(*pressedKeyItem); in SelectAutoRepeat()
136 MMI_HILOGW("The pressedKeyItem is nullopt"); in SelectAutoRepeat()
138 pressedKeyItem = keyEvent_->GetKeyItem(repeatKeyCode_); in SelectAutoRepeat()
139 if (!pressedKeyItem) { in SelectAutoRepeat()
/foundation/multimodalinput/input/service/key_event_normalize/src/
H A Dkey_event_normalize.cpp117 std::optional<KeyEvent::KeyItem> pressedKeyItem = keyEvent->GetKeyItem(keyCode); in HandleKeyAction() local
118 if (pressedKeyItem) { in HandleKeyAction()
119 item.SetDownTime(pressedKeyItem->GetDownTime()); in HandleKeyAction()
/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp447 std::optional<OHOS::MMI::KeyEvent::KeyItem> pressedKeyItem = g_VKeySharedKeyEvent->GetKeyItem(keyCode); in HandleKeyActionHelper() local
448 if (pressedKeyItem) { in HandleKeyActionHelper()
449 item.SetDownTime(pressedKeyItem->GetDownTime()); in HandleKeyActionHelper()
588 std::optional<OHOS::MMI::KeyEvent::KeyItem> pressedKeyItem = g_VKeySharedUIKeyEvent->GetKeyItem(keyCode); in ToggleKeyVisualState() local
589 if (pressedKeyItem) { in ToggleKeyVisualState()
590 keyItem.SetDownTime(pressedKeyItem->GetDownTime()); in ToggleKeyVisualState()
/foundation/multimodalinput/input/frameworks/native/input/
H A Doh_input_manager.cpp258 std::optional<OHOS::MMI::KeyEvent::KeyItem> pressedKeyItem = g_keyEvent->GetKeyItem(keyEvent->keyCode); in HandleKeyAction() local
259 if (pressedKeyItem) { in HandleKeyAction()
260 item.SetDownTime(pressedKeyItem->GetDownTime()); in HandleKeyAction()
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
H A Dnapi_accessibility_utils.cpp1530 std::optional<MMI::KeyEvent::KeyItem> pressedKeyItem = keyEvent->GetKeyItem(pressedKeyCode); in SetKeyPropertyPart1() local
1531 GetKeyValue(env, element, pressedKeyItem); in SetKeyPropertyPart1()

Completed in 13 milliseconds