/frameworks/support/v4/gingerbread/android/support/v4/widget/ |
H A D | ScrollerCompatGingerbread.java | 55 public static void fling(Object scroller, int startX, int startY, int velX, int velY, method in class:ScrollerCompatGingerbread 57 ((OverScroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY); 60 public static void fling(Object scroller, int startX, int startY, int velX, int velY, method in class:ScrollerCompatGingerbread 62 ((OverScroller) scroller).fling(startX, startY, velX, velY,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ObservableScrollView.java | 132 public void fling(int velocityY) { method in class:ObservableScrollView 134 super.fling(velocityY);
|
H A D | KeyguardAffordanceHelper.java | 331 fling(vel, snapBack || forceSnapBack, mTranslation < 0); 343 private void fling(float vel, final boolean snapBack, boolean right) { method in class:KeyguardAffordanceHelper 533 fling(0, false, !left);
|
H A D | PanelView.java | 395 fling(vel, expand, isFalseTouch(x, y)); 577 * @return whether a fling should expands the panel; contracts otherwise 608 protected void fling(float vel, boolean expand) { method in class:PanelView 609 fling(vel, expand, 1.0f /* collapseSpeedUpFactor */, false); 612 protected void fling(float vel, boolean expand, boolean expandBecauseOfFalsing) { method in class:PanelView 613 fling(vel, expand, 1.0f /* collapseSpeedUpFactor */, expandBecauseOfFalsing); 616 protected void fling(float vel, boolean expand, float collapseSpeedUpFactor, method in class:PanelView 708 fling(mUpdateFlingVelocity, true /* expands */); 826 fling(0, false /* expand */, speedUpFactor, false /* expandBecauseOfFalsing */); 834 fling( [all...] |
H A D | NotificationPanelView.java | 523 public void fling(float vel, boolean expand) { method in class:NotificationPanelView 526 gr.tag("fling " + ((vel > 0) ? "open" : "closed"), "notifications,v=" + vel); 528 super.fling(vel, expand);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ScrollerCompat.java | 29 * current device's preferred scroll physics and fling behavior. It offers a subset of 47 void fling(Object scroller, int startX, int startY, int velX, int velY, method in interface:ScrollerCompat.ScrollerCompatImpl 49 void fling(Object scroller, int startX, int startY, int velX, int velY, method in interface:ScrollerCompat.ScrollerCompatImpl 106 public void fling(Object scroller, int startX, int startY, int velX, int velY, method in class:ScrollerCompat.ScrollerCompatImplBase 108 ((Scroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY); 112 public void fling(Object scroller, int startX, int startY, int velX, int velY, method in class:ScrollerCompat.ScrollerCompatImplBase 114 ((Scroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY); 193 public void fling(Object scroller, int startX, int startY, int velX, int velY, method in class:ScrollerCompat.ScrollerCompatImplGingerbread 195 ScrollerCompatGingerbread.fling(scroller, startX, startY, velX, velY, 200 public void fling(Objec method in class:ScrollerCompat.ScrollerCompatImplGingerbread 391 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:ScrollerCompat 419 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:ScrollerCompat [all...] |
H A D | NestedScrollView.java | 700 * If being flinged and user touches, stop the fling. isFinished 1611 public void fling(int velocityY) { method in class:NestedScrollView 1616 mScroller.fling(getScrollX(), getScrollY(), 0, velocityY, 0, 0, 0, 1630 fling(velocityY);
|
/frameworks/base/core/java/android/widget/ |
H A D | Scroller.java | 30 * animation—for example, in response to a fling gesture. Scrollers track 51 * whether the scroller is finished. If it isn't, it means that a fling or 278 * Returns where the scroll will end. Valid only for "fling" scrolls. 287 * Returns where the scroll will end. Valid only for "fling" scrolls. 401 * Start scrolling based on a fling gesture. The distance travelled will 402 * depend on the initial velocity of the fling. 406 * @param velocityX Initial velocity of the fling (X) measured in pixels per 408 * @param velocityY Initial velocity of the fling (Y) measured in pixels per 419 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:Scroller 421 // Continue a scroll or fling i [all...] |
H A D | HorizontalScrollView.java | 568 * If being flinged and user touches, stop the fling. isFinished 650 fling(-initialVelocity); 1566 public void fling(int velocityX) { method in class:HorizontalScrollView 1571 mScroller.fling(mScrollX, mScrollY, velocityX, 0, 0,
|
H A D | OverScroller.java | 68 * @param flywheel If true, successive fling motions will keep on increasing scroll speed. 109 * @param flywheel If true, successive fling motions will keep on increasing scroll speed. 205 * Returns where the scroll will end. Valid only for "fling" scrolls. 214 * Returns where the scroll will end. Valid only for "fling" scrolls. 399 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:OverScroller 401 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); 405 * Start scrolling based on a fling gesture. The distance traveled will 406 * depend on the initial velocity of the fling. 410 * @param velocityX Initial velocity of the fling (X) measured in pixels per 412 * @param velocityY Initial velocity of the fling ( 431 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:OverScroller 744 void fling(int start, int velocity, int min, int max, int over) { method in class:OverScroller.SplineOverScroller [all...] |
H A D | ScrollView.java | 621 * If being flinged and user touches, stop the fling. isFinished 1593 public void fling(int velocityY) { method in class:ScrollView 1598 mScroller.fling(mScrollX, mScrollY, 0, velocityY, 0, 0, 0, 1602 mFlingStrictSpan = StrictMode.enterCriticalSpan("ScrollView-fling"); 1615 fling(velocityY);
|
H A D | NumberPicker.java | 112 * The coefficient by which to adjust (divide) the max fling velocity. 526 * The user had previously been scrolling using touch and performed a fling. 761 // create the fling and adjust scrollers 938 fling(initialVelocity); 1811 private void fling(int velocityY) { method in class:NumberPicker 1815 mFlingScroller.fling(0, 0, 0, velocityY, 0, 0, 0, Integer.MAX_VALUE); 1817 mFlingScroller.fling(0, Integer.MAX_VALUE, 0, velocityY, 0, 0, 0, Integer.MAX_VALUE);
|
H A D | AbsListView.java | 421 * Handles one frame of a fling 746 * The user had previously been scrolling using touch and had performed a fling. The 2946 // let the fling runnable report it's new state which 3419 // We may be here after stopping a fling and continuing to scroll. 3737 // Stopped the fling. It is a scroll. 3755 // Stopped a fling. It is a scroll. 3763 // fling). It might be a click or a scroll. Assume it is a 3943 // fling further. 4103 * Initiate a fling with the given velocity. 4105 * <p>Applications can use this method to manually initiate a fling a 4111 public void fling(int velocityY) { method in class:AbsListView [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | AppBarLayout.java | 836 // It has been consumed so let's fling ourselves 837 return fling(coordinatorLayout, child, -child.getTotalScrollRange(), 0, -velocityY); 839 // If we're scrolling up and the child also consumed the fling. We'll fake scroll 892 private boolean fling(CoordinatorLayout coordinatorLayout, AppBarLayout layout, int minOffset, method in class:AppBarLayout.Behavior 902 mScroller.fling(
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewLayoutTest.java | 96 private void testScrollFrozen(boolean fling) throws Throwable { argument 151 if (fling) { 152 assertFalse("fling should be blocked", fling(horizontalVelocity, verticalVelocity)); 165 if (fling) { 166 assertTrue("fling should be started", fling(horizontalVelocity, verticalVelocity)); 449 assertTrue("test sanity, fling must run", fling(horizontalVelocity, verticalVelocity)); 560 assertEquals("fling starte 572 private boolean fling(final int velocityX, final int velocityY) throws Throwable { method in class:RecyclerViewLayoutTest [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationStackScrollLayout.java | 870 * If being flinged and user touches, stop the fling. isFinished 941 fling(-initialVelocity); 1420 private void fling(int velocityY) { method in class:NotificationStackScrollLayout 1442 mScroller.fling(mScrollX, mOwnScrollY, 1, velocityY, 0, 0, 0, 1450 * @return Whether a fling performed on the top overscroll edge lead to the expanded 2909 * start a fling animation to the expanded or collapsed overscroll view (e.g expand the QS) 2912 * @param open Should the fling open or close the overscroll view.
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 1688 * Begin a standard fling with an initial velocity along each axis in pixels per second. 1690 * and no fling will occur. 1694 * @return true if the fling was started, false if the velocity was too low to fling or 1695 * LayoutManager does not support scrolling in the axis fling is issued. 1700 public boolean fling(int velocityX, int velocityY) { method in class:RecyclerView 1702 Log.e(TAG, "Cannot fling without a LayoutManager set. " + 1731 mViewFlinger.fling(velocityX, velocityY); 1740 * {@link #smoothScrollBy(int, int)}, {@link #fling(int, int)} or a touch-initiated fling 4034 public void fling(int velocityX, int velocityY) { method in class:RecyclerView.ViewFlinger [all...] |