Searched refs:fling (Results 1 - 9 of 9) sorted by relevance

/frameworks/support/v4/java/android/support/v4/widget/
H A DScrollerCompat.java26 * current device's preferred scroll physics and fling behavior. It offers a subset of
150 * Start scrolling based on a fling gesture. The distance travelled will
151 * depend on the initial velocity of the fling.
155 * @param velocityX Initial velocity of the fling (X) measured in pixels per
157 * @param velocityY Initial velocity of the fling (Y) measured in pixels per
168 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:ScrollerCompat
170 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY);
/frameworks/base/core/java/android/widget/
H A DOverScroller.java69 * @param flywheel If true, successive fling motions will keep on increasing scroll speed.
108 * @param flywheel If true, successive fling motions will keep on increasing scroll speed.
202 * Returns where the scroll will end. Valid only for "fling" scrolls.
211 * Returns where the scroll will end. Valid only for "fling" scrolls.
403 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:OverScroller
405 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0);
409 * Start scrolling based on a fling gesture. The distance traveled will
410 * depend on the initial velocity of the fling.
414 * @param velocityX Initial velocity of the fling (X) measured in pixels per
416 * @param velocityY Initial velocity of the fling (
435 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:OverScroller
751 void fling(int start, int velocity, int min, int max, int over) { method in class:OverScroller.SplineOverScroller
[all...]
H A DScroller.java227 * Returns where the scroll will end. Valid only for "fling" scrolls.
236 * Returns where the scroll will end. Valid only for "fling" scrolls.
349 * Start scrolling based on a fling gesture. The distance travelled will
350 * depend on the initial velocity of the fling.
354 * @param velocityX Initial velocity of the fling (X) measured in pixels per
356 * @param velocityY Initial velocity of the fling (Y) measured in pixels per
367 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:Scroller
369 // Continue a scroll or fling in progress
H A DHorizontalScrollView.java546 * If being flinged and user touches, stop the fling. isFinished
620 fling(-initialVelocity);
1487 public void fling(int velocityX) { method in class:HorizontalScrollView
1492 mScroller.fling(mScrollX, mScrollY, velocityX, 0, 0,
H A DScrollView.java570 * If being flinged and user touches, stop the fling. isFinished
648 fling(-initialVelocity);
1488 public void fling(int velocityY) { method in class:ScrollView
1493 mScroller.fling(mScrollX, mScrollY, 0, velocityY, 0, 0, 0,
1497 mFlingStrictSpan = StrictMode.enterCriticalSpan("ScrollView-fling");
H A DNumberPicker.java106 * The coefficient by which to adjust (divide) the max fling velocity.
478 * The user had previously been scrolling using touch and performed a fling.
682 // create the fling and adjust scrollers
859 fling(initialVelocity);
1625 private void fling(int velocityY) { method in class:NumberPicker
1629 mFlingScroller.fling(0, 0, 0, velocityY, 0, 0, 0, Integer.MAX_VALUE);
1631 mFlingScroller.fling(0, Integer.MAX_VALUE, 0, velocityY, 0, 0, 0, Integer.MAX_VALUE);
H A DGallery.java119 * Executes the delta scrolls from a fling or scroll movement.
136 * When fling runnable runs, it resets this to false. Any method along the
138 * remaining fling. For example, if we've reached either the leftmost or
150 * fling.
537 // We haven't been callbacking during the fling, so do it now
1016 * the fling, and this scroll could possibly be a fling. Don't
1017 * do selection changes until we're sure it is not a fling.
1036 // Kill any existing fling/scroll
1407 * Responsible for fling behavio
[all...]
H A DAbsListView.java404 * Handles one frame of a fling
696 * The user had previously been scrolling using touch and had performed a fling. The
2761 // let the fling runnable report it's new state which
3164 // We may be here after stopping a fling and continuing to scroll.
3401 // User clicked on an actual view (and was not stopping a fling).
3412 // Stopped a fling. It is a scroll.
3568 // fling further.
3886 // User clicked on an actual view (and was not stopping a fling).
3997 * Responsible for fling behavior. Use {@link #start(int)} to
3998 * initiate a fling
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java818 * Helper class to get velocity for fling
830 // only trigger accelerated fling if the new velocity is at least
3035 // stop the scroll animation, and don't let a subsequent fling add
5677 // as it may trigger the unwanted fling.
5779 // the start of a fling, allow it to add to the current
5780 // fling's velocity
6054 // up, we don't want to do a fling
6643 mScroller.fling(getScrollX(), getScrollY(), vx, vy, 0, computeMaxScrollX(), 0,
6748 mScroller.fling(scrollX, scrollY, -vx, -vy, 0, maxX, 0, maxY,

Completed in 599 milliseconds