Home
last modified time | relevance | path

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

/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer.cc1039 gfx::Rect snapped_bounds = ScreenUtil::GetDisplayWorkAreaBoundsInParent( in AreBoundsValidSnappedBounds() local
1042 snapped_bounds.set_x(snapped_bounds.right() - bounds_in_parent.width()); in AreBoundsValidSnappedBounds()
1043 snapped_bounds.set_width(bounds_in_parent.width()); in AreBoundsValidSnappedBounds()
1044 return bounds_in_parent == snapped_bounds; in AreBoundsValidSnappedBounds()
Dworkspace_window_resizer_unittest.cc681 gfx::Rect snapped_bounds = window_->bounds(); in TEST_F() local
682 EXPECT_NE(snapped_bounds.ToString(), kInitialBounds.ToString()); in TEST_F()
707 gfx::Rect snapped_bounds = window_->bounds(); in TEST_F() local
708 EXPECT_NE(snapped_bounds.ToString(), kInitialBounds.ToString()); in TEST_F()
720 snapped_bounds.Inset(0, 0, -10, 0); in TEST_F()
721 EXPECT_EQ(snapped_bounds.ToString(), window_->bounds().ToString()); in TEST_F()
735 EXPECT_EQ(snapped_bounds.ToString(), window_->bounds().ToString()); in TEST_F()
748 gfx::Rect expected_bounds(snapped_bounds); in TEST_F()
/external/chromium_org/ash/wm/
Ddefault_state.cc125 gfx::Rect snapped_bounds = event->type() == WM_EVENT_SNAP_LEFT ? in OnWMEvent() local
128 window_state->SetBoundsDirectAnimated(snapped_bounds); in OnWMEvent()