Searched refs:fraction (Results 1 – 5 of 5) sorted by relevance
156 float fraction = strtof(fraction_s, NULL); in try_update_binary() local159 ui->ShowProgress(fraction * (1-VERIFICATION_PROGRESS_FRACTION), seconds); in try_update_binary()162 float fraction = strtof(fraction_s, NULL); in try_update_binary() local163 ui->SetProgress(fraction); in try_update_binary()
486 void ScreenRecoveryUI::SetProgress(float fraction) { in SetProgress() argument488 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()
54 virtual void SetProgress(float fraction) = 0;
41 void SetProgress(float fraction);
133 void SetProgress(float fraction) { } in SetProgress() argument