Home
last modified time | relevance | path

Searched refs:screen_width_ (Results 1 – 2 of 2) sorted by relevance

/system/core/healthd/
Dhealthd_draw.cpp68 screen_width_ = gr_fb_width() / (kSplitScreen ? 2 : 1); in HealthdDraw()
127 int x = (screen_width_ - w) / 2 + kSplitOffset; in draw_surface_centered()
133 x += screen_width_ - 2 * kSplitOffset; in draw_surface_centered()
145 if (x < 0) x = (screen_width_ - str_len_px) / 2; in draw_text()
148 if (kSplitScreen) gr_text(font, x - kSplitOffset + screen_width_, y, str, false /* bold */); in draw_text()
156 screen_width_ = gr_fb_width() / (kSplitScreen ? 2 : 1); in determine_xy()
161 *x = (screen_width_ - str_len_px) / 2; in determine_xy()
165 *x = screen_width_ + field.pos_x - str_len_px - kSplitOffset; in determine_xy()
Dhealthd_draw.h73 int screen_width_; variable