/frameworks/support/compat/java/android/support/v4/widget/ |
H A D | ScrollerCompat.java | 27 * current device's preferred scroll physics and fling behavior. It offers a subset of 187 * Start scrolling based on a fling gesture. The distance travelled will 188 * depend on the initial velocity of the fling. 192 * @param velocityX Initial velocity of the fling (X) measured in pixels per 194 * @param velocityY Initial velocity of the fling (Y) measured in pixels per 205 * @deprecated Use {@link OverScroller#fling(int, int, int, int, int, int, int, int)} directly. 208 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:ScrollerCompat 210 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); 214 * Start scrolling based on a fling gesture. The distance travelled will 215 * depend on the initial velocity of the fling 240 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:ScrollerCompat [all...] |
/frameworks/support/compat/tests/java/android/support/v4/widget/ |
H A D | ScrollerCompatTestBase.java | 56 mScroller.fling(0, 0, 0, 1000, 72 mScroller.fling(0, 0, 0, 10000,
|
/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 | PanelView.java | 455 fling(vel, expand, isFalseTouch(x, y)); 659 * @return whether a fling should expands the panel; contracts otherwise 693 protected void fling(float vel, boolean expand) { method in class:PanelView 694 fling(vel, expand, 1.0f /* collapseSpeedUpFactor */, false); 697 protected void fling(float vel, boolean expand, boolean expandBecauseOfFalsing) { method in class:PanelView 698 fling(vel, expand, 1.0f /* collapseSpeedUpFactor */, expandBecauseOfFalsing); 701 protected void fling(float vel, boolean expand, float collapseSpeedUpFactor, method in class:PanelView 805 fling(mUpdateFlingVelocity, true /* expands */); 937 fling(0, false /* expand */, speedUpFactor, false /* expandBecauseOfFalsing */); 949 fling( [all...] |
H A D | KeyguardAffordanceHelper.java | 332 fling(vel, snapBack || forceSnapBack, mTranslation < 0); 344 private void fling(float vel, final boolean snapBack, boolean right) { method in class:KeyguardAffordanceHelper 543 fling(0, false, !left);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GridLayoutManagerSnappingTest.java | 121 assertTrue(fling(velocityDir, velocityDir)); 148 assertTrue(fling(velocityDir, velocityDir)); 222 private boolean fling(final int velocityX, final int velocityY) method in class:GridLayoutManagerSnappingTest 228 boolean result = mRecyclerView.fling(velocityX, velocityY);
|
H A D | LinearLayoutManagerSnappingTest.java | 143 assertTrue(fling(velocityDir, velocityDir)); 168 assertTrue(fling(velocityDir, velocityDir)); 239 private boolean fling(final int velocityX, final int velocityY) throws Throwable { method in class:LinearLayoutManagerSnappingTest 244 boolean result = mRecyclerView.fling(velocityX, velocityY);
|
H A D | StaggeredGridLayoutManagerSnappingTest.java | 161 assertTrue(fling(velocityDir, velocityDir)); 188 assertTrue(fling(velocityDir, velocityDir)); 278 private boolean fling(final int velocityX, final int velocityY) method in class:StaggeredGridLayoutManagerSnappingTest 284 boolean result = mRecyclerView.fling(velocityX, velocityY);
|
H A D | PagerSnapHelperTest.java | 136 // Scroll at one pixel in the correct direction to allow fling snapping to the next view. 144 assertTrue(fling(velocityDir, velocityDir)); 187 // Scroll at one pixel in the correct direction to allow fling snapping to the next view. 195 assertTrue(fling(velocityDir, velocityDir)); 270 private boolean fling(final int velocityX, final int velocityY) throws Throwable { method in class:PagerSnapHelperTest 275 boolean result = mRecyclerView.fling(velocityX, velocityY);
|
H A D | RecyclerViewLayoutTest.java | 645 private void testScrollFrozen(boolean fling) throws Throwable { argument 700 if (fling) { 701 assertFalse("fling should be blocked", fling(horizontalVelocity, verticalVelocity)); 714 if (fling) { 715 assertTrue("fling should be started", fling(horizontalVelocity, verticalVelocity)); 1322 assertTrue("test sanity, fling must run", fling(horizontalVelocity, verticalVelocity)); 1366 // Verify that the non-touch events were dispatched by the fling settl 1517 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 D | HeaderBehavior.java | 170 fling(parent, child, -getScrollRangeForDragFling(child), 0, yvel); 226 final boolean fling(CoordinatorLayout coordinatorLayout, V layout, int minOffset, method in class:HeaderBehavior 237 mScroller.fling( 254 * Called when a fling has finished, or the fling was initiated but there wasn't enough
|
/frameworks/base/core/java/android/widget/ |
H A D | OverScroller.java | 68 * @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. 207 * Returns where the scroll will end. Valid only for "fling" scrolls. 216 * Returns where the scroll will end. Valid only for "fling" scrolls. 401 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:OverScroller 403 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); 407 * Start scrolling based on a fling gesture. The distance traveled will 408 * depend on the initial velocity of the fling. 412 * @param velocityX Initial velocity of the fling (X) measured in pixels per 414 * @param velocityY Initial velocity of the fling ( 433 public void fling(int startX, int startY, int velocityX, int velocityY, method in class:OverScroller 746 void fling(int start, int velocity, int min, int max, int over) { method in class:OverScroller.SplineOverScroller [all...] |
H A D | HorizontalScrollView.java | 588 * If being flinged and user touches, stop the fling. isFinished 670 fling(-initialVelocity); 1596 public void fling(int velocityX) { method in class:HorizontalScrollView 1601 mScroller.fling(mScrollX, mScrollY, velocityX, 0, 0,
|
H A D | ScrollView.java | 637 * If being flinged and user touches, stop the fling. isFinished 1620 public void fling(int velocityY) { method in class:ScrollView 1625 mScroller.fling(mScrollX, mScrollY, 0, velocityY, 0, 0, 0, 1629 mFlingStrictSpan = StrictMode.enterCriticalSpan("ScrollView-fling"); 1642 fling(velocityY);
|
H A D | NumberPicker.java | 114 * The coefficient by which to adjust (divide) the max fling velocity. 528 * The user had previously been scrolling using touch and performed a fling. 763 // create the fling and adjust scrollers 940 fling(initialVelocity); 1829 private void fling(int velocityY) { method in class:NumberPicker 1833 mFlingScroller.fling(0, 0, 0, velocityY, 0, 0, 0, Integer.MAX_VALUE); 1835 mFlingScroller.fling(0, Integer.MAX_VALUE, 0, velocityY, 0, 0, 0, Integer.MAX_VALUE);
|
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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackViewScroller.java | 145 * Starts a fling that is coordinated with the {@link TaskStackViewTouchHandler}. 147 public void fling(float downScrollP, int downY, int y, int velY, int minY, int maxY, method in class:TaskStackViewScroller 150 Log.d(TAG, "fling: " + downScrollP + ", downY: " + downY + ", y: " + y + 155 mScroller.fling(0, y, 0, velY, 0, 0, minY, maxY, 0, overscroll); 269 /** Stops the scroller and any current fling. */
|
H A D | TaskStackViewTouchHandler.java | 191 * Finishes all scroll-fling and non-dismissing animations currently running. 341 mScroller.fling(mDownScrollP, mDownY, y, velocity, (int) minY, (int) maxY,
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | NotificationShadeActivity.java | 69 mScroller.fling(0, mFullHeight, 0, (int) vY, 0, 0, 0, getHeight());
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | SnapHelper.java | 31 * SnapHelper tries to handle fling as well but for this to work properly, the 33 * you should override {@link #onFling(int, int)} and handle fling manually. 139 mGravityScroller.fling(0, 0, velocityX, velocityY, 147 * Helper method to facilitate for snapping triggered by a fling. 180 * snapping was triggered by a scroll and when the fling is at its final stages. 237 * This method is called when the {@link SnapHelper} has intercepted a fling and it needs 258 * after a fling and requires a reference view from the current set of child views. 265 * @return the target view to which to snap on fling or end of scroll 276 * @param velocityX fling velocity on the horizontal axis 277 * @param velocityY fling velocit [all...] |
/frameworks/support/wear/src/android/support/wear/widget/ |
H A D | ScrollManager.java | 166 return mRecyclerView.fling(0, (int) (VELOCITY_MULTIPLIER * velocityY));
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | SystemGesturesPointerEventListener.java | 261 mOverscroller.fling(0, 0, (int)velocityX, (int)velocityY,
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | NestedScrollView.java | 775 * If being flinged and user touches, stop the fling. isFinished 1747 public void fling(int velocityY) { method in class:NestedScrollView 1750 mScroller.fling(getScrollX(), getScrollY(), // start 1766 fling(velocityY);
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PipSnapAlgorithm.java | 117 mScroller.fling(stackBounds.left, stackBounds.top,
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 660 mFlingEstimator.fling(0, 0, 0, (int) velocityY, 0, 0, Integer.MIN_VALUE, Integer.MAX_VALUE);
|