Lines Matching refs:ScreenWidth
425 int x = (ScreenWidth() - max_stage * gr_get_width(stage_marker_empty_.get())) / 2; in draw_background_locked()
435 int text_x = (ScreenWidth() - gr_get_width(text_surface)) / 2; in draw_background_locked()
449 int frame_x = (ScreenWidth() - frame_width) / 2; in draw_foreground_locked()
458 int progress_x = (ScreenWidth() - width) / 2; in draw_foreground_locked()
600 int ScreenRecoveryUI::ScreenWidth() const { in ScreenWidth() function in ScreenRecoveryUI
614 gr_fill(0, y + 4, ScreenWidth(), y + 6); in DrawHorizontalRule()
646 size_t text_cols = (ScreenWidth() - x * 2) / char_width_; in DrawWrappedTextLines()
709 auto centered_x = ScreenWidth() / 2 - width / 2; in draw_menu_and_text_buffer_locked()
726 y += menu_->DrawItems(x, y, ScreenWidth(), IsLongPress()); in draw_menu_and_text_buffer_locked()
854 text_cols_ = (ScreenWidth() - margin_width_ * 2) / char_width_; in InitTextParams()
1148 size_t max_width = ScreenWidth() - margin_width_ - kMenuIndent; in CreateMenu()