Home
last modified time | relevance | path

Searched refs:WindowResizer (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/ash/wm/
Dwindow_resizer.cc41 const int WindowResizer::kBoundsChange_None = 0;
43 const int WindowResizer::kBoundsChange_Repositions = 1;
45 const int WindowResizer::kBoundsChange_Resizes = 2;
48 const int WindowResizer::kBoundsChangeDirection_None = 0;
50 const int WindowResizer::kBoundsChangeDirection_Horizontal = 1;
52 const int WindowResizer::kBoundsChangeDirection_Vertical = 2;
54 WindowResizer::WindowResizer() { in WindowResizer() function in ash::WindowResizer
57 WindowResizer::WindowResizer(wm::WindowState* window_state) in WindowResizer() function in ash::WindowResizer
62 WindowResizer::~WindowResizer() { in ~WindowResizer()
66 int WindowResizer::GetBoundsChangeForWindowComponent(int component) { in GetBoundsChangeForWindowComponent()
[all …]
Ddrag_details.cc16 int size_change_direction = WindowResizer::kBoundsChangeDirection_None; in GetSizeChangeDirectionForWindowComponent()
25 WindowResizer::kBoundsChangeDirection_Horizontal | in GetSizeChangeDirectionForWindowComponent()
26 WindowResizer::kBoundsChangeDirection_Vertical; in GetSizeChangeDirectionForWindowComponent()
30 size_change_direction |= WindowResizer::kBoundsChangeDirection_Vertical; in GetSizeChangeDirectionForWindowComponent()
34 size_change_direction |= WindowResizer::kBoundsChangeDirection_Horizontal; in GetSizeChangeDirectionForWindowComponent()
54 WindowResizer::GetBoundsChangeForWindowComponent(window_component)), in DragDetails()
56 WindowResizer::GetPositionChangeDirectionForWindowComponent( in DragDetails()
60 is_resizable(bounds_change != WindowResizer::kBoundsChangeDirection_None), in DragDetails()
Dwindow_resizer.h25 class ASH_EXPORT WindowResizer {
37 WindowResizer();
38 WindowResizer(wm::WindowState* window_state);
39 virtual ~WindowResizer();
100 ASH_EXPORT scoped_ptr<WindowResizer> CreateWindowResizer(
Ddrag_window_resizer_unittest.cc100 gfx::Point CalculateDragPoint(const WindowResizer& resizer, in CalculateDragPoint()
113 static WindowResizer* CreateDragWindowResizer( in CreateDragWindowResizer()
168 scoped_ptr<WindowResizer> resizer(CreateDragWindowResizer( in TEST_F()
186 scoped_ptr<WindowResizer> resizer(CreateDragWindowResizer( in TEST_F()
206 scoped_ptr<WindowResizer> resizer(CreateDragWindowResizer( in TEST_F()
228 scoped_ptr<WindowResizer> resizer(CreateDragWindowResizer( in TEST_F()
254 scoped_ptr<WindowResizer> resizer(CreateDragWindowResizer( in TEST_F()
298 scoped_ptr<WindowResizer> resizer(CreateDragWindowResizer( in TEST_F()
327 scoped_ptr<WindowResizer> resizer(CreateDragWindowResizer( in TEST_F()
355 scoped_ptr<WindowResizer> resizer(CreateDragWindowResizer( in TEST_F()
[all …]
Ddrag_window_resizer.h20 class ASH_EXPORT DragWindowResizer : public WindowResizer {
27 static DragWindowResizer* Create(WindowResizer* next_window_resizer,
41 explicit DragWindowResizer(WindowResizer* next_window_resizer,
51 scoped_ptr<WindowResizer> next_window_resizer_;
Dtoplevel_window_event_handler.cc56 WindowResizer::GetBoundsChangeForWindowComponent(window_component1); in CanStartTwoFingerMove()
58 WindowResizer::GetBoundsChangeForWindowComponent(window_component2); in CanStartTwoFingerMove()
59 return (component1_behavior & WindowResizer::kBoundsChange_Resizes) == 0 && in CanStartTwoFingerMove()
60 (component2_behavior & WindowResizer::kBoundsChange_Resizes) == 0; in CanStartTwoFingerMove()
66 return WindowResizer::GetBoundsChangeForWindowComponent( in CanStartOneFingerDrag()
94 WindowResizer* resizer);
100 WindowResizer* resizer() { return resizer_.get(); } in resizer()
111 scoped_ptr<WindowResizer> resizer_;
118 WindowResizer* resizer) in ScopedWindowResizer()
132 WindowResizer::kBoundsChange_Repositions; in IsMove()
[all …]
Ddrag_window_resizer.cc67 WindowResizer* next_window_resizer, in Create()
145 DragWindowResizer::DragWindowResizer(WindowResizer* next_window_resizer, in DragWindowResizer()
147 : WindowResizer(window_state), in DragWindowResizer()
Ddefault_window_resizer.h16 class ASH_EXPORT DefaultWindowResizer : public WindowResizer {
Ddefault_window_resizer.cc53 : WindowResizer(window_state), in DefaultWindowResizer()
Dtoplevel_window_event_handler.h31 class WindowResizer; variable
Dworkspace_controller_unittest.cc1063 scoped_ptr<WindowResizer> resizer(CreateWindowResizer( in TEST_F()
/external/chromium_org/ash/wm/panels/
Dpanel_window_resizer.h22 class ASH_EXPORT PanelWindowResizer : public WindowResizer {
29 static PanelWindowResizer* Create(WindowResizer* next_window_resizer,
42 PanelWindowResizer(WindowResizer* next_window_resizer,
65 scoped_ptr<WindowResizer> next_window_resizer_;
Dpanel_window_resizer.cc47 PanelWindowResizer::Create(WindowResizer* next_window_resizer, in Create()
85 if (!(details().bounds_change & WindowResizer::kBoundsChange_Resizes)) { in Drag()
98 !(details().bounds_change & WindowResizer::kBoundsChange_Resizes)) { in Drag()
115 PanelWindowResizer::PanelWindowResizer(WindowResizer* next_window_resizer, in PanelWindowResizer()
117 : WindowResizer(window_state), in PanelWindowResizer()
Dpanel_window_resizer_unittest.cc53 gfx::Point CalculateDragPoint(const WindowResizer& resizer, in CalculateDragPoint()
179 scoped_ptr<WindowResizer> resizer_;
/external/chromium_org/ash/wm/dock/
Ddocked_window_resizer.h28 class ASH_EXPORT DockedWindowResizer : public WindowResizer {
35 static DockedWindowResizer* Create(WindowResizer* next_window_resizer,
47 DockedWindowResizer(WindowResizer* next_window_resizer,
75 scoped_ptr<WindowResizer> next_window_resizer_;
Ddocked_window_resizer.cc57 DockedWindowResizer::Create(WindowResizer* next_window_resizer, in Create()
130 DockedWindowResizer::DockedWindowResizer(WindowResizer* next_window_resizer, in DockedWindowResizer()
132 : WindowResizer(window_state), in DockedWindowResizer()
185 (details().bounds_change & WindowResizer::kBoundsChange_Resizes)) { in StartedDragging()
220 (details().bounds_change & WindowResizer::kBoundsChange_Resizes) != 0; in FinishedDragging()
Ddocked_window_layout_manager.cc473 WindowResizer::kBoundsChange_Resizes)) { in StartDragging()
486 WindowResizer::kBoundsChange_Resizes) && in StartDragging()
488 WindowResizer::kBoundsChangeDirection_Horizontal)) { in StartDragging()
Ddocked_window_layout_manager_unittest.cc107 static WindowResizer* CreateSomeWindowResizer( in CreateSomeWindowResizer()
212 scoped_ptr<WindowResizer> resizer_;
Ddocked_window_resizer_unittest.cc115 static WindowResizer* CreateSomeWindowResizer( in CreateSomeWindowResizer()
249 scoped_ptr<WindowResizer> resizer_;
/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer_unittest.cc142 WindowResizer* CreateResizerForTest( in CreateResizerForTest()
146 WindowResizer* resizer = CreateWindowResizer( in CreateResizerForTest()
170 gfx::Point CalculateDragPoint(const WindowResizer& resizer, in CalculateDragPoint()
566 scoped_ptr<WindowResizer> resizer(CreateResizerForTest( in TEST_F()
583 scoped_ptr<WindowResizer> resizer(CreateResizerForTest( in TEST_F()
612 scoped_ptr<WindowResizer> resizer(CreateResizerForTest( in TEST_F()
634 scoped_ptr<WindowResizer> resizer(CreateResizerForTest( in TEST_F()
655 scoped_ptr<WindowResizer> resizer(CreateResizerForTest( in TEST_F()
688 scoped_ptr<WindowResizer> resizer(CreateResizerForTest( in TEST_F()
716 scoped_ptr<WindowResizer> resizer(CreateResizerForTest( in TEST_F()
[all …]
Dworkspace_window_resizer.cc45 scoped_ptr<WindowResizer> CreateWindowResizer( in CreateWindowResizer()
56 return scoped_ptr<WindowResizer>(); in CreateWindowResizer()
60 return scoped_ptr<WindowResizer>(); in CreateWindowResizer()
73 WindowResizer* window_resizer = NULL; in CreateWindowResizer()
76 return scoped_ptr<WindowResizer>(); in CreateWindowResizer()
78 int bounds_change = WindowResizer::GetBoundsChangeForWindowComponent( in CreateWindowResizer()
80 if (bounds_change == WindowResizer::kBoundsChangeDirection_None) in CreateWindowResizer()
81 return scoped_ptr<WindowResizer>(); in CreateWindowResizer()
104 return make_scoped_ptr<WindowResizer>(window_resizer); in CreateWindowResizer()
515 : WindowResizer(window_state), in WorkspaceWindowResizer()
Dworkspace_window_resizer.h33 class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
/external/chromium_org/ash/shelf/
Dshelf_window_watcher_unittest.cc227 scoped_ptr<WindowResizer> resizer( in TEST_F()
268 scoped_ptr<WindowResizer> resizer( in TEST_F()