Home
last modified time | relevance | path

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

/external/chromium_org/ui/events/gestures/
Dgesture_recognizer_impl.cc103 int64 closest_distance_squared = 0; in GetTargetForLocation() local
116 if (!closest_point || distance_squared < closest_distance_squared) { in GetTargetForLocation()
118 closest_distance_squared = distance_squared; in GetTargetForLocation()
123 if (closest_distance_squared < max_distance * max_distance && closest_point) in GetTargetForLocation()
130 float closest_distance_squared = std::numeric_limits<float>::infinity(); in GetTargetForLocation() local
144 if (distance_squared < closest_distance_squared) { in GetTargetForLocation()
147 closest_distance_squared = distance_squared; in GetTargetForLocation()
152 if (closest_distance_squared < max_distance * max_distance) in GetTargetForLocation()
/external/chromium_org/ash/display/
Ddisplay_controller.cc509 int64 closest_distance_squared = -1; in EnsurePointerInDisplays() local
532 if (closest_distance_squared < 0 || in EnsurePointerInDisplays()
533 closest_distance_squared > distance_squared) { in EnsurePointerInDisplays()
541 closest_distance_squared = distance_squared; in EnsurePointerInDisplays()