Home
last modified time | relevance | path

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

/bootable/recovery/
Dinstall.cpp156 float fraction = strtof(fraction_s, NULL); in try_update_binary() local
159 ui->ShowProgress(fraction * (1-VERIFICATION_PROGRESS_FRACTION), seconds); in try_update_binary()
162 float fraction = strtof(fraction_s, NULL); in try_update_binary() local
163 ui->SetProgress(fraction); in try_update_binary()
Dscreen_ui.cpp486 void ScreenRecoveryUI::SetProgress(float fraction) { in SetProgress() argument
488 if (fraction < 0.0) fraction = 0.0; in SetProgress()
489 if (fraction > 1.0) fraction = 1.0; in SetProgress()
490 if (progressBarType == DETERMINATE && fraction > progress) { in SetProgress()
494 if ((int) (progress * scale) != (int) (fraction * scale)) { in SetProgress()
495 progress = fraction; in SetProgress()
Dui.h54 virtual void SetProgress(float fraction) = 0;
Dscreen_ui.h41 void SetProgress(float fraction);
Dverifier_test.cpp133 void SetProgress(float fraction) { } in SetProgress() argument