Searched refs:GetYVelocity (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/ui/events/gesture_detection/
H A Dvelocity_tracker_unittest.cc102 EXPECT_EQ(0, state.GetYVelocity(0));
110 EXPECT_NEAR(v.y(), state.GetYVelocity(0), kEpsilson * v.y());
114 EXPECT_NEAR(v.y(), state.GetYVelocity(-1), kEpsilson * v.y());
118 EXPECT_EQ(0, state.GetYVelocity(1));
120 EXPECT_EQ(0, state.GetYVelocity(7));
136 EXPECT_NEAR(100, state.GetYVelocity(0), kEpsilson);
140 EXPECT_NEAR(1000, state.GetYVelocity(0), kEpsilson);
166 float vOldY = state.GetYVelocity(0);
175 float vCurrentY = state.GetYVelocity(0);
187 vCurrentY = state.GetYVelocity(
[all...]
H A Dvelocity_tracker_state.h31 float GetYVelocity(int32_t id) const;
H A Dvelocity_tracker_state.cc73 float VelocityTrackerState::GetYVelocity(int32_t id) const { function in class:ui::VelocityTrackerState
H A Dgesture_detector.cc253 const float vy1 = velocity_tracker_.GetYVelocity(id1);
262 const float vy2 = velocity_tracker_.GetYVelocity(id2);
398 const float velocity_y = velocity_tracker_.GetYVelocity(pointer_id);

Completed in 339 milliseconds