Home
last modified time | relevance | path

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

/bootable/recovery/recovery_ui/
Dwear_ui.cpp102 int frame_width = gr_get_width(frame); in draw_background_locked() local
104 int frame_x = (gr_fb_width() - frame_width) / 2; in draw_background_locked()
106 gr_blit(frame, 0, 0, frame_width, frame_height, frame_x, frame_y); in draw_background_locked()
146 int frame_width = gr_get_width(frame); in draw_circle_foreground_locked() local
148 int frame_x = (ScreenWidth() - frame_width) / 2; in draw_circle_foreground_locked()
150 DrawSurface(frame, 0, 0, frame_width, frame_height, frame_x, frame_y); in draw_circle_foreground_locked()
Dscreen_ui.cpp454 int frame_width = gr_get_width(frame); in draw_foreground_locked() local
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()
460 DrawSurface(frame, 0, 0, frame_width, frame_height, frame_x, frame_y); in draw_foreground_locked()