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.cpp64 int text_x = (ScreenWidth() - gr_get_width(text)) / 2; in draw_background_locked()
Dscreen_ui.cpp425 int x = (ScreenWidth() - max_stage * gr_get_width(stage_marker_empty_.get())) / 2; in draw_background_locked()
435 int text_x = (ScreenWidth() - gr_get_width(text_surface)) / 2; in draw_background_locked()
449 int frame_x = (ScreenWidth() - frame_width) / 2; in draw_foreground_locked()
458 int progress_x = (ScreenWidth() - width) / 2; in draw_foreground_locked()
600 int ScreenRecoveryUI::ScreenWidth() const { in ScreenWidth() function in ScreenRecoveryUI
614 gr_fill(0, y + 4, ScreenWidth(), y + 6); in DrawHorizontalRule()
646 size_t text_cols = (ScreenWidth() - x * 2) / char_width_; in DrawWrappedTextLines()
713 auto centered_x = ScreenWidth() / 2 - width / 2; in draw_menu_and_text_buffer_locked()
730 y += menu_->DrawItems(x, y, ScreenWidth(), IsLongPress()); in draw_menu_and_text_buffer_locked()
868 text_cols_ = (ScreenWidth() - margin_width_ * 2) / char_width_; in InitTextParams()
[all …]
/bootable/recovery/recovery_ui/include/recovery_ui/
Dvr_ui.h33 int ScreenWidth() const override;
Dscreen_ui.h319 virtual int ScreenWidth() const;