/frameworks/support/compat/java/android/support/v4/view/ |
D | ViewParentCompat.java | 46 boolean onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, in onNestedFling() argument 48 boolean onNestedPreFling(ViewParent parent, View target, float velocityX, float velocityY); in onNestedPreFling() argument 112 float velocityY, boolean consumed) { in onNestedFling() argument 114 return ((NestedScrollingParent) parent).onNestedFling(target, velocityX, velocityY, in onNestedFling() 122 float velocityY) { in onNestedPreFling() argument 125 velocityY); in onNestedPreFling() 189 float velocityY, boolean consumed) { in onNestedFling() argument 190 return ViewParentCompatLollipop.onNestedFling(parent, target, velocityX, velocityY, in onNestedFling() 196 float velocityY) { in onNestedPreFling() argument 197 return ViewParentCompatLollipop.onNestedPreFling(parent, target, velocityX, velocityY); in onNestedPreFling() [all …]
|
D | NestedScrollingChild.java | 194 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed); in dispatchNestedFling() argument 226 public boolean dispatchNestedPreFling(float velocityX, float velocityY); in dispatchNestedPreFling() argument
|
D | NestedScrollingParent.java | 159 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed); in onNestedFling() argument 181 public boolean onNestedPreFling(View target, float velocityX, float velocityY); in onNestedPreFling() argument
|
D | ViewCompat.java | 474 boolean dispatchNestedFling(View view, float velocityX, float velocityY, boolean consumed); in dispatchNestedFling() argument 475 boolean dispatchNestedPreFling(View view, float velocityX, float velocityY); in dispatchNestedPreFling() argument 1073 public boolean dispatchNestedFling(View view, float velocityX, float velocityY, in dispatchNestedFling() argument 1076 return ((NestedScrollingChild) view).dispatchNestedFling(velocityX, velocityY, in dispatchNestedFling() 1083 public boolean dispatchNestedPreFling(View view, float velocityX, float velocityY) { in dispatchNestedPreFling() argument 1085 return ((NestedScrollingChild) view).dispatchNestedPreFling(velocityX, velocityY); in dispatchNestedPreFling() 1713 public boolean dispatchNestedFling(View view, float velocityX, float velocityY, in dispatchNestedFling() argument 1715 return ViewCompatLollipop.dispatchNestedFling(view, velocityX, velocityY, consumed); in dispatchNestedFling() 1719 public boolean dispatchNestedPreFling(View view, float velocityX, float velocityY) { in dispatchNestedPreFling() argument 1720 return ViewCompatLollipop.dispatchNestedPreFling(view, velocityX, velocityY); in dispatchNestedPreFling() [all …]
|
D | GestureDetectorCompat.java | 377 final float velocityY = VelocityTrackerCompat.getYVelocity( in onTouchEvent() local 382 if ((Math.abs(velocityY) > mMinimumFlingVelocity) in onTouchEvent() 384 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | SnapHelper.java | 65 public boolean onFling(int velocityX, int velocityY) { in onFling() argument 75 return (Math.abs(velocityY) > minFlingVelocity || Math.abs(velocityX) > minFlingVelocity) in onFling() 76 && snapFromFling(layoutManager, velocityX, velocityY); in onFling() 137 public int[] calculateScrollDistance(int velocityX, int velocityY) { in calculateScrollDistance() argument 139 mGravityScroller.fling(0, 0, velocityX, velocityY, in calculateScrollDistance() 157 int velocityY) { in snapFromFling() argument 167 int targetPosition = findTargetSnapPosition(layoutManager, velocityX, velocityY); in snapFromFling() 283 int velocityY);
|
D | LinearSnapHelper.java | 64 int velocityY) { in findTargetSnapPosition() argument 107 getVerticalHelper(layoutManager), 0, velocityY); in findTargetSnapPosition() 165 OrientationHelper helper, int velocityX, int velocityY) { in estimateNextPositionDiffForFling() argument 166 int[] distances = calculateScrollDistance(velocityX, velocityY); in estimateNextPositionDiffForFling()
|
/frameworks/support/compat/api21/android/support/v4/view/ |
D | ViewParentCompatLollipop.java | 78 float velocityY, boolean consumed) { in onNestedFling() argument 80 return parent.onNestedFling(target, velocityX, velocityY, consumed); in onNestedFling() 89 float velocityY) { in onNestedPreFling() argument 91 return parent.onNestedPreFling(target, velocityX, velocityY); in onNestedPreFling()
|
D | ViewCompatLollipop.java | 175 public static boolean dispatchNestedFling(View view, float velocityX, float velocityY, in dispatchNestedFling() argument 177 return view.dispatchNestedFling(velocityX, velocityY, consumed); in dispatchNestedFling() 180 public static boolean dispatchNestedPreFling(View view, float velocityX, float velocityY) { in dispatchNestedPreFling() argument 181 return view.dispatchNestedPreFling(velocityX, velocityY); in dispatchNestedPreFling()
|
/frameworks/support/compat/java/android/support/v4/widget/ |
D | ScrollerCompat.java | 173 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 175 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); in fling() 201 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 203 mScroller.fling(startX, startY, velocityX, velocityY, in fling()
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | NestedScrollingChildHelper.java | 234 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed) { in dispatchNestedFling() argument 237 velocityY, consumed); in dispatchNestedFling() 251 public boolean dispatchNestedPreFling(float velocityX, float velocityY) { in dispatchNestedPreFling() argument 254 velocityY); in dispatchNestedPreFling()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | NestedScrollView.java | 251 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed) { in dispatchNestedFling() argument 252 return mChildHelper.dispatchNestedFling(velocityX, velocityY, consumed); in dispatchNestedFling() 256 public boolean dispatchNestedPreFling(float velocityX, float velocityY) { in dispatchNestedPreFling() argument 257 return mChildHelper.dispatchNestedPreFling(velocityX, velocityY); in dispatchNestedPreFling() 295 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument 297 flingWithNestedDispatch((int) velocityY); in onNestedFling() 304 public boolean onNestedPreFling(View target, float velocityX, float velocityY) { in onNestedPreFling() argument 305 return dispatchNestedPreFling(velocityX, velocityY); in onNestedPreFling() 1699 public void fling(int velocityY) { in fling() argument 1704 mScroller.fling(getScrollX(), getScrollY(), 0, velocityY, 0, 0, 0, in fling() local [all …]
|
D | SwipeRefreshLayout.java | 904 float velocityY) { in onNestedPreFling() argument 905 return dispatchNestedPreFling(velocityX, velocityY); in onNestedPreFling() 909 public boolean onNestedFling(View target, float velocityX, float velocityY, in onNestedFling() argument 911 return dispatchNestedFling(velocityX, velocityY, consumed); in onNestedFling() 915 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed) { in dispatchNestedFling() argument 916 return mNestedScrollingChildHelper.dispatchNestedFling(velocityX, velocityY, consumed); in dispatchNestedFling() 920 public boolean dispatchNestedPreFling(float velocityX, float velocityY) { in dispatchNestedPreFling() argument 921 return mNestedScrollingChildHelper.dispatchNestedPreFling(velocityX, velocityY); in dispatchNestedPreFling()
|
/frameworks/base/core/java/android/widget/ |
D | Scroller.java | 419 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 435 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling() 437 velocityY += oldVelocityY; in fling() 444 float velocity = (float) Math.hypot(velocityX, velocityY); in fling() 453 float coeffY = velocity == 0 ? 1.0f : velocityY / velocity; in fling()
|
D | OverScroller.java | 399 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 401 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling() 431 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 438 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling() 440 velocityY += oldVelocityY; in fling() 446 mScrollerY.fling(startY, velocityY, minY, maxY, overY); in fling()
|
D | ScrollView.java | 1618 public void fling(int velocityY) { in fling() argument 1623 mScroller.fling(mScrollX, mScrollY, 0, velocityY, 0, 0, 0, in fling() 1634 private void flingWithNestedDispatch(int velocityY) { in flingWithNestedDispatch() argument 1635 final boolean canFling = (mScrollY > 0 || velocityY > 0) && in flingWithNestedDispatch() 1636 (mScrollY < getScrollRange() || velocityY < 0); in flingWithNestedDispatch() 1637 if (!dispatchNestedPreFling(0, velocityY)) { in flingWithNestedDispatch() 1638 dispatchNestedFling(0, velocityY, canFling); in flingWithNestedDispatch() 1640 fling(velocityY); in flingWithNestedDispatch() 1727 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument 1729 flingWithNestedDispatch((int) velocityY); in onNestedFling()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarGestureHelper.java | 280 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument 282 float absVelY = Math.abs(velocityY); in onFling() 288 showNext = mIsVertical ? (velocityY < 0) : (velocityX < 0); in onFling() 291 showNext = mIsVertical ? (velocityY < 0) : (velocityX > 0); in onFling()
|
D | ObservableScrollView.java | 132 public void fling(int velocityY) { in fling() argument 134 super.fling(velocityY); in fling()
|
/frameworks/base/core/java/android/view/ |
D | ViewParent.java | 579 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed); in onNestedFling() argument 601 public boolean onNestedPreFling(View target, float velocityX, float velocityY); in onNestedPreFling() argument
|
D | GestureDetector.java | 115 boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY); in onFling() argument 191 float velocityY) { in onFling() argument 645 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent() local 648 if ((Math.abs(velocityY) > mMinimumFlingVelocity) in onTouchEvent() 650 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 648 public boolean onNestedPreFling(View target, float velocityX, float velocityY) { 649 if (velocityY > mMinFlingVelocity && mCollapseOffset != 0) { 650 smoothScrollTo(0, velocityY); 657 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { 658 if (!consumed && Math.abs(velocityY) > mMinFlingVelocity) { 660 && velocityY < 0 && mCollapseOffset > mCollapsibleHeight) { 661 smoothScrollTo(mCollapsibleHeight + mUncollapsibleHeight, velocityY); 664 smoothScrollTo(velocityY > 0 ? 0 : mCollapsibleHeight, velocityY);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionBarOverlayLayout.java | 500 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { 504 if (shouldHideActionBarOnFling(velocityX, velocityY)) { 519 public boolean onNestedPreFling(View target, float velocityX, float velocityY) { 600 private boolean shouldHideActionBarOnFling(float velocityX, float velocityY) { 601 mFlingEstimator.fling(0, 0, 0, (int) velocityY, 0, 0, Integer.MIN_VALUE, Integer.MAX_VALUE);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | TestedFrameLayout.java | 146 public boolean onNestedPreFling(View target, float velocityX, float velocityY) { in onNestedPreFling() argument 168 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument
|
D | GridLayoutManagerSnappingTest.java | 223 private boolean fling(final int velocityX, final int velocityY) in fling() argument 229 boolean result = mRecyclerView.fling(velocityX, velocityY); in fling()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | HeaderBehavior.java | 229 int maxOffset, float velocityY) { in fling() argument 241 0, Math.round(velocityY), // velocity. in fling()
|