/external/chromium_org/ash/wm/ |
D | window_resizer.cc | 41 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 …]
|
D | drag_details.cc | 16 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()
|
D | window_resizer.h | 25 class ASH_EXPORT WindowResizer { 37 WindowResizer(); 38 WindowResizer(wm::WindowState* window_state); 39 virtual ~WindowResizer(); 100 ASH_EXPORT scoped_ptr<WindowResizer> CreateWindowResizer(
|
D | drag_window_resizer_unittest.cc | 100 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 …]
|
D | drag_window_resizer.h | 20 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_;
|
D | toplevel_window_event_handler.cc | 56 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 …]
|
D | drag_window_resizer.cc | 67 WindowResizer* next_window_resizer, in Create() 145 DragWindowResizer::DragWindowResizer(WindowResizer* next_window_resizer, in DragWindowResizer() 147 : WindowResizer(window_state), in DragWindowResizer()
|
D | default_window_resizer.h | 16 class ASH_EXPORT DefaultWindowResizer : public WindowResizer {
|
D | default_window_resizer.cc | 53 : WindowResizer(window_state), in DefaultWindowResizer()
|
D | toplevel_window_event_handler.h | 31 class WindowResizer; variable
|
D | workspace_controller_unittest.cc | 1063 scoped_ptr<WindowResizer> resizer(CreateWindowResizer( in TEST_F()
|
/external/chromium_org/ash/wm/panels/ |
D | panel_window_resizer.h | 22 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_;
|
D | panel_window_resizer.cc | 47 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()
|
D | panel_window_resizer_unittest.cc | 53 gfx::Point CalculateDragPoint(const WindowResizer& resizer, in CalculateDragPoint() 179 scoped_ptr<WindowResizer> resizer_;
|
/external/chromium_org/ash/wm/dock/ |
D | docked_window_resizer.h | 28 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_;
|
D | docked_window_resizer.cc | 57 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()
|
D | docked_window_layout_manager.cc | 473 WindowResizer::kBoundsChange_Resizes)) { in StartDragging() 486 WindowResizer::kBoundsChange_Resizes) && in StartDragging() 488 WindowResizer::kBoundsChangeDirection_Horizontal)) { in StartDragging()
|
D | docked_window_layout_manager_unittest.cc | 107 static WindowResizer* CreateSomeWindowResizer( in CreateSomeWindowResizer() 212 scoped_ptr<WindowResizer> resizer_;
|
D | docked_window_resizer_unittest.cc | 115 static WindowResizer* CreateSomeWindowResizer( in CreateSomeWindowResizer() 249 scoped_ptr<WindowResizer> resizer_;
|
/external/chromium_org/ash/wm/workspace/ |
D | workspace_window_resizer_unittest.cc | 142 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 …]
|
D | workspace_window_resizer.cc | 45 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()
|
D | workspace_window_resizer.h | 33 class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
|
/external/chromium_org/ash/shelf/ |
D | shelf_window_watcher_unittest.cc | 227 scoped_ptr<WindowResizer> resizer( in TEST_F() 268 scoped_ptr<WindowResizer> resizer( in TEST_F()
|