Searched refs:max_width (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/recovery_ui/ |
D | screen_ui.cpp | 260 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() 1162 size_t max_width = ScreenWidth() - margin_width_ - kMenuIndent; in CreateMenu() local 1166 if (GraphicMenu::Validate(max_width, max_height, graphic_header, graphic_items)) { in CreateMenu()
|
/bootable/recovery/recovery_ui/include/recovery_ui/ |
D | screen_ui.h | 179 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,
|