Lines Matching refs:width
196 int width = gr_get_width(progressBarEmpty); in draw_foreground_locked() local
199 int progress_x = (ScreenWidth() - width) / 2; in draw_foreground_locked()
204 DrawFill(progress_x, progress_y, width, height); in draw_foreground_locked()
208 int pos = static_cast<int>(p * width); in draw_foreground_locked()
213 DrawSurface(progressBarFill, width - pos, 0, pos, height, progress_x + width - pos, in draw_foreground_locked()
216 if (pos < width - 1) { in draw_foreground_locked()
217 DrawSurface(progressBarEmpty, 0, 0, width - pos, height, progress_x, progress_y); in draw_foreground_locked()
224 if (pos < width - 1) { in draw_foreground_locked()
225 DrawSurface(progressBarEmpty, pos, 0, width - pos, height, progress_x + pos, progress_y); in draw_foreground_locked()
355 void ScreenRecoveryUI::DrawHighlightBar(int x, int y, int width, int height) const { in DrawHighlightBar() argument
356 gr_fill(x, y, x + width, y + height); in DrawHighlightBar()
716 int width = gr_get_width(progressBarEmpty); in SetProgress() local
717 float scale = width * progressScopeSize; in SetProgress()