Home
last modified time | relevance | path

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

/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer.cc120 bool ShouldStickToEdge(int distance_from_edge, int sticky_size) { in ShouldStickToEdge() function
847 if (ShouldStickToEdge(bounds->x() - left_edge, sticky_size)) { in StickToWorkAreaOnMove()
850 } else if (ShouldStickToEdge(right_edge - bounds->right(), sticky_size)) { in StickToWorkAreaOnMove()
854 if (ShouldStickToEdge(bounds->y() - top_edge, sticky_size)) { in StickToWorkAreaOnMove()
857 } else if (ShouldStickToEdge(bottom_edge - bounds->bottom(), sticky_size) && in StickToWorkAreaOnMove()
878 ShouldStickToEdge(bounds->y() - top_edge, sticky_size)) { in StickToWorkAreaOnResize()
883 ShouldStickToEdge(bounds->x() - left_edge, sticky_size)) { in StickToWorkAreaOnResize()
888 ShouldStickToEdge(bottom_edge - bounds->bottom(), sticky_size)) { in StickToWorkAreaOnResize()
892 ShouldStickToEdge(right_edge - bounds->right(), sticky_size)) { in StickToWorkAreaOnResize()