Searched refs:xvel (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Dialer/src/com/android/dialer/widget/ |
D | ViewDragHelper.java | 206 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 605 xvel = clampMag(xvel, (int) mMinVelocity, (int) mMaxVelocity); in computeSettleDuration() 609 final int absXVel = Math.abs(xvel); in computeSettleDuration() 614 final float xweight = xvel != 0 ? (float) absXVel / addedVel : in computeSettleDuration() 619 int xduration = computeAxisDuration(dx, xvel, mCallback.getViewHorizontalDragRange(child)); in computeSettleDuration() 810 private void dispatchViewFling(float xvel, float yvel) { [all …]
|
D | OverlappingPaneLayout.java | 1113 public void onViewReleased(View releasedChild, float xvel, float yvel) { in onViewReleased() argument
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | Switch.java | 302 float xvel = mVelocityTracker.getXVelocity(); in stopDrag() local 303 if (Math.abs(xvel) > mMinFlingVelocity) { in stopDrag() 304 newState = xvel > 0; in stopDrag()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | Switch.java | 311 float xvel = mVelocityTracker.getXVelocity(); in stopDrag() local 312 if (Math.abs(xvel) > mMinFlingVelocity) { in stopDrag() 313 newState = xvel > 0; in stopDrag()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Scroller.java | 503 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument 504 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
|
D | OverScroller.java | 535 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument 538 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherScroller.java | 555 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument 556 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
D | OverScrollerSGV.java | 537 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument 540 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()
|