Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler_util.cpp363 cJSON *abilityStartDelay = cJSON_GetObjectItemCaseSensitive(jsonData, "abilityStartDelay"); in GetAbilityStartDelay() local
364 if (!cJSON_IsNumber(abilityStartDelay)) { in GetAbilityStartDelay()
365 MMI_HILOGE("abilityStartDelay is not number"); in GetAbilityStartDelay()
368 if ((abilityStartDelay->valueint < 0) || (abilityStartDelay->valueint > MAX_DELAY_TIME)) { in GetAbilityStartDelay()
369 MMI_HILOGE("abilityStartDelay must be number and bigger and equal zero and less than max delay time"); in GetAbilityStartDelay()
372 abilityStartDelayInt = abilityStartDelay->valueint; in GetAbilityStartDelay()
475 if (!GetAbilityStartDelay(jsonData, sequence.abilityStartDelay)) { in ConvertToKeySequence()
476 MMI_HILOGE("Get abilityStartDelay faile in ConvertToKeySequence()
[all...]
H A Dkey_command_handler.cpp522 twoFingerGesture_.timerId = TimerMgr->AddTimer(twoFingerGesture_.abilityStartDelay, 1, [this]() { in StartTwoFingerGesture()
533 LaunchAbility(twoFingerGesture_.ability, twoFingerGesture_.abilityStartDelay); in StartTwoFingerGesture()
1882 if (sequence.abilityStartDelay == 0) { in HandleNormalSequence()
1890 sequence.timerId = TimerMgr->AddTimer(sequence.abilityStartDelay, 1, [this, sequence] () { in HandleNormalSequence()
2182 LaunchAbility(sequence.ability, sequence.abilityStartDelay); in LaunchAbility()
/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler.h111 int64_t abilityStartDelay { 0 };
121 int64_t abilityStartDelay = 0; member
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp2371 handler.twoFingerGesture_.abilityStartDelay = 1000;
3629 sequence.abilityStartDelay = 0;
3632 sequence.abilityStartDelay = 1;
5179 sequence1.abilityStartDelay = 1;
5185 sequence2.abilityStartDelay = 2;

Completed in 13 milliseconds