Searched refs:root_window_size (Results 1 – 3 of 3) sorted by relevance
30 const gfx::Size root_window_size = in ComputeAnimationLayerExpectedSize() local34 root_window_size.width()); in ComputeAnimationLayerExpectedSize()35 gfx::Size expected_size = root_window_size; in ComputeAnimationLayerExpectedSize()36 expected_size.set_width(root_window_size.width() * expected_screenshots + in ComputeAnimationLayerExpectedSize()
41 int GetPreviewWidth(const gfx::Size& root_window_size, int preview_height) { in GetPreviewWidth() argument42 return preview_height * root_window_size.width() / root_window_size.height(); in GetPreviewWidth()
68 gfx::Size root_window_size = Shell::GetPrimaryRootWindow()->bounds().size(); in CreateLockScreen() local69 params.bounds = gfx::Rect((root_window_size.width() - ps.width()) / 2, in CreateLockScreen()70 (root_window_size.height() - ps.height()) / 2, in CreateLockScreen()