Home
last modified time | relevance | path

Searched refs:draw_funcs_ (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/recovery_ui/
Dscreen_ui.cpp59 : selection_(initial_selection), draw_funcs_(draw_func) {} in Menu()
155 draw_funcs_.SetColor(UIElement::HEADER); in DrawHeader()
157 offset += draw_funcs_.DrawWrappedTextLines(x, y + offset, text_headers()); in DrawHeader()
159 offset += draw_funcs_.DrawTextLines(x, y + offset, text_headers()); in DrawHeader()
164 offset += draw_funcs_.DrawTextLine(x, y + offset, cur_selection_str, true); in DrawHeader()
174 draw_funcs_.SetColor(UIElement::MENU); in DrawItems()
177 offset += draw_funcs_.DrawHorizontalRule(y + offset) + 4; in DrawItems()
183 draw_funcs_.SetColor(long_press ? UIElement::MENU_SEL_BG_ACTIVE : UIElement::MENU_SEL_BG); in DrawItems()
186 draw_funcs_.DrawHighlightBar(0, y + offset - 2, screen_width, bar_height); in DrawItems()
189 draw_funcs_.SetColor(UIElement::MENU_SEL_FG); in DrawItems()
[all …]
/bootable/recovery/tests/unit/
Dscreen_ui_test.cpp70 MockDrawFunctions draw_funcs_; member in ScreenUITest
74 TextMenu menu(false, 10, 20, HEADERS, ITEMS, 0, 20, draw_funcs_); in TEST_F()
89 TextMenu menu(true, 10, 8, HEADERS, ITEMS, 1, 20, draw_funcs_); in TEST_F()
105 TextMenu menu(false, 1, 20, HEADERS, ITEMS, 0, 20, draw_funcs_); in TEST_F()
120 TextMenu menu(true, 1, 20, HEADERS, ITEMS, 0, 20, draw_funcs_); in TEST_F()
138 TextMenu menu(false, 10, 20, HEADERS, ITEMS, sel, 20, draw_funcs_); in TEST_F()
167 TextMenu menu(true, 10, 20, HEADERS, ITEMS, sel, 20, draw_funcs_); in TEST_F()
196 TextMenu menu(true, 3, 20, HEADERS, ITEMS, sel, 20, draw_funcs_); in TEST_F()
241 GraphicMenu menu(header.get(), items, 0, draw_funcs_); in TEST_F()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dscreen_ui.h100 const DrawInterface& draw_funcs_; variable