Home
last modified time | relevance | path

Searched refs:motions (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp144 const std::vector<std::pair<std::chrono::nanoseconds, float>>& motions) { in createAxisScrollMotionEventStream() argument
146 for (const auto& [timeStamp, value] : motions) { in createAxisScrollMotionEventStream()
172 const std::vector<PlanarMotionEventEntry>& motions) { in createTouchMotionEventStream() argument
173 if (motions.empty()) { in createTouchMotionEventStream()
178 for (size_t i = 0; i < motions.size(); i++) { in createTouchMotionEventStream()
179 const PlanarMotionEventEntry& entry = motions[i]; in createTouchMotionEventStream()
187 } else if ((i == motions.size() - 1) && pointerCount == 1) { in createTouchMotionEventStream()
190 const PlanarMotionEventEntry& previousEntry = motions[i-1]; in createTouchMotionEventStream()
191 const PlanarMotionEventEntry& nextEntry = motions[i+1]; in createTouchMotionEventStream()
245 const std::vector<PlanarMotionEventEntry>& motions, int32_t axis, uint32_t pointerId) { in computePlanarVelocity() argument
[all …]