Home
last modified time | relevance | path

Searched refs:ONE_HUNDRED_PERCENT (Results 1 - 1 of 1) sorted by relevance

/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dboot_compile_progress.cpp38 constexpr const int32_t ONE_HUNDRED_PERCENT = 100; member
241 if (progress_ >= ONE_HUNDRED_PERCENT) { in DrawCompileProgress()
254 progress_ = ONE_HUNDRED_PERCENT; in UpdateCompileProgress()
257 progress_ = (int32_t)((now - startTimeMs_) * ONE_HUNDRED_PERCENT / (timeLimitSec_ * SEC_MS)); in UpdateCompileProgress()
258 progress_ = progress_ < 0 ? 0 : progress_ > ONE_HUNDRED_PERCENT ? ONE_HUNDRED_PERCENT: progress_; in UpdateCompileProgress()

Completed in 1 milliseconds