Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DVelocityTracker.cpp750 state.yvel = 0; in initState()
767 float yvel = (ypos - state.ypos) / dt; in updateState() local
770 state.yvel = yvel; in updateState()
776 state.yvel += (yvel - state.yvel) * alpha; in updateState()
779 float yaccel = (yvel - state.yvel) / dt; in updateState()
789 state.yvel += (state.yaccel * dt) * alpha; in updateState()
805 outEstimator->yCoeff[1] = state.yvel; in populateEstimator()
/frameworks/base/core/java/android/widget/
DScroller.java582 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
584 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
DOverScroller.java533 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
537 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()
DAbsListView.java3917 final float yvel = -vt.getYVelocity(activeId);
3919 if (Math.abs(yvel) >= mMinimumVelocity
3920 && scroller.isScrollingInDirection(0, yvel)) {
/frameworks/base/include/androidfw/
DVelocityTracker.h216 float ypos, yvel, yaccel; member