Searched refs:key_handler (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/recovery_ui/include/recovery_ui/ |
D | ui.h | 165 bool menu_only, const std::function<int(int, bool)>& key_handler) = 0; 172 const std::function<int(int, bool)>& key_handler) = 0; 178 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 | 1202 const std::function<int(int, bool)>& key_handler) { in ShowMenu() argument 1235 int action = key_handler(key, visible); in ShowMenu() 1264 const std::function<int(int, bool)>& key_handler) { in ShowMenu() argument 1270 return ShowMenu(std::move(menu), menu_only, key_handler); in ShowMenu() 1275 const std::function<int(int, bool)>& key_handler) { in ShowPromptWipeDataMenu() argument 1283 return ShowMenu(std::move(wipe_data_menu), true, key_handler); in ShowPromptWipeDataMenu() 1288 const std::function<int(int, bool)>& key_handler) { in ShowPromptWipeDataConfirmationMenu() argument 1297 return ShowMenu(std::move(confirmation_menu), true, key_handler); in ShowPromptWipeDataConfirmationMenu()
|