Home
last modified time | relevance | path

Searched refs:TextMenu (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/tests/unit/
Dscreen_ui_test.cpp74 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/
Dscreen_ui.cpp65 TextMenu::TextMenu(bool scrollable, size_t max_items, size_t max_length, in TextMenu() function in TextMenu
86 const std::vector<std::string>& TextMenu::text_headers() const { in text_headers()
90 std::string TextMenu::TextItem(size_t index) const { in TextItem()
96 size_t TextMenu::MenuStart() const { in MenuStart()
100 size_t TextMenu::MenuEnd() const { in MenuEnd()
104 size_t TextMenu::ItemsCount() const { in ItemsCount()
108 bool TextMenu::ItemsOverflow(std::string* cur_selection_str) const { in ItemsOverflow()
119 int TextMenu::Select(int sel) { in Select()
152 int TextMenu::DrawHeader(int x, int y) const { in DrawHeader()
171 int TextMenu::DrawItems(int x, int y, int screen_width, bool long_press) const { in DrawItems()
[all …]
Dwear_ui.cpp102 return std::make_unique<TextMenu>(scrollable_menu_, text_rows_ - menu_unusable_rows_ - 1, in CreateMenu()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dscreen_ui.h104 class TextMenu : public Menu {
108 TextMenu(bool scrollable, size_t max_items, size_t max_length,