Searched refs:frame_width (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/recovery_ui/ |
D | wear_ui.cpp | 56 int frame_width = gr_get_width(frame); in draw_background_locked() local 58 int frame_x = (gr_fb_width() - frame_width) / 2; in draw_background_locked() 60 gr_blit(frame, 0, 0, frame_width, frame_height, frame_x, frame_y); in draw_background_locked()
|
D | screen_ui.cpp | 448 int frame_width = gr_get_width(frame); in draw_foreground_locked() local 450 int frame_x = (ScreenWidth() - frame_width) / 2; in draw_foreground_locked() 452 if (frame_x >= 0 && frame_y >= 0 && (frame_x + frame_width) < ScreenWidth() && in draw_foreground_locked() 454 DrawSurface(frame, 0, 0, frame_width, frame_height, frame_x, frame_y); in draw_foreground_locked()
|