Home
last modified time | relevance | path

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

/bootable/recovery/recovery_ui/
Dscreen_ui.cpp200 GraphicMenu::GraphicMenu(const GRSurface* graphic_headers, in GraphicMenu() function in GraphicMenu
211 int GraphicMenu::Select(int sel) { in Select()
227 int GraphicMenu::DrawHeader(int x, int y) const { in DrawHeader()
233 int GraphicMenu::DrawItems(int x, int y, int screen_width, bool long_press) const { in DrawItems()
260 bool GraphicMenu::Validate(size_t max_width, size_t max_height, const GRSurface* graphic_headers, in Validate()
278 bool GraphicMenu::ValidateGraphicSurface(size_t max_width, size_t max_height, int y, in ValidateGraphicSurface()
1166 if (GraphicMenu::Validate(max_width, max_height, graphic_header, graphic_items)) { in CreateMenu()
1167 return std::make_unique<GraphicMenu>(graphic_header, graphic_items, initial_selection, *this); in CreateMenu()
/bootable/recovery/tests/unit/
Dscreen_ui_test.cpp241 GraphicMenu menu(header.get(), items, 0, draw_funcs_); in TEST_F()
269 ASSERT_TRUE(GraphicMenu::Validate(200, 200, header.get(), items)); in TEST_F()
273 ASSERT_FALSE(GraphicMenu::Validate(299, 200, wide_surface.get(), items)); in TEST_F()
277 ASSERT_FALSE(GraphicMenu::Validate(200, 249, header.get(), items)); in TEST_F()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dscreen_ui.h166 class GraphicMenu : public Menu {
170 GraphicMenu(const GRSurface* graphic_headers, const std::vector<const GRSurface*>& graphic_items,