Searched refs:fraction (Results 1 – 3 of 3) sorted by relevance
405 void ui_set_progress(float fraction) in ui_set_progress() argument408 if (fraction < 0.0) fraction = 0.0; in ui_set_progress()409 if (fraction > 1.0) fraction = 1.0; in ui_set_progress()410 if (gProgressBarType == PROGRESSBAR_TYPE_NORMAL && fraction > gProgress) { in ui_set_progress()414 if ((int) (gProgress * scale) != (int) (fraction * scale)) { in ui_set_progress()415 gProgress = fraction; in ui_set_progress()
67 void ui_set_progress(float fraction); // 0.0 - 1.0 within the defined scope
188 float fraction = strtof(fraction_s, NULL); in try_update_binary() local191 ui_show_progress(fraction * (1-VERIFICATION_PROGRESS_FRACTION), in try_update_binary()195 float fraction = strtof(fraction_s, NULL); in try_update_binary() local196 ui_set_progress(fraction); in try_update_binary()