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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DScrollerHelper.java74 public void fling(int velocity, int min, int max) { method in class:ScrollerHelper
76 mScroller.fling(
H A DFlingScroller.java21 // android.widget.Scroller. It does fling only, not scroll.
32 // The fling duration (in milliseconds) when velocity is 1 pixel/second
76 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:FlingScroller
H A DSlotView.java663 mScroller.fling((int) -velocity, 0, scrollLimit);
H A DPositionController.java127 // This is used by the fling animation (page mode).
130 // This is used by the fling animation (film mode).
663 // We only want to do fling when the picture is zoomed-in.
683 mPageScroller.fling(p.mCurrentX, b.mCurrentY, velocityX, velocityY,
697 // If we are already at the edge, don't start the fling.
704 mFilmScroller.fling(p.mCurrentX, 0, velocityX, 0,
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
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
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java631 * If being flinged and user touches, stop the fling. isFinished
722 fling(-initialVelocity);
1787 public void fling(int velocityY) { method in class:ScrollerView
1793 mScroller.fling(mScrollX, mScrollY, velocityY, 0,
1799 mScroller.fling(mScrollX, mScrollY, 0, velocityY, 0, 0, 0,
1803 mFlingStrictSpan = StrictMode.enterCriticalSpan("ScrollView-fling");
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DHorizontalScrollView.java553 * If being flinged and user touches, stop the fling. isFinished
627 fling(-initialVelocity);
1485 public void fling(int velocityX) { method in class:HorizontalScrollView
1490 mScroller.fling(mScrollX, mScrollY, velocityX, 0, 0,
/packages/apps/Gallery/src/com/android/camera/
H A DGridViewSpecial.java336 mScroller.fling(0, mScrollY, 0, -(int) velocityY, 0, 0, 0,
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DVideoEditorActivity.java412 mTimelineScroller.fling(-(int)velocityX);
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java4094 // Horizontal fling.
4105 if (DEBUG) Log.d(TAG, "doFling: no fling");
4109 // Vertical fling.
4119 mScroller.fling(0 /* startX */, mViewStartY /* startY */, 0 /* velocityX */,
4781 // Allow overscroll/springback only on a fling,
4782 // not a pull/fling from the end
4817 // Turn off scrolling to make sure the view is in the correct state if we fling back to it
4922 // don't fling vertically if this started in the allday area

Completed in 166 milliseconds