Lines Matching refs:ScreenWidth
432 int x = (ScreenWidth() - max_stage * gr_get_width(stage_marker_empty_.get())) / 2; in draw_background_locked()
442 int text_x = (ScreenWidth() - gr_get_width(text_surface)) / 2; in draw_background_locked()
456 int frame_x = (ScreenWidth() - frame_width) / 2; in draw_foreground_locked()
458 if (frame_x >= 0 && frame_y >= 0 && (frame_x + frame_width) < ScreenWidth() && in draw_foreground_locked()
467 int progress_x = (ScreenWidth() - width) / 2; in draw_foreground_locked()
609 int ScreenRecoveryUI::ScreenWidth() const { in ScreenWidth() function in ScreenRecoveryUI
623 gr_fill(0, y + 4, ScreenWidth(), y + 6); in DrawHorizontalRule()
655 size_t text_cols = (ScreenWidth() - x * 2) / char_width_; in DrawWrappedTextLines()
722 auto centered_x = ScreenWidth() / 2 - width / 2; in draw_menu_and_text_buffer_locked()
739 y += menu_->DrawItems(x, y, ScreenWidth(), IsLongPress()); in draw_menu_and_text_buffer_locked()
877 text_cols_ = (ScreenWidth() - margin_width_ * 2) / char_width_; in InitTextParams()
1193 size_t max_width = ScreenWidth() - margin_width_ - kMenuIndent; in CreateMenu()