HomeSort by relevance Sort by last modified time
    Searched refs:LengthSquared (Results 1 - 22 of 22) sorted by null

  /external/chromium_org/ui/gfx/geometry/
vector2d.cc 27 int64 Vector2d::LengthSquared() const {
32 return static_cast<float>(std::sqrt(static_cast<double>(LengthSquared())));
vector2d_f.cc 31 double Vector2dF::LengthSquared() const {
36 return static_cast<float>(std::sqrt(LengthSquared()));
vector3d_f.cc 51 double Vector3dF::LengthSquared() const {
57 return static_cast<float>(std::sqrt(LengthSquared()));
vector2d.h 57 int64 LengthSquared() const;
vector2d_f.h 53 double LengthSquared() const;
vector3d_f.h 61 double LengthSquared() const;
vector2d_unittest.cc 169 EXPECT_EQ(static_cast<float>(length_squared), vector.LengthSquared());
193 EXPECT_DOUBLE_EQ(length_squared, vector.LengthSquared());
matrix3_unittest.cc 140 EXPECT_NEAR(0, expected_eigv.LengthSquared(), 0.00001f);
vector3d_unittest.cc 174 EXPECT_DOUBLE_EQ(length_squared, vector.LengthSquared());
r_tree_base.cc 293 return (a_center - p_center).LengthSquared() <
294 (b_center - p_center).LengthSquared();
  /external/chromium_org/ui/events/gesture_detection/
gesture_touch_uma_histogram.cc 33 gfx::Point(event.GetX(), event.GetY())).LengthSquared();
  /external/chromium_org/content/browser/renderer_host/input/
touch_handle.cc 148 (touch_move_position - touch_down_position_).LengthSquared() <
187 (position_ - fade_start_position_).LengthSquared() / kFadeDistanceSquared;
touch_selection_controller.cc 130 if ((event_pos - GetStartPosition()).LengthSquared() <=
131 (event_pos - GetEndPosition()).LengthSquared())
touch_event_queue.cc 55 return (gfx::PointF(event.touches[0].position) - anchor).LengthSquared() >
255 if ((position - touch_sequence_start_position_).LengthSquared() >
  /external/chromium_org/content/renderer/input/
input_handler_proxy.cc 83 if (scroll_velocity.LengthSquared() < kMinBoostTouchScrollSpeedSquare)
100 if (current_fling_velocity.LengthSquared() < kMinBoostFlingSpeedSquare)
103 if (new_fling_velocity.LengthSquared() < kMinBoostFlingSpeedSquare)
471 if (current_fling_velocity_.LengthSquared() < kMinBoostFlingSpeedSquare)
  /external/chromium_org/ash/autoclick/
autoclick_controller.cc 142 if (delta.LengthSquared() >= kMovementThreshold * kMovementThreshold) {
  /external/chromium_org/ash/touch/
touch_uma.cc 173 if (distance.LengthSquared() < kLongStationaryTouchDistanceSquared) {
  /external/chromium_org/ui/events/gestures/
gesture_recognizer_impl.cc 110 // Relative distance is all we need here, so LengthSquared() is
112 float distance_squared = (point - location).LengthSquared();
  /external/chromium_org/ash/display/
display_controller.cc 534 // using the LengthSquared() is cheaper than Length().
536 int64 distance_squared = (center - point_in_screen).LengthSquared();
  /external/chromium_org/cc/base/
math_util.cc 687 gfx::DotProduct(source, destination) / destination.LengthSquared();
  /cts/suite/cts/deviceTests/browserbench/assets/octane/
box2d.js 73 function(){};W.Distance=function(b,e,f){++W.b2_gjkCalls;var m=f.proxyA,r=f.proxyB,s=f.transformA,v=f.transformB,t=W.s_simplex;t.ReadCache(e,m,s,r,v);var x=t.m_vertices,C=W.s_saveA,J=W.s_saveB,T=0;t.GetClosestPoint().LengthSquared();for(var P=0,X,$=0;$<20;){T=t.m_count;for(P=0;P<T;P++){C[P]=x[P].indexA;J[P]=x[P].indexB}switch(t.m_count){case 1:break;case 2:t.Solve2();break;case 3:t.Solve3();break;default:y.b2Assert(false)}if(t.m_count==3)break;X=t.GetClosestPoint();X.LengthSquared();P=t.GetSearchDirection();
74 if(P.LengthSquared()<Number.MIN_VALUE*Number.MIN_VALUE)break;X=x[t.m_count];X.indexA=m.GetSupport(w.MulTMV(s.R,P.GetNegative()));X.wA=w.MulX(s,m.GetVertex(X.indexA));X.indexB=r.GetSupport(w.MulTMV(v.R,P));X.wB=w.MulX(v,r.GetVertex(X.indexB));X.w=w.SubtractVV(X.wB,X.wA);++$;++W.b2_gjkIters;var ba=false;for(P=0;P<T;P++)if(X.indexA==C[P]&&X.indexB==J[P]){ba=true;break}if(ba)break;++t.m_count}W.b2_gjkMaxIters=w.Max(W.b2_gjkMaxIters,$);t.GetWitnessPoints(b.pointA,b.pointB);b.distance=w.SubtractVV(b.pointA,
    [all...]
  /external/chromium_org/cc/trees/
layer_tree_host_impl_unittest.cc     [all...]

Completed in 3753 milliseconds