Searched refs:key_handler (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/recovery_ui/include/recovery_ui/ |
D | ui.h | 163 bool menu_only, const std::function<int(int, bool)>& key_handler) = 0; 170 const std::function<int(int, bool)>& key_handler) = 0; 176 const std::function<int(int, bool)>& key_handler) = 0;
|
D | screen_ui.h | 227 const std::function<int(int, bool)>& key_handler) override; 241 const std::function<int(int, bool)>& key_handler) override; 246 const std::function<int(int, bool)>& key_handler) override; 283 const std::function<int(int, bool)>& key_handler);
|
/bootable/recovery/recovery_ui/ |
D | screen_ui.cpp | 1188 const std::function<int(int, bool)>& key_handler) { in ShowMenu() argument 1221 int action = key_handler(key, visible); in ShowMenu() 1250 const std::function<int(int, bool)>& key_handler) { in ShowMenu() argument 1256 return ShowMenu(CreateMenu(headers, items, initial_selection), menu_only, key_handler); in ShowMenu() 1261 const std::function<int(int, bool)>& key_handler) { in ShowPromptWipeDataMenu() argument 1269 return ShowMenu(std::move(wipe_data_menu), true, key_handler); in ShowPromptWipeDataMenu() 1274 const std::function<int(int, bool)>& key_handler) { in ShowPromptWipeDataConfirmationMenu() argument 1283 return ShowMenu(std::move(confirmation_menu), true, key_handler); in ShowPromptWipeDataConfirmationMenu()
|