Lines Matching refs:RecoveryUI
129 static void FinishRecovery(RecoveryUI* ui) {
200 // If ShowMenu() returned RecoveryUI::KeyError::INTERRUPTED, WaitKey() was interrupted.
201 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) {
261 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) {
270 static void run_graphics_test(RecoveryUI* ui) {
274 ui->SetProgressType(RecoveryUI::INDETERMINATE);
275 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE);
278 ui->SetBackground(RecoveryUI::ERROR);
281 ui->SetBackground(RecoveryUI::NO_COMMAND);
284 ui->SetBackground(RecoveryUI::ERASING);
289 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE);
292 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE);
295 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE);
299 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE);
301 ui->SetProgressType(RecoveryUI::DETERMINATE);
371 ui->SetBackground(RecoveryUI::NO_COMMAND);
376 ui->SetBackground(RecoveryUI::ERROR);
385 ui->SetProgressType(RecoveryUI::EMPTY);
397 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) {
403 (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT))
490 ui->SetBackground(RecoveryUI::ERROR);
764 std::bind(&RecoveryUI::SetProgress, ui, std::placeholders::_1));
812 ui->SetBackground(RecoveryUI::ERROR);
853 ui->SetBackground(RecoveryUI::NO_COMMAND);
857 ui->SetBackground(RecoveryUI::ERROR);