Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVelocityTracker.cpp750 state.xaccel = 0; in initState()
780 float xaccel = (xvel - state.xvel) / dt; in updateState() local
783 state.xaccel = xaccel; in updateState()
787 state.xaccel += (xaccel - state.xaccel) * alpha; in updateState()
790 state.xvel += (state.xaccel * dt) * alpha; in updateState()
805 outEstimator->xCoeff[2] = state.xaccel / 2; in populateEstimator()
/frameworks/native/include/input/
DVelocityTracker.h215 float xpos, xvel, xaccel; member