LengthSquared 142 ash/autoclick/autoclick_controller.cc if (delta.LengthSquared() >= kMovementThreshold * kMovementThreshold) { LengthSquared 500 ash/display/display_controller.cc int64 distance_squared = (center - point_in_screen).LengthSquared(); LengthSquared 330 ash/touch/touch_uma.cc if (distance.LengthSquared() < kLongStationaryTouchDistanceSquared) { LengthSquared 365 ash/touch/touch_uma.cc event.root_location()).LengthSquared(); LengthSquared 526 cc/base/math_util.cc gfx::DotProduct(source, destination) / destination.LengthSquared(); LengthSquared 2058 cc/trees/layer_tree_host_impl_unittest.cc inner_viewport_scroll_layer->FixedContainerSizeDelta()).LengthSquared(), LengthSquared 194 content/browser/renderer_host/input/touch_event_queue.cc if ((position - touch_sequence_start_position_).LengthSquared() > LengthSquared 94 ui/app_list/views/speech_view.cc return (rect.origin() - local_bounds.CenterPoint()).LengthSquared() < LengthSquared 99 ui/events/gestures/gesture_recognizer_impl.cc int64 distance_squared = delta.LengthSquared(); LengthSquared 140 ui/gfx/geometry/matrix3_unittest.cc EXPECT_NEAR(0, expected_eigv.LengthSquared(), 0.00001f); LengthSquared 32 ui/gfx/geometry/vector2d.cc return static_cast<float>(std::sqrt(static_cast<double>(LengthSquared()))); LengthSquared 56 ui/gfx/geometry/vector2d.h int64 LengthSquared() const; LengthSquared 36 ui/gfx/geometry/vector2d_f.cc return static_cast<float>(std::sqrt(LengthSquared())); LengthSquared 52 ui/gfx/geometry/vector2d_f.h double LengthSquared() const; LengthSquared 169 ui/gfx/geometry/vector2d_unittest.cc EXPECT_EQ(static_cast<float>(length_squared), vector.LengthSquared()); LengthSquared 193 ui/gfx/geometry/vector2d_unittest.cc EXPECT_DOUBLE_EQ(length_squared, vector.LengthSquared()); LengthSquared 57 ui/gfx/geometry/vector3d_f.cc return static_cast<float>(std::sqrt(LengthSquared())); LengthSquared 60 ui/gfx/geometry/vector3d_f.h double LengthSquared() const; LengthSquared 174 ui/gfx/geometry/vector3d_unittest.cc EXPECT_DOUBLE_EQ(length_squared, vector.LengthSquared());