Searched refs:GraphicMenu (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/recovery_ui/ |
D | screen_ui.cpp | 201 GraphicMenu::GraphicMenu(const GRSurface* graphic_headers, in GraphicMenu() function in GraphicMenu 212 int GraphicMenu::Select(int sel) { in Select() 228 int GraphicMenu::DrawHeader(int x, int y) const { in DrawHeader() 234 int GraphicMenu::DrawItems(int x, int y, int screen_width, bool long_press) const { in DrawItems() 261 bool GraphicMenu::Validate(size_t max_width, size_t max_height, const GRSurface* graphic_headers, in Validate() 279 bool GraphicMenu::ValidateGraphicSurface(size_t max_width, size_t max_height, int y, in ValidateGraphicSurface() 1187 if (GraphicMenu::Validate(max_width, max_height, graphic_header, graphic_items)) { in CreateMenu() 1188 return std::make_unique<GraphicMenu>(graphic_header, graphic_items, initial_selection, *this); in CreateMenu()
|
/bootable/recovery/tests/unit/ |
D | screen_ui_test.cpp | 241 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/ |
D | screen_ui.h | 166 class GraphicMenu : public Menu { 170 GraphicMenu(const GRSurface* graphic_headers, const std::vector<const GRSurface*>& graphic_items,
|