Lines Matching refs:sel
118 int TextMenu::Select(int sel) { in Select() argument
124 if (sel < 0) { in Select()
126 } else if (sel >= count) { in Select()
129 selection_ = sel; in Select()
135 if (sel < 0) { in Select()
137 } else if (sel >= count) { in Select()
140 if (static_cast<size_t>(sel) < menu_start_) { in Select()
142 } else if (static_cast<size_t>(sel) >= MenuEnd()) { in Select()
145 selection_ = sel; in Select()
211 int GraphicMenu::Select(int sel) { in Select() argument
216 if (sel < 0) { in Select()
218 } else if (sel >= count) { in Select()
221 selection_ = sel; in Select()
523 size_t sel) { in SelectAndShowBackgroundText() argument
524 SetLocale(locales_entries[sel]); in SelectAndShowBackgroundText()
549 "Current locale: %s, %zu/%zu", locales_entries[sel].c_str(), sel + 1, locales_entries.size()); in SelectAndShowBackgroundText()
1174 int ScreenRecoveryUI::SelectMenu(int sel) { in SelectMenu() argument
1178 sel = menu_->Select(sel); in SelectMenu()
1180 if (sel != old_sel) { in SelectMenu()
1184 return sel; in SelectMenu()