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

  /external/chromium_org/ash/wm/workspace/
magnetism_matcher.cc 15 return abs(a - b) <= MagnetismMatcher::kMagneticDistance;
118 // MagnetismMatcher ------------------------------------------------------------
121 const int MagnetismMatcher::kMagneticDistance = 8;
123 MagnetismMatcher::MagnetismMatcher(const gfx::Rect& bounds, uint32 edges)
137 MagnetismMatcher::~MagnetismMatcher() {
140 bool MagnetismMatcher::ShouldAttach(const gfx::Rect& bounds,
153 bool MagnetismMatcher::AreEdgesObscured() const {
161 void MagnetismMatcher::AttachToSecondaryEdge
    [all...]
magnetism_matcher.h 31 // 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 {
162 MagnetismMatcher(const gfx::Rect& bounds, uint32 edges);
163 ~MagnetismMatcher();
184 DISALLOW_COPY_AND_ASSIGN(MagnetismMatcher);

Completed in 40 milliseconds