Searched refs:FULL_PERCENT_PROGRESS (Results 1 – 5 of 5) sorted by relevance
215 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()
177 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()
57 if (intValue < 0 || intValue > FULL_PERCENT_PROGRESS) { in ShowProgress()
89 constexpr int FULL_PERCENT_PROGRESS = 100; variable
70 …OHOS::UIBoxProgress::SetValue(static_cast<int>((value / FULL_PERCENT_PROGRESS) * (progressWidth_ -… in SetValue()