Searched refs:GetPrimaryCoordinate (Results 1 – 2 of 2) sorted by relevance
67 if (IsCloseEnough(GetPrimaryCoordinate(bounds_, edge_), in ShouldAttach()68 GetPrimaryCoordinate(bounds, FlipEdge(edge_)))) { in ShouldAttach()81 if (primary_range.first <= GetPrimaryCoordinate(bounds_, edge_) && in ShouldAttach()82 primary_range.second >= GetPrimaryCoordinate(bounds_, edge_)) { in ShouldAttach()
57 static int GetPrimaryCoordinate(const gfx::Rect& bounds, MagnetismEdge edge) { in GetPrimaryCoordinate() function