Home
last modified time | relevance | path

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

/bootable/recovery/recovery_ui/
Dscreen_ui.cpp260 bool GraphicMenu::Validate(size_t max_width, size_t max_height, const GRSurface* graphic_headers, in Validate() argument
263 if (!ValidateGraphicSurface(max_width, max_height, offset, graphic_headers)) { in Validate()
269 if (!ValidateGraphicSurface(max_width, max_height, offset, item)) { in Validate()
278 bool GraphicMenu::ValidateGraphicSurface(size_t max_width, size_t max_height, int y, in ValidateGraphicSurface() argument
291 if (surface->width > max_width || surface->height > max_height - y) { in ValidateGraphicSurface()
295 surface->width, surface->height, max_width, max_height, y); in ValidateGraphicSurface()
1165 size_t max_height = ScreenHeight() - margin_height_ - char_height_ * (title_lines_.size() + 3); in CreateMenu() local
1166 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,