HomeSort by relevance Sort by last modified time
    Searched refs:MagnetismMatcher (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/ash/wm/workspace/
magnetism_matcher_unittest.cc 14 const int distance = MagnetismMatcher::kMagneticDistance;
16 MagnetismMatcher matcher(initial_bounds, kAllMagnetismEdges);
39 const int distance = MagnetismMatcher::kMagneticDistance;
41 MagnetismMatcher matcher(initial_bounds, kAllMagnetismEdges);
69 const int distance = MagnetismMatcher::kMagneticDistance;
71 MagnetismMatcher matcher(initial_bounds, kAllMagnetismEdges);
98 const int distance = MagnetismMatcher::kMagneticDistance;
100 MagnetismMatcher matcher(initial_bounds, kAllMagnetismEdges);
121 const int distance = MagnetismMatcher::kMagneticDistance;
123 MagnetismMatcher matcher(initial_bounds, kAllMagnetismEdges)
    [all...]
magnetism_matcher.cc 17 return abs(a - b) <= MagnetismMatcher::kMagneticDistance;
120 // MagnetismMatcher ------------------------------------------------------------
123 const int MagnetismMatcher::kMagneticDistance = 8;
125 MagnetismMatcher::MagnetismMatcher(const gfx::Rect& bounds, uint32 edges)
139 MagnetismMatcher::~MagnetismMatcher() {
142 bool MagnetismMatcher::ShouldAttach(const gfx::Rect& bounds,
155 bool MagnetismMatcher::AreEdgesObscured() const {
163 void MagnetismMatcher::AttachToSecondaryEdge
    [all...]
magnetism_matcher.h 32 // shouldn't need to use this directly, instead use MagnetismMatcher which takes
151 // MagnetismMatcher is used to test if a window should snap to another window.
152 // To use MagnetismMatcher do the following:
158 class ASH_EXPORT MagnetismMatcher {
163 MagnetismMatcher(const gfx::Rect& bounds, uint32 edges);
164 ~MagnetismMatcher();
185 DISALLOW_COPY_AND_ASSIGN(MagnetismMatcher);
workspace_window_resizer.cc 742 MagnetismMatcher matcher(bounds_in_screen, edges);
    [all...]
  /external/chromium_org/ash/wm/dock/
docked_window_resizer.cc 179 // MagnetismMatcher is used for consistency.
180 const int kSnapToDockDistance = MagnetismMatcher::kMagneticDistance;

Completed in 38 milliseconds