Home
last modified time | relevance | path

Searched refs:FULL_PERCENT_PROGRESS (Results 1 – 5 of 5) sorted by relevance

/base/update/updater/services/
Dupdater.cpp215 if (endProgress < 0 || endProgress > FULL_PERCENT_PROGRESS || beginProgress < 0) { in ProgressSmoothHandler()
240 upParams.callbackProgress(upParams.initialProgress * FULL_PERCENT_PROGRESS); in DoInstallUpdaterPackage()
290 if (frac >= FULL_EPSINON && g_tmpValue + g_percentage < FULL_PERCENT_PROGRESS) { in SetProgress()
294 upParams.currentPercentage + upParams.initialProgress * FULL_PERCENT_PROGRESS); in SetProgress()
302 upParams.currentPercentage + upParams.initialProgress * FULL_PERCENT_PROGRESS); in SetProgress()
347 g_percentage = static_cast<int>(frac * FULL_PERCENT_PROGRESS); in HandleChildOutput()
Dupdater_main.cpp177 ProgressSmoothHandler(0, static_cast<int>(VERIFY_PERCENT * FULL_PERCENT_PROGRESS)); in VerifyPackages()
378 upParams.callbackProgress(updateStartPosition * FULL_PERCENT_PROGRESS); in DoUpdatePackages()
393 static_cast<int>(upParams.initialProgress * FULL_PERCENT_PROGRESS + in DoUpdatePackages()
395 static_cast<int>(pkgStartPosition[upParams.pkgLocation + 1] * FULL_PERCENT_PROGRESS)); in DoUpdatePackages()
/base/update/updater/services/ui/strategy/
Dprogress_strategy.cpp57 if (intValue < 0 || intValue > FULL_PERCENT_PROGRESS) { in ShowProgress()
/base/update/updater/services/include/updater/
Dupdater_const.h89 constexpr int FULL_PERCENT_PROGRESS = 100; variable
/base/update/updater/services/ui/view/component/
Dbox_progress_adapter.cpp70 …OHOS::UIBoxProgress::SetValue(static_cast<int>((value / FULL_PERCENT_PROGRESS) * (progressWidth_ -… in SetValue()