/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | ScrollerHelper.java | 74 public void fling(int velocity, int min, int max) { method in class:ScrollerHelper 76 mScroller.fling(
|
H A D | FlingScroller.java | 21 // 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
|
/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
H A D | FilmstripController.java | 107 public void fling(float velocity); method in interface:FilmstripController
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Scroller.java | 227 * 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 D | OverScroller.java | 69 * @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...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherScroller.java | 257 * Returns where the scroll will end. Valid only for "fling" scrolls. 266 * Returns where the scroll will end. Valid only for "fling" scrolls. 386 * Start scrolling based on a fling gesture. The distance travelled will 387 * depend on the initial velocity of the fling. 391 * @param velocityX Initial velocity of the fling (X) measured in pixels per 393 * @param velocityY Initial velocity of the fling (Y) measured in pixels per 404 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:LauncherScroller 406 // Continue a scroll or fling in progress
|
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | ScrollerView.java | 631 * 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/Contacts/src/com/android/contacts/widget/ |
H A D | MultiShrinkScroller.java | 101 * Did the current downwards fling/scroll-animation start while we were fullscreen? 417 // If we are in the middle of a fling and there is a down event, we'll steal it and 536 fling(-velocity); 559 // The drag/fling won't result in the content at the top of the Window. Consider 568 * @return TRUE if QuickContacts will snap/fling to to top after this method call. 572 // If the current fling is predicted to scroll past the top, then we don't need to snap 573 // to the top. However, if the fling only flings past the top by a tiny amount, 574 // it will look nicer to snap than to fling. 797 // Examine the fling results in order to activate EdgeEffect and halt flings. 806 // Halt the fling onc 882 private void fling(float velocity) { method in class:MultiShrinkScroller [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
H A D | OverScrollerSGV.java | 73 * @param flywheel If true, successive fling motions will keep on increasing scroll speed. 110 * @param flywheel If true, successive fling motions will keep on increasing scroll speed. 204 * Returns where the scroll will end. Valid only for "fling" scrolls. 213 * Returns where the scroll will end. Valid only for "fling" scrolls. 405 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:OverScrollerSGV 407 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); 411 * Start scrolling based on a fling gesture. The distance traveled will 412 * depend on the initial velocity of the fling. 416 * @param velocityX Initial velocity of the fling (X) measured in pixels per 418 * @param velocityY Initial velocity of the fling ( 437 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:OverScrollerSGV 750 void fling(int start, int velocity, int min, int max, int over) { method in class:OverScrollerSGV.SplineOverScroller [all...] |
/packages/apps/FMRadio/src/com/android/fmradio/views/ |
H A D | FmScroller.java | 317 // If we are in the middle of a fling and there is a down event, 442 fling(-velocity); 537 // Examine the fling results in order to activate EdgeEffect when we 538 // fling to the end. 594 private void fling(float velocity) { method in class:FmScroller 598 mScroller.fling(0, getScroll(), 0, (int) velocity, 0, 0, -Integer.MAX_VALUE, 712 // Initial fling was in the wrong direction, make sure that the
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | ScrollController.java | 597 // we separate Scrollers for scroll animation and fling animation; this is because we want a 598 // flywheel feature for fling animation, ScrollAdapterView inserts scroll animation between 599 // fling animations, the fling animation will mistakenly continue the old velocity of scroll 600 // animation: that's wrong, we want fling animation pickup the old velocity of last fling. 606 /** using fling scroller */ 629 /** fling operation mode */ 762 final public boolean fling(int velocity_x, int velocity_y){ method in class:ScrollController 770 mFlingScroller.fling((in [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | PhotoTable.java | 772 public void fling(final View photo) { method in class:PhotoTable 789 fling(photo, delta[0], delta[1], duration, true); 792 /** Continue dynamically after a fling gesture, possibly off the screen. */ 793 public void fling(final View photo, float dx, float dy, int duration, boolean spin) { method in class:PhotoTable 812 log("fling away");
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | FilmstripView.java | 2138 public void fling(float velocityX) { method in class:FilmstripView.MyController 2161 mScroller.fling(mCenterX, 0, (int) -velocityX, 0, minX, maxX, 0, 0); 2178 // velocity is the velocity of fling. 2184 // Duration T should be long enough so that at the end of the fling, 2526 public void fling( method in class:FilmstripView.MyScroller 2531 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); 2827 // ignore vertical fling. 2831 // In full-screen, fling of a velocity above a threshold should go 2873 mController.fling(velocityX);
|