Lines Matching refs:FirstItem
207 BootMenuData->ScrollBarControl.FirstItem = 0; in InitializeBootMenuScreen()
213 BootMenuData->ScrollBarControl.FirstItem = 0; in InitializeBootMenuScreen()
368 UINTN FirstItem; in BootMenuSelectItem() local
385 (WantSelectItem < BootMenuData->ScrollBarControl.FirstItem || in BootMenuSelectItem()
392 if (WantSelectItem < BootMenuData->ScrollBarControl.FirstItem) { in BootMenuSelectItem()
393 BootMenuData->ScrollBarControl.FirstItem = WantSelectItem; in BootMenuSelectItem()
396 BootMenuData->ScrollBarControl.FirstItem = WantSelectItem - ItemCountPerScreen + 1; in BootMenuSelectItem()
400 FirstItem = BootMenuData->ScrollBarControl.FirstItem; in BootMenuSelectItem()
403 if (FirstItem != 0) { in BootMenuSelectItem()
404 TopShadeNum = (FirstItem * ItemCountPerScreen) / BootMenuData->ItemCount; in BootMenuSelectItem()
405 if ((FirstItem * ItemCountPerScreen) % BootMenuData->ItemCount != 0) { in BootMenuSelectItem()
451 String = HiiGetString (gStringPackHandle, BootMenuData->PtrTokens[Index + FirstItem], NULL); in BootMenuSelectItem()
461 FirstItem = BootMenuData->ScrollBarControl.FirstItem; in BootMenuSelectItem()
465 PrintRow = StartRow + TITLE_TOKEN_COUNT + 2 + WantSelectItem - FirstItem; in BootMenuSelectItem()
477 PrintRow = StartRow + 3 + BootMenuData->SelectItem - FirstItem; in BootMenuSelectItem()