Lines Matching refs:width
193 int width = gr_get_width(progressBarEmpty); in draw_foreground_locked() local
196 int progress_x = (gr_fb_width() - width) / 2; in draw_foreground_locked()
201 gr_fill(progress_x, progress_y, width, height); in draw_foreground_locked()
205 int pos = static_cast<int>(p * width); in draw_foreground_locked()
210 gr_blit(progressBarFill, width - pos, 0, pos, height, progress_x + width - pos, in draw_foreground_locked()
213 if (pos < width - 1) { in draw_foreground_locked()
214 gr_blit(progressBarEmpty, 0, 0, width - pos, height, progress_x, progress_y); in draw_foreground_locked()
221 if (pos < width - 1) { in draw_foreground_locked()
222 gr_blit(progressBarEmpty, pos, 0, width - pos, height, progress_x + pos, progress_y); in draw_foreground_locked()
264 void ScreenRecoveryUI::DrawHighlightBar(int x, int y, int width, int height) const { in DrawHighlightBar() argument
265 gr_fill(x, y, x + width, y + height); in DrawHighlightBar()
614 int width = gr_get_width(progressBarEmpty); in SetProgress() local
615 float scale = width * progressScopeSize; in SetProgress()