Home
last modified time | relevance | path

Searched refs:MagnetismEdgeMatcher (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ash/wm/workspace/
Dmagnetism_matcher.cc53 MagnetismEdgeMatcher::MagnetismEdgeMatcher(const gfx::Rect& bounds, in MagnetismEdgeMatcher() function in ash::MagnetismEdgeMatcher
60 MagnetismEdgeMatcher::~MagnetismEdgeMatcher() { in ~MagnetismEdgeMatcher()
63 bool MagnetismEdgeMatcher::ShouldAttach(const gfx::Rect& bounds) { in ShouldAttach()
88 void MagnetismEdgeMatcher::UpdateRanges(const Range& range) { in UpdateRanges()
126 matchers_.push_back(new MagnetismEdgeMatcher(bounds, MAGNETISM_EDGE_TOP)); in MagnetismMatcher()
128 matchers_.push_back(new MagnetismEdgeMatcher(bounds, MAGNETISM_EDGE_LEFT)); in MagnetismMatcher()
130 matchers_.push_back(new MagnetismEdgeMatcher(bounds, in MagnetismMatcher()
134 matchers_.push_back(new MagnetismEdgeMatcher(bounds, MAGNETISM_EDGE_RIGHT)); in MagnetismMatcher()
Dmagnetism_matcher.h35 class MagnetismEdgeMatcher {
37 MagnetismEdgeMatcher(const gfx::Rect& bounds, MagnetismEdge edge);
38 ~MagnetismEdgeMatcher();
128 DISALLOW_COPY_AND_ASSIGN(MagnetismEdgeMatcher);
182 ScopedVector<MagnetismEdgeMatcher> matchers_;