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

/frameworks/support/v4/java/android/support/v4/widget/
H A DScrollerCompat.java29 * 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 DNestedScrollView.java700 * 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);
H A DViewDragHelper.java47 * A view is not currently being dragged or animating as a result of a fling/snap.
58 * A view is currently settling into place as a result of a fling or
185 * The fling velocity is also supplied, if relevant. The velocity values may
188 * <p>Calling code may decide to fling or otherwise release the view to let it
687 * Settle the captured view based on standard free-moving fling behavior.
702 mScroller.fling(mCapturedView.getLeft(), mCapturedView.getTop(),
/frameworks/support/v4/gingerbread/android/support/v4/widget/
H A DScrollerCompatGingerbread.java55 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/support/v4/tests/java/android/support/v4/widget/
H A DScrollerCompatTestBase.java61 mScroller.fling(0, 0, 0, 1000,
76 mScroller.fling(0, 0, 0, 10000,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DObservableScrollView.java132 public void fling(int velocityY) { method in class:ObservableScrollView
134 super.fling(velocityY);
H A DPanelView.java395 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 DKeyguardAffordanceHelper.java331 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 DNotificationPanelView.java523 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/base/core/java/android/widget/
H A DOverScroller.java68 * @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 DHorizontalScrollView.java568 * 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 DScrollView.java621 * 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 DNumberPicker.java112 * 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 DScroller.java30 * animation&mdash;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 DGallery.java118 * Executes the delta scrolls from a fling or scroll movement.
135 * When fling runnable runs, it resets this to false. Any method along the
137 * remaining fling. For example, if we've reached either the leftmost or
149 * fling.
554 // We haven't been callbacking during the fling, so do it now
1035 * the fling, and this scroll could possibly be a fling. Don't
1036 * do selection changes until we're sure it is not a fling.
1055 // Kill any existing fling/scroll
1413 * Responsible for fling behavio
[all...]
H A DAbsListView.java421 * 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/base/services/core/java/com/android/server/policy/
H A DSystemGesturesPointerEventListener.java231 mOverscroller.fling(0, 0, (int)velocityX, (int)velocityY,
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewLayoutTest.java96 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/support/design/src/android/support/design/widget/
H A DAppBarLayout.java836 // 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/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackViewTouchHandler.java331 mScroller.mScroller.fling(0,
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java655 mFlingEstimator.fling(0, 0, 0, (int) velocityY, 0, 0, Integer.MIN_VALUE, Integer.MAX_VALUE);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java601 mFlingEstimator.fling(0, 0, 0, (int) velocityY, 0, 0, Integer.MIN_VALUE, Integer.MAX_VALUE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java870 * 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 DRecyclerView.java1688 * 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...]
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java353 // Break fling velocity if we impacted an edge.
369 mScroller.fling(0, 0, 0, (int) velocity, 0, 0,

Completed in 488 milliseconds