Searched defs:MagnetismMatcher (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/ash/wm/workspace/
H A Dmagnetism_matcher.cc15 return abs(a - b) <= MagnetismMatcher::kMagneticDistance;
118 // MagnetismMatcher ------------------------------------------------------------
121 const int MagnetismMatcher::kMagneticDistance = 8;
123 MagnetismMatcher::MagnetismMatcher(const gfx::Rect& bounds, uint32 edges) function in class:ash::MagnetismMatcher
137 MagnetismMatcher::~MagnetismMatcher() {
140 bool MagnetismMatcher::ShouldAttach(const gfx::Rect& bounds,
153 bool MagnetismMatcher::AreEdgesObscured() const {
161 void MagnetismMatcher
[all...]
H A Dmagnetism_matcher.h31 // shouldn't need to use this directly, instead use MagnetismMatcher which takes
150 // MagnetismMatcher is used to test if a window should snap to another window.
151 // To use MagnetismMatcher do the following:
157 class ASH_EXPORT MagnetismMatcher { class in namespace:ash
162 MagnetismMatcher(const gfx::Rect& bounds, uint32 edges);
163 ~MagnetismMatcher();
184 DISALLOW_COPY_AND_ASSIGN(MagnetismMatcher);

Completed in 184 milliseconds