/frameworks/base/core/java/android/widget/ |
D | Gallery.java | 1471 public void startUsingVelocity(int initialVelocity) { in startUsingVelocity() argument 1472 if (initialVelocity == 0) return; in startUsingVelocity() 1476 int initialX = initialVelocity < 0 ? Integer.MAX_VALUE : 0; in startUsingVelocity() 1478 mScroller.fling(initialX, 0, initialVelocity, 0, in startUsingVelocity()
|
D | AbsListView.java | 4082 final int initialVelocity = (int) in onTouchUp() 4088 boolean flingVelocity = Math.abs(initialVelocity) > mMinimumVelocity; in onTouchUp() 4094 if (!dispatchNestedPreFling(0, -initialVelocity)) { in onTouchUp() 4099 mFlingRunnable.start(-initialVelocity); in onTouchUp() 4100 dispatchNestedFling(0, -initialVelocity, true); in onTouchUp() 4114 if (flingVelocity && !dispatchNestedPreFling(0, -initialVelocity)) { in onTouchUp() 4115 dispatchNestedFling(0, -initialVelocity, false); in onTouchUp() 4131 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchUp() local 4134 if (Math.abs(initialVelocity) > mMinimumVelocity) { in onTouchUp() 4135 mFlingRunnable.startOverfling(-initialVelocity); in onTouchUp() [all …]
|
D | HorizontalScrollView.java | 666 int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); in onTouchEvent() local 669 if ((Math.abs(initialVelocity) > mMinimumVelocity)) { in onTouchEvent() 670 fling(-initialVelocity); in onTouchEvent()
|
D | ScrollView.java | 728 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent() local 730 if ((Math.abs(initialVelocity) > mMinimumVelocity)) { in onTouchEvent() 731 flingWithNestedDispatch(-initialVelocity); in onTouchEvent()
|
D | NumberPicker.java | 939 int initialVelocity = (int) velocityTracker.getYVelocity(); in onTouchEvent() local 940 if (Math.abs(initialVelocity) > mMinimumFlingVelocity) { in onTouchEvent() 941 fling(initialVelocity); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 1339 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onScrollTouch() local 1341 if (shouldOverScrollFling(initialVelocity)) { in onScrollTouch() 1342 onOverScrollFling(true, initialVelocity); in onScrollTouch() 1345 if ((Math.abs(initialVelocity) > mMinimumVelocity)) { in onScrollTouch() 1347 if (currentOverScrollTop == 0.0f || initialVelocity > 0) { in onScrollTouch() 1348 fling(-initialVelocity); in onScrollTouch() 1350 onOverScrollFling(false, initialVelocity); in onScrollTouch() 1391 private void onOverScrollFling(boolean open, int initialVelocity) { in onOverScrollFling() argument 1393 mOverscrollTopChangedListener.flingTopOverscroll(initialVelocity, open); in onOverScrollFling() 2158 private boolean shouldOverScrollFling(int initialVelocity) { in shouldOverScrollFling() argument [all …]
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | SlidingPaneLayout.java | 868 private boolean closePane(View pane, int initialVelocity) { in closePane() argument 869 if (mFirstLayout || smoothSlideTo(0.f, initialVelocity)) { in closePane() 876 private boolean openPane(View pane, int initialVelocity) { in openPane() argument 877 if (mFirstLayout || smoothSlideTo(1.f, initialVelocity)) { in openPane()
|
D | NestedScrollView.java | 837 int initialVelocity = (int) VelocityTrackerCompat.getYVelocity(velocityTracker, in onTouchEvent() local 840 if ((Math.abs(initialVelocity) > mMinimumVelocity)) { in onTouchEvent() 841 flingWithNestedDispatch(-initialVelocity); in onTouchEvent()
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | ViewPager.java | 2273 int initialVelocity = (int) VelocityTrackerCompat.getXVelocity( 2286 int nextPage = determineTargetPage(currentPage, pageOffset, initialVelocity, 2288 setCurrentItemInternal(nextPage, true, true, initialVelocity); 2582 int initialVelocity = (int) VelocityTrackerCompat.getXVelocity( 2591 int nextPage = determineTargetPage(currentPage, pageOffset, initialVelocity, 2593 setCurrentItemInternal(nextPage, true, true, initialVelocity);
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 2011 … final int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); 2030 currentPage, nextPageOffset, initialVelocity, totalDelta); 2031 setCurrentItemInternal(nextPage, true, true, initialVelocity);
|