/frameworks/base/core/java/android/widget/ |
D | Scroller.java | 367 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 383 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling() 385 velocityY += oldVelocityY; in fling() 392 float velocity = FloatMath.sqrt(velocityX * velocityX + velocityY * velocityY); in fling() 402 float coeffY = velocity == 0 ? 1.0f : velocityY / velocity; in fling()
|
D | OverScroller.java | 403 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 405 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling() 435 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 442 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling() 444 velocityY += oldVelocityY; in fling() 450 mScrollerY.fling(startY, velocityY, minY, maxY, overY); in fling()
|
D | NumberPicker.java | 1625 private void fling(int velocityY) { in fling() argument 1628 if (velocityY > 0) { in fling() 1629 mFlingScroller.fling(0, 0, 0, velocityY, 0, 0, 0, Integer.MAX_VALUE); in fling() 1631 mFlingScroller.fling(0, Integer.MAX_VALUE, 0, velocityY, 0, 0, 0, Integer.MAX_VALUE); in fling()
|
D | ScrollView.java | 1488 public void fling(int velocityY) { in fling() argument 1493 mScroller.fling(mScrollX, mScrollY, 0, velocityY, 0, 0, 0, in fling()
|
D | Gallery.java | 976 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ScrollerCompat.java | 168 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 170 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); in fling()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 113 boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY); in onFling() argument 172 float velocityY) { in onFling() argument 575 final float velocityY = velocityTracker.getYVelocity(); in onTouchEvent() local 578 if ((Math.abs(velocityY) > mMinimumFlingVelocity) in onTouchEvent() 580 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 387 float velocityX, float velocityY) { in initGestureDetector() 390 final float absY = Math.abs(velocityY); in initGestureDetector() 413 } else if (velocityY < -mSwipeThreshold && absX < absY && deltaY < -travelY) { in initGestureDetector() 414 if (mDisambiguateSwipe && endingVelocityY > velocityY / 4) { in initGestureDetector() 420 } else if (velocityY > mSwipeThreshold && absX < absY / 2 && deltaY > travelY) { in initGestureDetector() 421 if (mDisambiguateSwipe && endingVelocityY < velocityY / 4) { in initGestureDetector()
|
/frameworks/base/docs/html/training/custom-views/ |
D | making-interactive.jd | 165 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { 166 … mScroller.fling(currentX, currentY, velocityX / SCALE, velocityY / SCALE, minX, minY, maxX, maxY);
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 2433 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument
|