Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DMotionPredictor.cpp81 std::array<float, 4> newXDerivatives; in pushSample() local
105 newXDerivatives[i] = xPos; in pushSample()
108 newXDerivatives[i] = newXDerivatives[i - 1] - mXDerivatives[i - 1]; in pushSample()
112 newXDerivatives[i] = newXDerivatives[i] / dt; in pushSample()
118 std::swap(newXDerivatives, mXDerivatives); in pushSample()