Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_draw.cpp48 : kSplitScreen(get_split_screen()), kSplitOffset(get_split_offset()) { in HealthdDraw()
110 int x = (screen_width_ - w) / 2 + kSplitOffset; in draw_surface_centered()
116 x += screen_width_ - 2 * kSplitOffset; in draw_surface_centered()
130 gr_text(font, x + kSplitOffset, y, str, false /* bold */); in draw_text()
131 if (kSplitScreen) gr_text(font, x - kSplitOffset + screen_width_, y, str, false /* bold */); in draw_text()
146 *x = screen_width_ + field.pos_x - str_len_px - kSplitOffset; in determine_xy()
Dhealthd_draw.h72 const int kSplitOffset; variable