Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DMotionPredictor.cpp82 std::array<float, 4> newYDerivatives; in pushSample() local
106 newYDerivatives[i] = yPos; in pushSample()
109 newYDerivatives[i] = newYDerivatives[i - 1] - mYDerivatives[i - 1]; in pushSample()
113 newYDerivatives[i] = newYDerivatives[i] / dt; in pushSample()
119 std::swap(newYDerivatives, mYDerivatives); in pushSample()