Searched refs:locales_entries (Results 1 – 2 of 2) sorted by relevance
525 void ScreenRecoveryUI::SelectAndShowBackgroundText(const std::vector<std::string>& locales_entries, in SelectAndShowBackgroundText() argument527 SetLocale(locales_entries[sel]); in SelectAndShowBackgroundText()552 "Current locale: %s, %zu/%zu", locales_entries[sel].c_str(), sel + 1, locales_entries.size()); in SelectAndShowBackgroundText()576 std::vector<std::string> locales_entries = get_locales_in_png("installing_text"); in CheckBackgroundTextImages() local577 if (locales_entries.empty()) { in CheckBackgroundTextImages()583 SelectAndShowBackgroundText(locales_entries, selected); in CheckBackgroundTextImages()592 selected = (selected == 0) ? locales_entries.size() - 1 : selected - 1; in CheckBackgroundTextImages()593 SelectAndShowBackgroundText(locales_entries, selected); in CheckBackgroundTextImages()595 selected = (selected == locales_entries.size() - 1) ? 0 : selected + 1; in CheckBackgroundTextImages()596 SelectAndShowBackgroundText(locales_entries, selected); in CheckBackgroundTextImages()
412 void SelectAndShowBackgroundText(const std::vector<std::string>& locales_entries, size_t sel);