DistanceSquaredFromCenterToPoint 25 ui/views/rect_based_targeting_utils.h VIEWS_EXPORT int DistanceSquaredFromCenterToPoint(const gfx::Point& point, DistanceSquaredFromCenterToPoint 51 ui/views/rect_based_targeting_utils_unittest.cc TEST(RectBasedTargetingUtils, DistanceSquaredFromCenterToPoint) { DistanceSquaredFromCenterToPoint 61 ui/views/rect_based_targeting_utils_unittest.cc EXPECT_EQ(0, DistanceSquaredFromCenterToPoint(point_1, rect_1)); DistanceSquaredFromCenterToPoint 62 ui/views/rect_based_targeting_utils_unittest.cc EXPECT_EQ(1225, DistanceSquaredFromCenterToPoint(point_2, rect_2)); DistanceSquaredFromCenterToPoint 63 ui/views/rect_based_targeting_utils_unittest.cc EXPECT_EQ(3025, DistanceSquaredFromCenterToPoint(point_1, rect_2)); DistanceSquaredFromCenterToPoint 64 ui/views/rect_based_targeting_utils_unittest.cc EXPECT_EQ(1025, DistanceSquaredFromCenterToPoint(point_2, rect_3)); DistanceSquaredFromCenterToPoint 65 ui/views/rect_based_targeting_utils_unittest.cc EXPECT_EQ(2501, DistanceSquaredFromCenterToPoint(point_3, rect_2)); DistanceSquaredFromCenterToPoint 66 ui/views/rect_based_targeting_utils_unittest.cc EXPECT_EQ(136, DistanceSquaredFromCenterToPoint(point_3, rect_1)); DistanceSquaredFromCenterToPoint 67 ui/views/rect_based_targeting_utils_unittest.cc EXPECT_EQ(980, DistanceSquaredFromCenterToPoint(point_4, rect_3)); DistanceSquaredFromCenterToPoint 852 ui/views/view.cc int cur_dist = views::DistanceSquaredFromCenterToPoint(touch_center, DistanceSquaredFromCenterToPoint 875 ui/views/view.cc int cur_dist = views::DistanceSquaredFromCenterToPoint(touch_center,