Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp1461 repeatKeyTimerIds_.find(item.ability.bundleName) != repeatKeyTimerIds_.end()) { in HandleRepeatKey()
1462 if (count_ < repeatKeyMaxTimes_[item.keyCode] && repeatKeyTimerIds_[item.ability.bundleName] >= 0) { in HandleRepeatKey()
1463 TimerMgr->RemoveTimer(repeatKeyTimerIds_[item.ability.bundleName]); in HandleRepeatKey()
1464 repeatKeyTimerIds_.erase(item.ability.bundleName); in HandleRepeatKey()
1479 auto it = repeatKeyTimerIds_.find(item.ability.bundleName); in HandleRepeatKeyAbility()
1480 if (it != repeatKeyTimerIds_.end()) { in HandleRepeatKeyAbility()
1481 repeatKeyTimerIds_.erase(it); in HandleRepeatKeyAbility()
1491 if (repeatKeyTimerIds_.find(item.ability.bundleName) == repeatKeyTimerIds_ in HandleRepeatKeyAbility()
[all...]
/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler.h345 std::map<std::string, int32_t> repeatKeyTimerIds_; member in OHOS::MMI::final
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp851 handler.repeatKeyTimerIds_.emplace(repeatKey.ability.bundleName, 1); in HWTEST_F()
872 handler.repeatKeyTimerIds_["bundleName1"] = 1; in HWTEST_F()
873 handler.repeatKeyTimerIds_["bundleName2"] = 2; in HWTEST_F()
874 handler.repeatKeyTimerIds_["bundleName3"] = 3; in HWTEST_F()
895 handler.repeatKeyTimerIds_["bundleName1"] = 1; in HWTEST_F()
896 handler.repeatKeyTimerIds_["bundleName2"] = 2; in HWTEST_F()
897 handler.repeatKeyTimerIds_["bundleName3"] = 3; in HWTEST_F()

Completed in 10 milliseconds