Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/widget/
DViewDragHelper.java206 public void onViewReleased(View releasedChild, float xvel, float yvel) {} in onViewReleased() argument
218 public void onViewFling(View releasedChild, float xvel, float yvel) {} in onViewFling() argument
583 private boolean forceSettleCapturedViewAt(int finalLeft, int finalTop, int xvel, int yvel) { in forceSettleCapturedViewAt() argument
596 final int duration = computeSettleDuration(mCapturedView, dx, dy, xvel, yvel); in forceSettleCapturedViewAt()
604 private int computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) { in computeSettleDuration() argument
606 yvel = clampMag(yvel, (int) mMinVelocity, (int) mMaxVelocity); in computeSettleDuration()
610 final int absYVel = Math.abs(yvel); in computeSettleDuration()
616 final float yweight = yvel != 0 ? (float) absYVel / addedVel : in computeSettleDuration()
620 int yduration = computeAxisDuration(dy, yvel, mCallback.getViewVerticalDragRange(child)); in computeSettleDuration()
724 public void flingCapturedView(int minLeft, int minTop, int maxLeft, int maxTop, int yvel) {
[all …]
DOverlappingPaneLayout.java1113 public void onViewReleased(View releasedChild, float xvel, float yvel) { in onViewReleased() argument
1120 + ", yvel=" + yvel); in onViewReleased()
1131 if (mInNestedPreScrollDownwards || yvel > 0) { in onViewReleased()
1140 } else if (mInNestedPreScrollUpwards || yvel < 0) { in onViewReleased()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java503 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
505 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
DOverScroller.java535 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
539 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java555 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
557 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DOverScrollerSGV.java537 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
541 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()