Home
last modified time | relevance | path

Searched refs:repeatCount (Results 1 - 25 of 49) sorted by relevance

12

/foundation/multimodalinput/input/service/timer_manager/test/
H A Dtimer_manager_test.cpp53 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 Dtimer_manager.h36 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 Dtimer_manager.cpp37 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 Dtimer_manager.h38 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 Dtimer_manager.cpp62 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 Dffrt_timer.h89 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 Dgltf_animation.h25 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 Dtimer_manager.cpp38 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 Danimation_playback.cpp77 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 Dsvg_animate_declaration.h30 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 Drs_animation_timing_protocol.h58 void SetRepeatCount(int repeatCount) in SetRepeatCount() argument
60 repeatCount_ = repeatCount; in SetRepeatCount()
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.cpp215 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 Dhm_symbol_node_build.h64 void SetRepeatCount(int repeatCount) in SetRepeatCount() argument
66 repeatCount_ = repeatCount; in SetRepeatCount()
H A Dhm_symbol_txt.cpp82 void HMSymbolTxt::SetRepeatCount(const int repeatCount) in SetRepeatCount() argument
84 repeatCount_ = repeatCount; in SetRepeatCount()
H A Dhm_symbol_txt.h44 void SetRepeatCount(const int repeatCount);
/foundation/multimodalinput/input/service/touch_event_normalize/include/
H A Dtouch_transform_processor.h53 [](int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) -> int32_t { variable
54 return TimerMgr->AddTimer(intervalMs, repeatCount, std::move(callback));
H A Dtouchpad_transform_processor.h120 [](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 Dhm_symbol_txt.cpp110 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 Dsymbol_animation_config.h46 int repeatCount = 1; member
/foundation/multimodalinput/input/service/subscriber/test/include/
H A Dtimer_manager.h36 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 Danimation_component.h45 DEFINE_PROPERTY(uint32_t, repeatCount, "Playback Repeat Count", 0, VALUE(1))
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/symbol/
H A Dsymbol_effect_options.h65 void SetRepeatCount(int32_t repeatCount) in SetRepeatCount() argument
67 repeatCount_ = repeatCount; in SetRepeatCount()
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/
H A Dringtone_restore.cpp175 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 Dsvg_animation.cpp95 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 Drs_render_animation.cpp85 int32_t repeatCount = 0; in ParseParam() local
96 parcel.ReadFloat(speed) && parcel.ReadInt32(repeatCount) && parcel.ReadBool(autoReverse) && in ParseParam()
106 SetRepeatCount(repeatCount); in ParseParam()

Completed in 10 milliseconds

12