Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp1007 bool isParseRepeatKeys = ParseRepeatKeys(parser, repeatKeys_, repeatKeyMaxTimes_); in ParseJson()
1452 if (repeatKeyMaxTimes_.find(item.keyCode) != repeatKeyMaxTimes_.end()) { in HandleRepeatKey()
1454 if (item.times < repeatKeyMaxTimes_[item.keyCode]) { in HandleRepeatKey()
1460 if (count_ > item.times && repeatKeyMaxTimes_.find(item.keyCode) != repeatKeyMaxTimes_.end() && in HandleRepeatKey()
1462 if (count_ < repeatKeyMaxTimes_[item.keyCode] && repeatKeyTimerIds_[item.ability.bundleName] >= 0) { in HandleRepeatKey()
1602 if (count_ == repeatKeyMaxTimes_[keycode] - 1 && keycode == KeyEvent::KEYCODE_POWER) { in SendKeyEvent()
/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler.h344 std::map<int32_t, int32_t> repeatKeyMaxTimes_; member in OHOS::MMI::final
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp537 handler.repeatKeyMaxTimes_[18] = 11; in HWTEST_F()
538 handler.repeatKeyMaxTimes_[2] = 3; in HWTEST_F()
556 handler.repeatKeyMaxTimes_[16] = 15; in HWTEST_F()
557 handler.repeatKeyMaxTimes_[2] = 3; in HWTEST_F()
4686 handler.repeatKeyMaxTimes_.emplace(KeyEvent::KEYCODE_POWER, 2);
4712 handler.repeatKeyMaxTimes_.emplace(KeyEvent::KEYCODE_POWER, 5);

Completed in 9 milliseconds