Searched refs:distance_from_edge (Results 1 – 1 of 1) sorted by relevance
120 bool ShouldStickToEdge(int distance_from_edge, int sticky_size) { in ShouldStickToEdge() argument124 return distance_from_edge < 0 && in ShouldStickToEdge()125 distance_from_edge > -sticky_size; in ShouldStickToEdge()127 return distance_from_edge < sticky_size && in ShouldStickToEdge()128 distance_from_edge > -sticky_size * 2; in ShouldStickToEdge()