OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GetXVelocity
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/ui/events/gesture_detection/
velocity_tracker_state.h
30
float
GetXVelocity
(int32_t id) const;
velocity_tracker_unittest.cc
101
EXPECT_EQ(0, state.
GetXVelocity
(0));
109
EXPECT_NEAR(v.x(), state.
GetXVelocity
(0), kEpsilson * v.x());
113
EXPECT_NEAR(v.x(), state.
GetXVelocity
(-1), kEpsilson * v.x());
117
EXPECT_EQ(0, state.
GetXVelocity
(1));
119
EXPECT_EQ(0, state.
GetXVelocity
(7));
135
EXPECT_NEAR(-100, state.
GetXVelocity
(0), kEpsilson);
139
EXPECT_NEAR(-1000, state.
GetXVelocity
(0), kEpsilson);
velocity_tracker_state.cc
67
float VelocityTrackerState::
GetXVelocity
(int32_t id) const {
gesture_detector.cc
252
const float vx1 = velocity_tracker_.
GetXVelocity
(id1);
261
const float vx2 = velocity_tracker_.
GetXVelocity
(id2);
399
const float velocity_x = velocity_tracker_.
GetXVelocity
(pointer_id);
Completed in 118 milliseconds