Home
last modified time | relevance | path

Searched refs:beginProgress (Results 1 – 2 of 2) sorted by relevance

/base/update/updater/services/
Dupdater.cpp213 void ProgressSmoothHandler(int beginProgress, int endProgress) in ProgressSmoothHandler() argument
215 if (endProgress < 0 || endProgress > FULL_PERCENT_PROGRESS || beginProgress < 0) { in ProgressSmoothHandler()
218 while (beginProgress < endProgress) { in ProgressSmoothHandler()
219 int increase = (endProgress - beginProgress) / PROGRESS_VALUE_CONST; in ProgressSmoothHandler()
220 beginProgress += increase; in ProgressSmoothHandler()
221 if (beginProgress >= endProgress || increase == 0) { in ProgressSmoothHandler()
224 UPDATER_UI_INSTANCE.ShowProgress(beginProgress); in ProgressSmoothHandler()
/base/update/updater/services/include/updater/
Dupdater.h76 void ProgressSmoothHandler(int beginProgress, int endProgress);