Home
last modified time | relevance | path

Searched refs:primary_bounds (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/ash/display/
Dmouse_cursor_event_filter.cc177 const gfx::Rect primary_bounds = in UpdateHorizontalIndicatorWindowBounds() local
184 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() local
212 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 …]
Ddisplay_manager.cc1007 const gfx::Rect& primary_bounds = primary_display.bounds(); in UpdateDisplayBoundsForLayout() local
1009 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()
/external/chromium_org/chrome/browser/ui/window_sizer/
Dwindow_sizer_ash_unittest.cc608 gfx::Rect primary_bounds = ash::Shell::GetInstance()->GetScreen()-> in TEST_F() local
653 EXPECT_TRUE(primary_bounds.Contains(window_bounds)); in TEST_F()
693 EXPECT_TRUE(primary_bounds.Contains(window_bounds)); in TEST_F()