Searched refs:primary_bounds (Results 1 – 3 of 3) sorted by relevance
177 const gfx::Rect primary_bounds = in UpdateHorizontalIndicatorWindowBounds() local184 std::max(primary_bounds.x(), secondary_bounds.x())); in UpdateHorizontalIndicatorWindowBounds()186 std::min(primary_bounds.right(), secondary_bounds.right()) - in UpdateHorizontalIndicatorWindowBounds()191 primary_bounds.y() - (from_primary ? 0 : kIndicatorThickness) : in UpdateHorizontalIndicatorWindowBounds()192 primary_bounds.bottom() - (from_primary ? kIndicatorThickness : 0)); in UpdateHorizontalIndicatorWindowBounds()198 primary_bounds.y() - (from_primary ? kIndicatorThickness : 0) : in UpdateHorizontalIndicatorWindowBounds()199 primary_bounds.bottom() - (from_primary ? 0 : kIndicatorThickness)); in UpdateHorizontalIndicatorWindowBounds()206 const gfx::Rect primary_bounds = in UpdateVerticalIndicatorWindowBounds() local212 int upper_shared_y = std::max(primary_bounds.y(), secondary_bounds.y()); in UpdateVerticalIndicatorWindowBounds()213 int lower_shared_y = std::min(primary_bounds.bottom(), in UpdateVerticalIndicatorWindowBounds()[all …]
1007 const gfx::Rect& primary_bounds = primary_display.bounds(); in UpdateDisplayBoundsForLayout() local1009 gfx::Point new_secondary_origin = primary_bounds.origin(); in UpdateDisplayBoundsForLayout()1018 offset, primary_bounds.width() - kMinimumOverlapForInvalidOffset); in UpdateDisplayBoundsForLayout()1023 offset, primary_bounds.height() - kMinimumOverlapForInvalidOffset); in UpdateDisplayBoundsForLayout()1032 new_secondary_origin.Offset(primary_bounds.width(), offset); in UpdateDisplayBoundsForLayout()1035 new_secondary_origin.Offset(offset, primary_bounds.height()); in UpdateDisplayBoundsForLayout()
608 gfx::Rect primary_bounds = ash::Shell::GetInstance()->GetScreen()-> in TEST_F() local653 EXPECT_TRUE(primary_bounds.Contains(window_bounds)); in TEST_F()693 EXPECT_TRUE(primary_bounds.Contains(window_bounds)); in TEST_F()