/foundation/multimodalinput/input/service/timer_manager/test/ |
H A D | timer_manager_test.cpp | 53 int32_t repeatCount = 3; in HWTEST_F() local 55 int32_t timerld = TimerMgr->AddTimer(intervalMs, repeatCount, AddTimerCallback); in HWTEST_F() 68 int32_t repeatCount = 3; in HWTEST_F() local 70 int32_t timerld = TimerMgr->AddTimer(intervalMs, repeatCount, AddTimerCallback); in HWTEST_F() 83 int32_t repeatCount = 3; in HWTEST_F() local 85 int32_t timerld = TimerMgr->AddTimer(intervalMs, repeatCount, AddTimerCallback); in HWTEST_F() 99 int32_t repeatCount = 3; in HWTEST_F() local 101 int32_t timerld = TimerMgr->AddTimer(intervalMs, repeatCount, AddTimerCallback); in HWTEST_F() 114 int32_t repeatCount = 3; in HWTEST_F() local 116 int32_t timerld = TimerMgr->AddTimer(intervalMs, repeatCount, nullpt in HWTEST_F() 131 int32_t repeatCount = 1; HWTEST_F() local 235 int32_t repeatCount = 1; HWTEST_F() local [all...] |
/foundation/multimodalinput/input/service/timer_manager/include/ |
H A D | timer_manager.h | 36 int32_t AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback); 37 int32_t AddLongTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback); 48 int32_t repeatCount { 0 }; 55 int32_t AddTimerInternal(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback);
|
/foundation/multimodalinput/input/service/timer_manager/src/ |
H A D | timer_manager.cpp | 37 int32_t TimerManager::AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) in AddTimer() argument 44 return AddTimerInternal(intervalMs, repeatCount, callback); in AddTimer() 47 int32_t TimerManager::AddLongTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) in AddLongTimer() argument 54 return AddTimerInternal(intervalMs, repeatCount, callback); in AddLongTimer() 99 int32_t TimerManager::AddTimerInternal(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) in AddTimerInternal() argument 111 timer->repeatCount = repeatCount; in AddTimerInternal() 212 if ((curTimer->repeatCount >= 1) && (curTimer->callbackCount >= curTimer->repeatCount)) { in ProcessTimersInternal()
|
/foundation/multimodalinput/input/intention/scheduler/timer_manager/include/ |
H A D | timer_manager.h | 38 int32_t AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) override; 50 int32_t repeatCount { 0 }; 56 int32_t OnAddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback); 63 int32_t AddTimerInternal(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback);
|
/foundation/multimodalinput/input/intention/scheduler/timer_manager/src/ |
H A D | timer_manager.cpp | 62 int32_t TimerManager::OnAddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) in OnAddTimer() argument 64 int32_t timerId = AddTimerInternal(intervalMs, repeatCount, callback); in OnAddTimer() 69 int32_t TimerManager::AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) in AddTimer() argument 73 return context_->GetDelegateTasks().PostSyncTask([this, intervalMs, repeatCount, callback] { in AddTimer() 74 return this->OnAddTimer(intervalMs, repeatCount, callback); in AddTimer() 176 int32_t TimerManager::AddTimerInternal(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) 193 timer->repeatCount = repeatCount; 279 if ((currentTimer->repeatCount >= 1) && (currentTimer->callbackCount >= currentTimer->repeatCount)) { [all...] |
/foundation/communication/netmanager_base/services/common/include/ |
H A D | ffrt_timer.h | 89 int repeatCount = (time > TIMER_MAX_INTERVAL_MS) ? (time / TIMER_MAX_INTERVAL_MS) : 0; in OneTiming() local 92 if (repeatCount > 0) { in OneTiming() 100 repeatCount--; in OneTiming()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/ |
H A D | gltf_animation.h | 25 GLTFAnimation(const std::string& name, AnimationState state, int repeatCount = -1, in GLTFAnimation() 27 : name_(name), state_(state), repeatCount_(repeatCount), speed_(speed), in GLTFAnimation()
|
/foundation/multimodalinput/input/service/subscriber/test/src/ |
H A D | timer_manager.cpp | 38 int32_t TimerManager::AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) in AddTimer() argument 53 } while (running_.load() && (--repeatCount > 0)); in AddTimer()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | animation_playback.cpp | 77 void AnimationPlayback::SetRepeatCount(uint32_t repeatCount) in SetRepeatCount() argument 80 handle->repeatCount = repeatCount; in SetRepeatCount() 87 return handle->repeatCount; in GetRepeatCount()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/ |
H A D | svg_animate_declaration.h | 30 int32_t repeatCount = 1; member 101 void SetRepeatCount(int32_t repeatCount) in SetRepeatCount() argument 104 attribute.repeatCount = repeatCount; in SetRepeatCount() 110 return attribute.repeatCount; in GetRepeatCount()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_animation_timing_protocol.h | 58 void SetRepeatCount(int repeatCount) in SetRepeatCount() argument 60 repeatCount_ = repeatCount; in SetRepeatCount()
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/ |
H A D | work_scheduler_ffi.cpp | 215 if (!cwork.isRepeat && cwork.repeatCount == UNSET_INT_PARAM) { in GetRepeatInfo() 216 LOGI("Not set isRepeat or repeatCount, ignore."); in GetRepeatInfo() 220 if (cwork.repeatCount > 0) { in GetRepeatInfo() 222 workInfo.RequestRepeatCycle(cwork.repeatCycleTime, cwork.repeatCount); in GetRepeatInfo() 229 if (cwork.repeatCount < 0) { in GetRepeatInfo() 233 workInfo.RequestRepeatCycle(cwork.repeatCycleTime, cwork.repeatCount); in GetRepeatInfo() 259 cwork.repeatCount = workInfo->GetCycleCount(); in ParseWorkInfo()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/symbol_engine/ |
H A D | hm_symbol_node_build.h | 64 void SetRepeatCount(int repeatCount) in SetRepeatCount() argument 66 repeatCount_ = repeatCount; in SetRepeatCount()
|
H A D | hm_symbol_txt.cpp | 82 void HMSymbolTxt::SetRepeatCount(const int repeatCount) in SetRepeatCount() argument 84 repeatCount_ = repeatCount; in SetRepeatCount()
|
H A D | hm_symbol_txt.h | 44 void SetRepeatCount(const int repeatCount);
|
/foundation/multimodalinput/input/service/touch_event_normalize/include/ |
H A D | touch_transform_processor.h | 53 [](int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) -> int32_t { variable 54 return TimerMgr->AddTimer(intervalMs, repeatCount, std::move(callback));
|
H A D | touchpad_transform_processor.h | 120 [](int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) -> int32_t { variable 121 return TimerMgr->AddTimer(intervalMs, repeatCount, std::move(callback));
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/ |
H A D | hm_symbol_txt.cpp | 110 void HMSymbolTxt::SetRepeatCount(const int repeatCount) in SetRepeatCount() argument 112 repeatCount_ = repeatCount; in SetRepeatCount()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | symbol_animation_config.h | 46 int repeatCount = 1; member
|
/foundation/multimodalinput/input/service/subscriber/test/include/ |
H A D | timer_manager.h | 36 int32_t AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback);
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/ |
H A D | animation_component.h | 45 DEFINE_PROPERTY(uint32_t, repeatCount, "Playback Repeat Count", 0, VALUE(1))
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/symbol/ |
H A D | symbol_effect_options.h | 65 void SetRepeatCount(int32_t repeatCount) in SetRepeatCount() argument 67 repeatCount_ = repeatCount; in SetRepeatCount()
|
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | ringtone_restore.cpp | 175 int32_t repeatCount = 1; in OnPrepare() local 185 info.restorePath = destPath + "/" + baseName + "(" + to_string(repeatCount++) + ")" + "." + extensionName; in OnPrepare()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_animation.cpp | 95 attr.repeatCount = -1; in SetAttr() 97 attr.repeatCount = StringUtils::StringToInt(val); in SetAttr() 173 SetRepeatCount(animateAttr_.repeatCount); in UpdateAttr()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_animation.cpp | 85 int32_t repeatCount = 0; in ParseParam() local 96 parcel.ReadFloat(speed) && parcel.ReadInt32(repeatCount) && parcel.ReadBool(autoReverse) && in ParseParam() 106 SetRepeatCount(repeatCount); in ParseParam()
|