Searched refs:screen_width_ (Results 1 – 2 of 2) sorted by relevance
65 screen_width_ = gr_fb_width() / (kSplitScreen ? 2 : 1); in HealthdDraw()110 int x = (screen_width_ - w) / 2 + kSplitOffset; in draw_surface_centered()116 x += screen_width_ - 2 * kSplitOffset; in draw_surface_centered()128 if (x < 0) x = (screen_width_ - str_len_px) / 2; in draw_text()131 if (kSplitScreen) gr_text(font, x - kSplitOffset + screen_width_, y, str, false /* bold */); in draw_text()142 *x = (screen_width_ - str_len_px) / 2; in determine_xy()146 *x = screen_width_ + field.pos_x - str_len_px - kSplitOffset; in determine_xy()
66 int screen_width_; variable