Searched refs:screen_size (Results 1 – 5 of 5) sorted by relevance
20 int CalculateSize(int screen_size, int min_comfortable, float desired_ratio) { in CalculateSize() argument21 int desired_size = static_cast<int>(desired_ratio * screen_size); in CalculateSize()23 return std::min(screen_size, desired_size); in CalculateSize()
221 gfx::Size screen_size = delegate_->size(); in InitLayout() local227 const int dropdown_width = screen_size.width() - 2 * kBorderSize - in InitLayout()241 const int welcome_width = screen_size.width() - 2 * kWelcomeTitlePadding - in InitLayout()249 GridLayout::FIXED, screen_size.width(), screen_size.width()); in InitLayout()
210 gfx::Rect screen_size = monitor_info_provider_->GetPrimaryMonitorBounds(); in GetDefaultWindowBounds() local212 static_cast<double>(screen_size.width()) / screen_size.height(); in GetDefaultWindowBounds()
133 gfx::Rect screen_size; variable142 screen_size = browser::GrabWindowSnapshot(native_window, last_screenshot_png); in RefreshLastScreenshot()403 , browser::screen_size.width() in SendReport()404 , browser::screen_size.height() in SendReport()
884 unsigned long screen_size; /* Amount of ioremapped VRAM or 0 */ member