Home
last modified time | relevance | path

Searched refs:repeatKey (Results 1 - 6 of 6) sorted by relevance

/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler_util.cpp520 bool ConvertToKeyRepeat(const cJSON* jsonData, RepeatKey &repeatKey) in ConvertToKeyRepeat() argument
527 if (!GetKeyCode(jsonData, repeatKey.keyCode)) { in ConvertToKeyRepeat()
532 if (!GetRepeatTimes(jsonData, repeatKey.times)) { in ConvertToKeyRepeat()
537 if (!GetDelay(jsonData, repeatKey.delay)) { in ConvertToKeyRepeat()
542 GetKeyVal(jsonData, "statusConfig", repeatKey.statusConfig); in ConvertToKeyRepeat()
549 if (!PackageAbility(ability, repeatKey.ability)) { in ConvertToKeyRepeat()
675 cJSON *repeatKey = cJSON_GetArrayItem(repeatKeys, i); in ParseRepeatKeys() local
676 if (!cJSON_IsObject(repeatKey)) { in ParseRepeatKeys()
680 if (!ConvertToKeyRepeat(repeatKey, rep)) { in ParseRepeatKeys()
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp502 RepeatKey repeatKey; in HWTEST_F() local
503 ASSERT_NO_FATAL_FAILURE(handler.HandleRepeatKeyOwnCount(repeatKey)); in HWTEST_F()
516 RepeatKey repeatKey; in HWTEST_F() local
517 repeatKey.ability.bundleName = SCREENRECORDER_BUNDLE_NAME; in HWTEST_F()
520 ASSERT_NO_FATAL_FAILURE(handler.HandleRepeatKeyOwnCount(repeatKey)); in HWTEST_F()
826 RepeatKey repeatKey; in HWTEST_F() local
831 repeatKey.ability.bundleName = "bundleName"; in HWTEST_F()
832 ASSERT_TRUE(handler.HandleRepeatKeyAbility(repeatKey, isLaunched, keyEvent, false)); in HWTEST_F()
845 RepeatKey repeatKey; in HWTEST_F() local
850 repeatKey in HWTEST_F()
865 RepeatKey repeatKey; HWTEST_F() local
888 RepeatKey repeatKey; HWTEST_F() local
915 RepeatKey repeatKey; HWTEST_F() local
[all...]
/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dkey_event_test.cpp623 bool repeatKey = true; in HWTEST_F() local
624 ASSERT_NO_FATAL_FAILURE(keyEvent->SetRepeatKey(repeatKey)); in HWTEST_F()
625 repeatKey = false; in HWTEST_F()
626 ASSERT_NO_FATAL_FAILURE(keyEvent->SetRepeatKey(repeatKey)); in HWTEST_F()
/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler_util.h129 bool ConvertToKeyRepeat(const cJSON* jsonData, RepeatKey &repeatKey);
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
H A Dkey_event.h3428 void SetRepeatKey(bool repeatKey);
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dkey_event.cpp1393 void KeyEvent::SetRepeatKey(bool repeatKey) in SetRepeatKey() argument
1395 repeatKey_ = repeatKey; in SetRepeatKey()

Completed in 12 milliseconds