Home
last modified time | relevance | path

Searched refs:MAGNETISM_EDGE_LEFT (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ash/wm/workspace/
Dmagnetism_matcher.h22 MAGNETISM_EDGE_LEFT = 1 << 1, enumerator
28 MAGNETISM_EDGE_TOP | MAGNETISM_EDGE_LEFT | MAGNETISM_EDGE_BOTTOM |
62 case MAGNETISM_EDGE_LEFT: in GetPrimaryCoordinate()
79 case MAGNETISM_EDGE_LEFT: in FlipEdge()
82 return MAGNETISM_EDGE_LEFT; in FlipEdge()
85 return MAGNETISM_EDGE_LEFT; in FlipEdge()
93 case MAGNETISM_EDGE_LEFT: in GetPrimaryRange()
106 case MAGNETISM_EDGE_LEFT: in GetSecondaryRange()
Dmagnetism_matcher.cc32 secondary_as_magnetism_edge = MAGNETISM_EDGE_LEFT; in CanMatchSecondaryEdge()
38 case MAGNETISM_EDGE_LEFT: in CanMatchSecondaryEdge()
129 if (edges & MAGNETISM_EDGE_LEFT) in MagnetismMatcher()
130 matchers_.push_back(new MagnetismEdgeMatcher(bounds, MAGNETISM_EDGE_LEFT)); in MagnetismMatcher()
168 if (edge == MAGNETISM_EDGE_LEFT || edge == MAGNETISM_EDGE_RIGHT) { in AttachToSecondaryEdge()
Dmagnetism_matcher_unittest.cc26 EXPECT_EQ(MAGNETISM_EDGE_LEFT, edge.primary_edge); in TEST()
33 EXPECT_EQ(MAGNETISM_EDGE_LEFT, edge.primary_edge); in TEST()
165 EXPECT_EQ(MAGNETISM_EDGE_LEFT, edge.primary_edge); in TEST()
Dworkspace_window_resizer.cc158 case MAGNETISM_EDGE_LEFT: in OriginForMagneticAttach()
175 case MAGNETISM_EDGE_LEFT: in OriginForMagneticAttach()
197 case MAGNETISM_EDGE_LEFT: in BoundsForMagneticResizeAttach()
213 case MAGNETISM_EDGE_LEFT: in BoundsForMagneticResizeAttach()
239 return MAGNETISM_EDGE_LEFT | MAGNETISM_EDGE_TOP; in WindowComponentToMagneticEdge()
243 return MAGNETISM_EDGE_LEFT | MAGNETISM_EDGE_BOTTOM; in WindowComponentToMagneticEdge()
253 return MAGNETISM_EDGE_LEFT; in WindowComponentToMagneticEdge()
882 if (edges & MAGNETISM_EDGE_LEFT && in StickToWorkAreaOnResize()