Searched refs:yvel (Results 1 - 11 of 11) sorted by relevance

/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 DSlidingPaneLayout.java1337 public void onViewReleased(View releasedChild, float xvel, float yvel) { argument
H A DDrawerLayout.java1870 public void onViewReleased(View releasedChild, float xvel, float yvel) { argument
/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/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java299 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId);
300 if (Math.abs(yvel) > mMinFlingVelocity) {
302 && yvel > 0 && mCollapseOffset > mCollapsibleHeight) {
303 smoothScrollTo(mCollapsibleHeight + mUncollapsibleHeight, yvel);
306 smoothScrollTo(yvel < 0 ? 0 : mCollapsibleHeight, yvel);
/frameworks/base/core/java/android/widget/
H A DScroller.java556 public boolean isScrollingInDirection(float xvel, float yvel) { argument
558 Math.signum(yvel) == Math.signum(mFinalY - mStartY);
H A DOverScroller.java531 public boolean isScrollingInDirection(float xvel, float yvel) { argument
535 Math.signum(yvel) == Math.signum(dy);
H A DAbsListView.java4406 final float yvel = -vt.getYVelocity(activeId);
4408 if (Math.abs(yvel) >= mMinimumVelocity
4409 && scroller.isScrollingInDirection(0, yvel)) {
/frameworks/native/include/input/
H A DVelocityTracker.h216 float ypos, yvel, yaccel; member in struct:android::IntegratingVelocityTrackerStrategy::State
/frameworks/support/design/src/android/support/design/widget/
H A DSwipeDismissBehavior.java218 public void onViewReleased(View child, float xvel, float yvel) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java2366 final float yvel = canScrollVertically ?
2368 if (!((xvel != 0 || yvel != 0) && fling((int) xvel, (int) yvel))) {

Completed in 2654 milliseconds