/external/chromium_org/ui/gfx/geometry/ |
D | vector2d.cc | 27 int64 Vector2d::LengthSquared() const { in LengthSquared() function in gfx::Vector2d 32 return static_cast<float>(std::sqrt(static_cast<double>(LengthSquared()))); in Length()
|
D | vector2d_f.cc | 31 double Vector2dF::LengthSquared() const { in LengthSquared() function in gfx::Vector2dF 36 return static_cast<float>(std::sqrt(LengthSquared())); in Length()
|
D | vector3d_f.cc | 51 double Vector3dF::LengthSquared() const { in LengthSquared() function in gfx::Vector3dF 57 return static_cast<float>(std::sqrt(LengthSquared())); in Length()
|
D | vector2d.h | 57 int64 LengthSquared() const;
|
D | vector2d_unittest.cc | 169 EXPECT_EQ(static_cast<float>(length_squared), vector.LengthSquared()); in TEST() 193 EXPECT_DOUBLE_EQ(length_squared, vector.LengthSquared()); in TEST()
|
D | vector2d_f.h | 53 double LengthSquared() const;
|
D | vector3d_f.h | 61 double LengthSquared() const;
|
D | matrix3_unittest.cc | 140 EXPECT_NEAR(0, expected_eigv.LengthSquared(), 0.00001f); in TEST()
|
D | vector3d_unittest.cc | 174 EXPECT_DOUBLE_EQ(length_squared, vector.LengthSquared()); in TEST()
|
D | r_tree_base.cc | 293 return (a_center - p_center).LengthSquared() < in CompareCenterDistanceFromParent() 294 (b_center - p_center).LengthSquared(); in CompareCenterDistanceFromParent()
|
/external/chromium_org/content/browser/renderer_host/input/ |
D | touch_handle.cc | 148 (touch_move_position - touch_down_position_).LengthSquared() < in WillHandleTouchEvent() 187 (position_ - fade_start_position_).LengthSquared() / kFadeDistanceSquared; in Animate()
|
D | touch_selection_controller.cc | 130 if ((event_pos - GetStartPosition()).LengthSquared() <= in WillHandleTouchEvent() 131 (event_pos - GetEndPosition()).LengthSquared()) in WillHandleTouchEvent()
|
D | touch_event_queue.cc | 55 return (gfx::PointF(event.touches[0].position) - anchor).LengthSquared() > in OutsideApplicationSlopRegion() 255 if ((position - touch_sequence_start_position_).LengthSquared() > in FilterEvent()
|
/external/chromium_org/content/renderer/input/ |
D | input_handler_proxy.cc | 83 if (scroll_velocity.LengthSquared() < kMinBoostTouchScrollSpeedSquare) in ShouldSuppressScrollForFlingBoosting() 100 if (current_fling_velocity.LengthSquared() < kMinBoostFlingSpeedSquare) in ShouldBoostFling() 103 if (new_fling_velocity.LengthSquared() < kMinBoostFlingSpeedSquare) in ShouldBoostFling() 471 if (current_fling_velocity_.LengthSquared() < kMinBoostFlingSpeedSquare) in FilterInputEventForFlingBoosting()
|
/external/chromium_org/ui/events/gesture_detection/ |
D | gesture_touch_uma_histogram.cc | 33 gfx::Point(event.GetX(), event.GetY())).LengthSquared(); in RecordTouchEvent()
|
/external/chromium_org/ash/autoclick/ |
D | autoclick_controller.cc | 142 if (delta.LengthSquared() >= kMovementThreshold * kMovementThreshold) { in OnMouseEvent()
|
/external/chromium_org/ui/events/gestures/ |
D | gesture_recognizer_impl.cc | 112 float distance_squared = (point - location).LengthSquared(); in GetTargetForLocation()
|
/external/chromium_org/ash/touch/ |
D | touch_uma.cc | 173 if (distance.LengthSquared() < kLongStationaryTouchDistanceSquared) { in RecordTouchEvent()
|
/external/chromium_org/ash/display/ |
D | display_controller.cc | 536 int64 distance_squared = (center - point_in_screen).LengthSquared(); in EnsurePointerInDisplays()
|
/external/chromium_org/cc/base/ |
D | math_util.cc | 687 gfx::DotProduct(source, destination) / destination.LengthSquared(); in ProjectVector()
|
/external/chromium_org/cc/trees/ |
D | layer_tree_host_impl_unittest.cc | 2373 inner_viewport_scroll_layer->FixedContainerSizeDelta()).LengthSquared(), in TEST_F()
|