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.h21 MAGNETISM_EDGE_LEFT = 1 << 1, enumerator
27 MAGNETISM_EDGE_TOP | MAGNETISM_EDGE_LEFT | MAGNETISM_EDGE_BOTTOM |
61 case MAGNETISM_EDGE_LEFT: in GetPrimaryCoordinate()
78 case MAGNETISM_EDGE_LEFT: in FlipEdge()
81 return MAGNETISM_EDGE_LEFT; in FlipEdge()
84 return MAGNETISM_EDGE_LEFT; in FlipEdge()
92 case MAGNETISM_EDGE_LEFT: in GetPrimaryRange()
105 case MAGNETISM_EDGE_LEFT: in GetSecondaryRange()
Dmagnetism_matcher.cc30 secondary_as_magnetism_edge = MAGNETISM_EDGE_LEFT; in CanMatchSecondaryEdge()
36 case MAGNETISM_EDGE_LEFT: in CanMatchSecondaryEdge()
127 if (edges & MAGNETISM_EDGE_LEFT) in MagnetismMatcher()
128 matchers_.push_back(new MagnetismEdgeMatcher(bounds, MAGNETISM_EDGE_LEFT)); in MagnetismMatcher()
166 if (edge == MAGNETISM_EDGE_LEFT || edge == MAGNETISM_EDGE_RIGHT) { in AttachToSecondaryEdge()
Dmagnetism_matcher_unittest.cc25 EXPECT_EQ(MAGNETISM_EDGE_LEFT, edge.primary_edge); in TEST()
32 EXPECT_EQ(MAGNETISM_EDGE_LEFT, edge.primary_edge); in TEST()
164 EXPECT_EQ(MAGNETISM_EDGE_LEFT, edge.primary_edge); in TEST()
Dworkspace_window_resizer.cc149 case MAGNETISM_EDGE_LEFT: in OriginForMagneticAttach()
166 case MAGNETISM_EDGE_LEFT: in OriginForMagneticAttach()
188 case MAGNETISM_EDGE_LEFT: in BoundsForMagneticResizeAttach()
204 case MAGNETISM_EDGE_LEFT: in BoundsForMagneticResizeAttach()
230 return MAGNETISM_EDGE_LEFT | MAGNETISM_EDGE_TOP; in WindowComponentToMagneticEdge()
234 return MAGNETISM_EDGE_LEFT | MAGNETISM_EDGE_BOTTOM; in WindowComponentToMagneticEdge()
244 return MAGNETISM_EDGE_LEFT; in WindowComponentToMagneticEdge()
878 if (edges & MAGNETISM_EDGE_LEFT && in StickToWorkAreaOnResize()