Lines Matching defs:periodMs
38 bool GraphicTimer::SetPeriod(int32_t periodMs)
45 if ((periodMs > MAX_PERIOD_MS) || (periodMs <= 0)) {
46 GRAPHIC_LOGE("Timer set period failed, period should be within (0, %d].(period=%d)", MAX_PERIOD_MS, periodMs);
50 periodMs_ = periodMs;
81 GraphicTimer::GraphicTimer(int32_t periodMs, GraphicTimerCb cb, void* arg, bool isPeriodic)
84 if ((periodMs > MAX_PERIOD_MS) || (periodMs <= 0)) {
85 GRAPHIC_LOGE("Timer create failed, period should be within (0, %d].(period=%d)", MAX_PERIOD_MS, periodMs);
94 periodMs_ = periodMs;
146 GraphicTimer::GraphicTimer(int32_t periodMs, GraphicTimerCb cb, void* arg, bool isPeriodic)
149 if ((periodMs > MAX_PERIOD_MS) || (periodMs <= 0)) {
150 GRAPHIC_LOGE("Timer create failed, period should be within (0, %d].(period=%d)", MAX_PERIOD_MS, periodMs);
160 periodMs_ = periodMs;
209 GraphicTimer::GraphicTimer(int32_t periodMs, GraphicTimerCb cb, void* arg, bool isPeriodic)
212 if ((periodMs > MAX_PERIOD_MS) || (periodMs <= 0)) {
213 GRAPHIC_LOGE("Timer create failed, period should be within (0, %d].(period=%d)", MAX_PERIOD_MS, periodMs);
227 periodMs_ = periodMs;