Home
last modified time | relevance | path

Searched refs:max_width (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/recovery_ui/
Dscreen_ui.cpp261 bool GraphicMenu::Validate(size_t max_width, size_t max_height, const GRSurface* graphic_headers, in Validate() argument
264 if (!ValidateGraphicSurface(max_width, max_height, offset, graphic_headers)) { in Validate()
270 if (!ValidateGraphicSurface(max_width, max_height, offset, item)) { in Validate()
279 bool GraphicMenu::ValidateGraphicSurface(size_t max_width, size_t max_height, int y, in ValidateGraphicSurface() argument
292 if (surface->width > max_width || surface->height > max_height - y) { in ValidateGraphicSurface()
296 surface->width, surface->height, max_width, max_height, y); in ValidateGraphicSurface()
1183 size_t max_width = ScreenWidth() - margin_width_ - kMenuIndent; in CreateMenu() local
1187 if (GraphicMenu::Validate(max_width, max_height, graphic_header, graphic_items)) { in CreateMenu()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dscreen_ui.h179 static bool Validate(size_t max_width, size_t max_height, const GRSurface* graphic_headers,
183 static bool ValidateGraphicSurface(size_t max_width, size_t max_height, int y,