Home
last modified time | relevance | path

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

/bootable/recovery/
Dui.c405 void ui_set_progress(float fraction) in ui_set_progress() argument
408 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()
Dcommon.h67 void ui_set_progress(float fraction); // 0.0 - 1.0 within the defined scope
Dinstall.c188 float fraction = strtof(fraction_s, NULL); in try_update_binary() local
191 ui_show_progress(fraction * (1-VERIFICATION_PROGRESS_FRACTION), in try_update_binary()
195 float fraction = strtof(fraction_s, NULL); in try_update_binary() local
196 ui_set_progress(fraction); in try_update_binary()