Searched refs:yvel (Results 1 – 7 of 7) sorted by relevance
834 state.yvel = 0; in initState()851 float yvel = (ypos - state.ypos) / dt; in updateState() local854 state.yvel = yvel; in updateState()860 state.yvel += (yvel - state.yvel) * alpha; in updateState()863 float yaccel = (yvel - state.yvel) / dt; in updateState()873 state.yvel += (state.yaccel * dt) * alpha; in updateState()889 outEstimator->yCoeff[1] = state.yvel; in populateEstimator()
417 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent() local418 if (Math.abs(yvel) > mMinFlingVelocity) { in onTouchEvent()420 if (isDismissable() && yvel < 0) { in onTouchEvent()424 smoothScrollTo(yvel < 0 ? 0 : mCollapsibleHeight, yvel); in onTouchEvent()428 && yvel > 0 && mCollapseOffset > mCollapsibleHeight) { in onTouchEvent()429 smoothScrollTo(mCollapsibleHeight + mUncollapsibleHeight, yvel); in onTouchEvent()435 smoothScrollTo(yvel < 0 ? 0 : mCollapsibleHeight, yvel); in onTouchEvent()
2854 final float yvel = canScrollVertically in onTouchEvent() local2856 if (!((xvel != 0 || yvel != 0) && fling((int) xvel, (int) yvel))) { in onTouchEvent()
563 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument565 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
540 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument544 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()
4671 final float yvel = -vt.getYVelocity(activeId);4673 if (Math.abs(yvel) >= mMinimumVelocity4674 && scroller.isScrollingInDirection(0, yvel)) {
216 float ypos, yvel, yaccel; member