Searched refs:TextMenu (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/tests/unit/ |
D | screen_ui_test.cpp | 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()
|
/bootable/recovery/recovery_ui/ |
D | screen_ui.cpp | 64 TextMenu::TextMenu(bool scrollable, size_t max_items, size_t max_length, in TextMenu() function in TextMenu 85 const std::vector<std::string>& TextMenu::text_headers() const { in text_headers() 89 std::string TextMenu::TextItem(size_t index) const { in TextItem() 95 size_t TextMenu::MenuStart() const { in MenuStart() 99 size_t TextMenu::MenuEnd() const { in MenuEnd() 103 size_t TextMenu::ItemsCount() const { in ItemsCount() 107 bool TextMenu::ItemsOverflow(std::string* cur_selection_str) const { in ItemsOverflow() 118 int TextMenu::Select(int sel) { in Select() 151 int TextMenu::DrawHeader(int x, int y) const { in DrawHeader() 170 int TextMenu::DrawItems(int x, int y, int screen_width, bool long_press) const { in DrawItems() [all …]
|
D | wear_ui.cpp | 102 return std::make_unique<TextMenu>(scrollable_menu_, text_rows_ - menu_unusable_rows_ - 1, in CreateMenu()
|
/bootable/recovery/recovery_ui/include/recovery_ui/ |
D | screen_ui.h | 104 class TextMenu : public Menu { 108 TextMenu(bool scrollable, size_t max_items, size_t max_length,
|