Home
last modified time | relevance | path

Searched refs:currentLaunchAbilityKey_ (Results 1 - 3 of 3) sorted by relevance

/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler.h269 currentLaunchAbilityKey_.preKeys.clear(); in ResetCurrentLaunchAbilityKey()
270 currentLaunchAbilityKey_.finalKey = -1; in ResetCurrentLaunchAbilityKey()
271 currentLaunchAbilityKey_.timerId = -1; in ResetCurrentLaunchAbilityKey()
272 currentLaunchAbilityKey_.keyDownDuration = 0; in ResetCurrentLaunchAbilityKey()
332 ShortcutKey currentLaunchAbilityKey_; member in OHOS::MMI::final
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp971 handler.currentLaunchAbilityKey_.businessId = "business1"; in HWTEST_F()
972 handler.currentLaunchAbilityKey_.statusConfig = "config1"; in HWTEST_F()
973 handler.currentLaunchAbilityKey_.timerId = 6; in HWTEST_F()
974 handler.currentLaunchAbilityKey_.statusConfigValue = true; in HWTEST_F()
975 handler.currentLaunchAbilityKey_.finalKey = 4; in HWTEST_F()
976 handler.currentLaunchAbilityKey_.keyDownDuration = 5; in HWTEST_F()
977 handler.currentLaunchAbilityKey_.triggerType = KeyEvent::KEY_ACTION_DOWN; in HWTEST_F()
4039 handler.currentLaunchAbilityKey_.finalKey = 1;
4040 handler.currentLaunchAbilityKey_.triggerType = 2;
4043 bool result = handler.IsKeyMatch(handler.currentLaunchAbilityKey_, keyEven
[all...]
/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp1638 if (currentLaunchAbilityKey_.timerId >= 0 && IsKeyMatch(currentLaunchAbilityKey_, keyEvent)) { in HandleShortKeys()
1640 MMI_HILOGD("Repeat, current key %{public}d has launched ability", currentLaunchAbilityKey_.finalKey); in HandleShortKeys()
1642 MMI_HILOGD("Repeat, current key %d has launched ability", currentLaunchAbilityKey_.finalKey); in HandleShortKeys()
1687 if (currentLaunchAbilityKey_.finalKey == keyEvent->GetKeyCode() in MatchShortcutKeys()
1729 if (currentLaunchAbilityKey_.finalKey == keyEvent->GetKeyCode() in HandleConsumedKeyEvent()
2021 currentLaunchAbilityKey_ = shortcutKey; in HandleKeyDown()

Completed in 8 milliseconds