Searched defs:yvel (Results 1 - 7 of 7) sorted by relevance

/frameworks/native/include/input/
H A DVelocityTracker.h216 float ypos, yvel, yaccel; member in struct:android::IntegratingVelocityTrackerStrategy::State
/frameworks/base/core/java/android/widget/
H A DScroller.java557 public boolean isScrollingInDirection(float xvel, float yvel) { argument
559 Math.signum(yvel) == Math.signum(mFinalY - mStartY);
H A DOverScroller.java534 public boolean isScrollingInDirection(float xvel, float yvel) { argument
538 Math.signum(yvel) == Math.signum(dy);
/frameworks/native/libs/input/
H A DVelocityTracker.cpp749 state.yvel = 0;
766 float yvel = (ypos - state.ypos) / dt; local
769 state.yvel = yvel;
775 state.yvel += (yvel - state.yvel) * alpha;
778 float yaccel = (yvel - state.yvel) / dt;
788 state.yvel
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DViewDragHelper.java199 * @param yvel Y velocity of the pointer as it left the screen in pixels per second.
201 public void onViewReleased(View releasedChild, float xvel, float yvel) {} argument
580 * @param yvel Vertical velocity
583 private boolean forceSettleCapturedViewAt(int finalLeft, int finalTop, int xvel, int yvel) { argument
596 final int duration = computeSettleDuration(mCapturedView, dx, dy, xvel, yvel);
603 private int computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) { argument
605 yvel = clampMag(yvel, (int) mMinVelocity, (int) mMaxVelocity);
609 final int absYVel = Math.abs(yvel);
615 final float yweight = yvel !
765 dispatchViewReleased(float xvel, float yvel) argument
[all...]
H A DDrawerLayout.java1690 public void onViewReleased(View releasedChild, float xvel, float yvel) { argument
H A DSlidingPaneLayout.java1334 public void onViewReleased(View releasedChild, float xvel, float yvel) { argument

Completed in 156 milliseconds