Home
last modified time | relevance | path

Searched refs:abilityStartDelay (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler_util.cpp360 cJSON *abilityStartDelay = cJSON_GetObjectItemCaseSensitive(jsonData, "abilityStartDelay"); in GetAbilityStartDelay() local
361 if (!cJSON_IsNumber(abilityStartDelay)) { in GetAbilityStartDelay()
365 if ((abilityStartDelay->valueint < 0) || (abilityStartDelay->valueint > MAX_DELAY_TIME)) { in GetAbilityStartDelay()
369 abilityStartDelayInt = abilityStartDelay->valueint; in GetAbilityStartDelay()
472 if (!GetAbilityStartDelay(jsonData, sequence.abilityStartDelay)) { in ConvertToKeySequence()
675 if (!GetAbilityStartDelay(jsonData, gesture.abilityStartDelay)) { in ParseTwoFingerGesture()
H A Dkey_command_handler.cpp587 … twoFingerGesture_.timerId = TimerMgr->AddTimer(twoFingerGesture_.abilityStartDelay, 1, [this]() { in StartTwoFingerGesture()
598 LaunchAbility(twoFingerGesture_.ability, twoFingerGesture_.abilityStartDelay); in StartTwoFingerGesture()
2041 if (sequence.abilityStartDelay == 0) { in HandleNormalSequence()
2049 sequence.timerId = TimerMgr->AddTimer(sequence.abilityStartDelay, 1, [this, &sequence] () { in HandleNormalSequence()
2345 LaunchAbility(sequence.ability, sequence.abilityStartDelay); in LaunchAbility()
/ohos5.0/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler.h108 int64_t abilityStartDelay { 0 };
118 int64_t abilityStartDelay = 0; member
/ohos5.0/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp1609 handler.twoFingerGesture_.abilityStartDelay = 1000;
2869 sequence.abilityStartDelay = 0;
2872 sequence.abilityStartDelay = 1;