Searched refs:closest_distance_squared (Results 1 – 2 of 2) sorted by relevance
83 int64 closest_distance_squared = 0; in GetTargetForLocation() local94 if (!closest_point || distance_squared < closest_distance_squared) { in GetTargetForLocation()96 closest_distance_squared = distance_squared; in GetTargetForLocation()104 if (closest_distance_squared < max_distance * max_distance && closest_point) in GetTargetForLocation()
499 int64 closest_distance_squared = -1; in EnsurePointerInDisplays() local522 if (closest_distance_squared < 0 || in EnsurePointerInDisplays()523 closest_distance_squared > distance_squared) { in EnsurePointerInDisplays()531 closest_distance_squared = distance_squared; in EnsurePointerInDisplays()