/external/chromium_org/ash/wm/workspace/ |
D | snap_sizer_unittest.cc | 23 using internal::SnapSizer; 40 SnapSizer::SnapWindow(window_state, SnapSizer::LEFT_EDGE); in TEST_F() 48 SnapSizer::SnapWindow(window_state, SnapSizer::RIGHT_EDGE); in TEST_F() 58 SnapSizer::SnapWindow(window_state, SnapSizer::RIGHT_EDGE); in TEST_F() 66 SnapSizer::SnapWindow(window_state, SnapSizer::LEFT_EDGE); in TEST_F() 91 SnapSizer::SnapWindow(window_state, SnapSizer::RIGHT_EDGE); in TEST_F() 126 SnapSizer::SnapWindow(window_state, SnapSizer::LEFT_EDGE); in TEST_F() 133 SnapSizer::SnapWindow(window_state, SnapSizer::LEFT_EDGE); in TEST_F() 137 SnapSizer::SnapWindow(window_state, SnapSizer::LEFT_EDGE); in TEST_F() 141 SnapSizer::SnapWindow(window_state, SnapSizer::LEFT_EDGE); in TEST_F() [all …]
|
D | snap_sizer.cc | 126 SnapSizer::Edge edge, in SnapWindowToBounds() 128 if (edge == SnapSizer::LEFT_EDGE) { in SnapWindowToBounds() 137 SnapSizer::SnapSizer(wm::WindowState* window_state, in SnapSizer() function in ash::internal::SnapSizer 157 SnapSizer::~SnapSizer() { in ~SnapSizer() 160 void SnapSizer::SnapWindow(wm::WindowState* window_state, in SnapWindow() 161 SnapSizer::Edge edge) { in SnapWindow() 164 internal::SnapSizer sizer(window_state, gfx::Point(), edge, in SnapWindow() 165 internal::SnapSizer::OTHER_INPUT); in SnapWindow() 170 void SnapSizer::SnapWindowToTargetBounds() { in SnapWindowToTargetBounds() 174 void SnapSizer::Update(const gfx::Point& location) { in Update() [all …]
|
D | snap_sizer.h | 25 class ASH_EXPORT SnapSizer { 40 SnapSizer(wm::WindowState* window_state, 44 virtual ~SnapSizer(); 134 DISALLOW_COPY_AND_ASSIGN(SnapSizer);
|
D | workspace_window_resizer.h | 28 class SnapSizer; variable 197 scoped_ptr<SnapSizer> snap_sizer_;
|
D | workspace_window_resizer.cc | 937 SnapSizer::Edge edge = (snap_type_ == SNAP_LEFT) ? in UpdateSnapPhantomWindow() 938 SnapSizer::LEFT_EDGE : SnapSizer::RIGHT_EDGE; in UpdateSnapPhantomWindow() 940 snap_sizer_.reset(new SnapSizer(window_state(), in UpdateSnapPhantomWindow() 943 internal::SnapSizer::OTHER_INPUT)); in UpdateSnapPhantomWindow()
|
D | workspace_window_resizer_unittest.cc | 611 internal::SnapSizer snap_sizer(window_state, gfx::Point(), in TEST_F() 612 internal::SnapSizer::LEFT_EDGE, internal::SnapSizer::OTHER_INPUT); in TEST_F() 628 internal::SnapSizer snap_sizer(window_state, gfx::Point(), in TEST_F() 629 internal::SnapSizer::RIGHT_EDGE, internal::SnapSizer::OTHER_INPUT); in TEST_F()
|
/external/chromium_org/ash/wm/caption_buttons/ |
D | alternate_frame_size_button_unittest.cc | 87 bool IsSnapped(internal::SnapSizer::Edge edge) const { in IsSnapped() 89 if (edge == internal::SnapSizer::LEFT_EDGE) in IsSnapped() 214 EXPECT_TRUE(IsSnapped(internal::SnapSizer::RIGHT_EDGE)); in TEST_F() 222 EXPECT_TRUE(IsSnapped(internal::SnapSizer::LEFT_EDGE)); in TEST_F() 232 EXPECT_TRUE(IsSnapped(internal::SnapSizer::RIGHT_EDGE)); in TEST_F() 241 EXPECT_TRUE(IsSnapped(internal::SnapSizer::LEFT_EDGE)); in TEST_F() 251 EXPECT_TRUE(IsSnapped(internal::SnapSizer::RIGHT_EDGE)); in TEST_F() 256 EXPECT_TRUE(IsSnapped(internal::SnapSizer::LEFT_EDGE)); in TEST_F() 276 EXPECT_TRUE(IsSnapped(internal::SnapSizer::LEFT_EDGE)); in TEST_F() 325 EXPECT_TRUE(IsSnapped(internal::SnapSizer::LEFT_EDGE)); in TEST_F() [all …]
|
D | frame_maximize_button.cc | 29 using ash::internal::SnapSizer; 165 scoped_ptr<SnapSizer> snap_sizer(snap_sizer_.release()); in ExecuteSnapAndCloseMenu() 385 scoped_ptr<SnapSizer> snap_sizer(snap_sizer_.release()); in ProcessEndEvent() 446 SnapSizer::Edge snap_edge = snap_type_ == SNAP_LEFT ? in UpdateSnap() 447 SnapSizer::LEFT_EDGE : SnapSizer::RIGHT_EDGE; in UpdateSnap() 448 SnapSizer::InputType input_type = in UpdateSnap() 449 is_touch ? SnapSizer::TOUCH_MAXIMIZE_BUTTON_INPUT : in UpdateSnap() 450 SnapSizer::OTHER_INPUT; in UpdateSnap() 451 snap_sizer_.reset(new SnapSizer( in UpdateSnap() 488 const SnapSizer& snap_sizer) const { in ScreenBoundsForType() [all …]
|
D | frame_maximize_button.h | 27 class SnapSizer; variable 137 const internal::SnapSizer& snap_sizer) const; 144 void Snap(internal::SnapSizer* snap_sizer); 175 scoped_ptr<internal::SnapSizer> snap_sizer_;
|
D | alternate_frame_size_button.cc | 188 using internal::SnapSizer; in CommitSnap() 189 SnapSizer::SnapWindow(ash::wm::GetWindowState(frame_->GetNativeWindow()), in CommitSnap() 191 SnapSizer::LEFT_EDGE : SnapSizer::RIGHT_EDGE); in CommitSnap()
|
D | frame_maximize_button_unittest.cc | 228 internal::SnapSizer sizer(window_state, center, in TEST_F() 229 internal::SnapSizer::RIGHT_EDGE, in TEST_F() 230 internal::SnapSizer::OTHER_INPUT); in TEST_F() 245 internal::SnapSizer sizer(window_state, center, in TEST_F() 246 internal::SnapSizer::LEFT_EDGE, in TEST_F() 247 internal::SnapSizer::OTHER_INPUT); in TEST_F() 296 internal::SnapSizer sizer(window_state, center, in TEST_F() 297 internal::SnapSizer::LEFT_EDGE, in TEST_F() 298 internal::SnapSizer::OTHER_INPUT); in TEST_F() 513 internal::SnapSizer sizer(window_state, button_pos, in TEST_F() [all …]
|
/external/chromium_org/ash/wm/gestures/ |
D | system_pinch_handler.cc | 89 internal::SnapSizer::SnapWindow(window_state, in ProcessGestureEvent() 90 event.details().swipe_left() ? internal::SnapSizer::LEFT_EDGE : in ProcessGestureEvent() 91 internal::SnapSizer::RIGHT_EDGE); in ProcessGestureEvent()
|
D | two_finger_drag_handler.cc | 165 internal::SnapSizer::SnapWindow(window_state, in ProcessGestureEvent() 166 event.details().swipe_left() ? internal::SnapSizer::LEFT_EDGE : in ProcessGestureEvent() 167 internal::SnapSizer::RIGHT_EDGE); in ProcessGestureEvent()
|
/external/chromium_org/ash/wm/ |
D | toplevel_window_event_handler_unittest.cc | 392 internal::SnapSizer sizer(window_state, location, in TEST_F() 393 internal::SnapSizer::RIGHT_EDGE, in TEST_F() 394 internal::SnapSizer::OTHER_INPUT); in TEST_F() 413 internal::SnapSizer sizer(window_state, location, in TEST_F() 414 internal::SnapSizer::LEFT_EDGE, in TEST_F() 415 internal::SnapSizer::OTHER_INPUT); in TEST_F() 534 internal::SnapSizer sizer(window_state, location, in TEST_F() 535 internal::SnapSizer::RIGHT_EDGE, in TEST_F() 536 internal::SnapSizer::OTHER_INPUT); in TEST_F() 559 internal::SnapSizer sizer(window_state, location, in TEST_F() [all …]
|
D | system_gesture_event_filter_unittest.cc | 625 internal::SnapSizer snap_sizer( in TEST_P() 628 internal::SnapSizer::LEFT_EDGE, in TEST_P() 629 internal::SnapSizer::OTHER_INPUT); in TEST_P() 657 internal::SnapSizer snap_sizer( in TEST_P() 660 internal::SnapSizer::RIGHT_EDGE, in TEST_P() 661 internal::SnapSizer::OTHER_INPUT); in TEST_P()
|
D | toplevel_window_event_handler.cc | 318 internal::SnapSizer::SnapWindow(window_state, in OnGestureEvent() 320 internal::SnapSizer::LEFT_EDGE : internal::SnapSizer::RIGHT_EDGE); in OnGestureEvent()
|
/external/chromium_org/ash/accelerators/ |
D | accelerator_controller.cc | 594 internal::SnapSizer::SnapWindow(window_state, in HandleWindowSnap() 595 action == WINDOW_SNAP_LEFT ? internal::SnapSizer::LEFT_EDGE : in HandleWindowSnap() 596 internal::SnapSizer::RIGHT_EDGE); in HandleWindowSnap()
|
/external/chromium_org/ash/wm/dock/ |
D | docked_window_resizer_unittest.cc | 1394 internal::SnapSizer::SnapWindow(window_state, in TEST_P() 1395 internal::SnapSizer::RIGHT_EDGE); in TEST_P() 1417 internal::SnapSizer::SnapWindow(window_state, in TEST_P() 1418 internal::SnapSizer::LEFT_EDGE); in TEST_P()
|