Searched refs:xvel (Results 1 – 6 of 6) sorted by relevance
831 state.xvel = 0; in initState()850 float xvel = (xpos - state.xpos) / dt; in updateState() local853 state.xvel = xvel; in updateState()859 state.xvel += (xvel - state.xvel) * alpha; in updateState()862 float xaccel = (xvel - state.xvel) / dt; in updateState()872 state.xvel += (state.xaccel * dt) * alpha; in updateState()886 outEstimator->xCoeff[1] = state.xvel; in populateEstimator()
563 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument564 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
1111 final float xvel = mVelocityTracker.getXVelocity(); in stopDrag() local1112 if (Math.abs(xvel) > mMinFlingVelocity) { in stopDrag()1113 newState = isLayoutRtl() ? (xvel < 0) : (xvel > 0); in stopDrag()
540 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument543 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()
215 float xpos, xvel, xaccel; member
2852 final float xvel = canScrollHorizontally in onTouchEvent() local2856 if (!((xvel != 0 || yvel != 0) && fling((int) xvel, (int) yvel))) { in onTouchEvent()