Home
last modified time | relevance | path

Searched refs:ScreenWidth (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/recovery_ui/
Dvr_ui.cpp29 int VrRecoveryUI::ScreenWidth() const { in ScreenWidth() function in VrRecoveryUI
40 gr_blit(surface, sx, sy, w, h, dx - stereo_offset_ + ScreenWidth(), dy); in DrawSurface()
45 gr_texticon(x - stereo_offset_ + ScreenWidth(), y, surface); in DrawTextIcon()
50 gr_text(gr_sys_font(), x - stereo_offset_ + ScreenWidth(), y, line.c_str(), bold); in DrawTextLine()
56 gr_fill(margin_width_ + stereo_offset_, y, ScreenWidth() - margin_width_ + stereo_offset_, y + 2); in DrawHorizontalRule()
57 gr_fill(ScreenWidth() + margin_width_ - stereo_offset_, y, in DrawHorizontalRule()
63 gr_fill(margin_width_ + stereo_offset_, y, ScreenWidth() - margin_width_ + stereo_offset_, in DrawHighlightBar()
65 gr_fill(ScreenWidth() + margin_width_ - stereo_offset_, y, in DrawHighlightBar()
71 gr_fill(x - stereo_offset_ + ScreenWidth(), y, w, h); in DrawFill()
Dwear_ui.cpp112 int text_x = (ScreenWidth() - gr_get_width(text)) / 2; in draw_background_locked()
148 int frame_x = (ScreenWidth() - frame_width) / 2; in draw_circle_foreground_locked()
159 int progress_x = (ScreenWidth() - width) / 2; in draw_circle_foreground_locked()
Dscreen_ui.cpp432 int x = (ScreenWidth() - max_stage * gr_get_width(stage_marker_empty_.get())) / 2; in draw_background_locked()
442 int text_x = (ScreenWidth() - gr_get_width(text_surface)) / 2; in draw_background_locked()
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()
467 int progress_x = (ScreenWidth() - width) / 2; in draw_foreground_locked()
609 int ScreenRecoveryUI::ScreenWidth() const { in ScreenWidth() function in ScreenRecoveryUI
623 gr_fill(0, y + 4, ScreenWidth(), y + 6); in DrawHorizontalRule()
655 size_t text_cols = (ScreenWidth() - x * 2) / char_width_; in DrawWrappedTextLines()
722 auto centered_x = ScreenWidth() / 2 - width / 2; in draw_menu_and_text_buffer_locked()
739 y += menu_->DrawItems(x, y, ScreenWidth(), IsLongPress()); in draw_menu_and_text_buffer_locked()
[all …]
/bootable/recovery/recovery_ui/include/recovery_ui/
Dvr_ui.h33 int ScreenWidth() const override;
Dscreen_ui.h322 virtual int ScreenWidth() const;