Home
last modified time | relevance | path

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

/external/chromium_org/ash/wm/workspace/
Dmagnetism_matcher.h23 MAGNETISM_EDGE_RIGHT = 1 << 3, enumerator
28 MAGNETISM_EDGE_RIGHT;
65 case MAGNETISM_EDGE_RIGHT: in GetPrimaryCoordinate()
79 return MAGNETISM_EDGE_RIGHT; in FlipEdge()
80 case MAGNETISM_EDGE_RIGHT: in FlipEdge()
93 case MAGNETISM_EDGE_RIGHT: in GetPrimaryRange()
106 case MAGNETISM_EDGE_RIGHT: in GetSecondaryRange()
Dmagnetism_matcher.cc32 secondary_as_magnetism_edge = MAGNETISM_EDGE_RIGHT; in CanMatchSecondaryEdge()
37 case MAGNETISM_EDGE_RIGHT: in CanMatchSecondaryEdge()
133 if (edges & MAGNETISM_EDGE_RIGHT) in MagnetismMatcher()
134 matchers_.push_back(new MagnetismEdgeMatcher(bounds, MAGNETISM_EDGE_RIGHT)); in MagnetismMatcher()
166 if (edge == MAGNETISM_EDGE_LEFT || edge == MAGNETISM_EDGE_RIGHT) { in AttachToSecondaryEdge()
Dworkspace_window_resizer.cc155 case MAGNETISM_EDGE_RIGHT: in OriginForMagneticAttach()
167 case MAGNETISM_EDGE_RIGHT: in OriginForMagneticAttach()
192 case MAGNETISM_EDGE_RIGHT: in BoundsForMagneticResizeAttach()
205 case MAGNETISM_EDGE_RIGHT: in BoundsForMagneticResizeAttach()
232 return MAGNETISM_EDGE_TOP | MAGNETISM_EDGE_RIGHT; in WindowComponentToMagneticEdge()
236 return MAGNETISM_EDGE_RIGHT | MAGNETISM_EDGE_BOTTOM; in WindowComponentToMagneticEdge()
242 return MAGNETISM_EDGE_RIGHT; in WindowComponentToMagneticEdge()
887 if (edges & MAGNETISM_EDGE_RIGHT && in StickToWorkAreaOnResize()
Dmagnetism_matcher_unittest.cc91 EXPECT_EQ(MAGNETISM_EDGE_RIGHT, edge.primary_edge); in TEST()
114 EXPECT_EQ(MAGNETISM_EDGE_RIGHT, edge.primary_edge); in TEST()