Searched refs:WantSelectItem (Results 1 – 1 of 1) sorted by relevance
356 IN UINTN WantSelectItem, in BootMenuSelectItem() argument374 if (BootMenuData == NULL || WantSelectItem >= BootMenuData->ItemCount) { in BootMenuSelectItem()385 (WantSelectItem < BootMenuData->ScrollBarControl.FirstItem || in BootMenuSelectItem()386 WantSelectItem > BootMenuData->ScrollBarControl.LastItem || in BootMenuSelectItem()387 WantSelectItem == BootMenuData->SelectItem)) { in BootMenuSelectItem()392 if (WantSelectItem < BootMenuData->ScrollBarControl.FirstItem) { in BootMenuSelectItem()393 BootMenuData->ScrollBarControl.FirstItem = WantSelectItem; in BootMenuSelectItem()394 BootMenuData->ScrollBarControl.LastItem = WantSelectItem + ItemCountPerScreen - 1; in BootMenuSelectItem()395 } else if (WantSelectItem > BootMenuData->ScrollBarControl.LastItem) { in BootMenuSelectItem()396 BootMenuData->ScrollBarControl.FirstItem = WantSelectItem - ItemCountPerScreen + 1; in BootMenuSelectItem()[all …]