Home
last modified time | relevance | path

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

12

/frameworks/base/docs/html/training/custom-views/
Dmaking-interactive.jd48 For example, when users fling a UI object, they should sense friction at the beginning that delays
50 at the end sense momentum that carries the motion beyond the fling.</p>
143 …mber unless they produce physically plausible results. A good example of this is the <em>fling</em>
147 quickly in the direction of the fling, then slowing down, as if the user had pushed on a
155 {@link android.widget.Scroller} class is the basis for handling flywheel-style <em>fling</em>
158 <p>To start a fling, call {@link android.widget.Scroller#fling fling()} with the starting velocity
160 maximum x and y values of the fling. For the velocity value, you can use the value computed for
166 … mScroller.fling(currentX, currentY, velocityX / SCALE, velocityY / SCALE, minX, minY, maxX, maxY);
174 that using this value makes the fling animation too fast. It's common to divide the x and y
178 <p>The call to {@link android.widget.Scroller#fling fling()} sets up the physics model for the fling
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DScrollerCompat.java168 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() method in ScrollerCompat
170 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); in fling()
/frameworks/base/core/java/android/widget/
DOverScroller.java401 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() method in OverScroller
403 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
433 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() method in OverScroller
447 mScrollerX.fling(startX, velocityX, minX, maxX, overX); in fling()
448 mScrollerY.fling(startY, velocityY, minY, maxY, overY); in fling()
746 void fling(int start, int velocity, int min, int max, int over) { in fling() method in OverScroller.SplineOverScroller
833 fling(start, velocity, positive ? min : start, positive ? start : max, mOver); in startAfterEdge()
DHorizontalScrollView.java633 fling(-initialVelocity); in onTouchEvent()
1500 public void fling(int velocityX) { in fling() method in HorizontalScrollView
1505 mScroller.fling(mScrollX, mScrollY, velocityX, 0, 0, in fling()
DScrollView.java669 fling(-initialVelocity); in onTouchEvent()
1509 public void fling(int velocityY) { in fling() method in ScrollView
1514 mScroller.fling(mScrollX, mScrollY, 0, velocityY, 0, 0, 0, in fling()
DNumberPicker.java884 fling(initialVelocity); in onTouchEvent()
1651 private void fling(int velocityY) { in fling() method in NumberPicker
1655 mFlingScroller.fling(0, 0, 0, velocityY, 0, 0, 0, Integer.MAX_VALUE); in fling()
1657 mFlingScroller.fling(0, Integer.MAX_VALUE, 0, velocityY, 0, 0, 0, Integer.MAX_VALUE); in fling()
DScroller.java431 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() method in Scroller
DGallery.java1454 mScroller.fling(initialX, 0, initialVelocity, 0, in startUsingVelocity()
DAbsListView.java3941 mScroller.fling(0, initialY, 0, initialVelocity, in start()
3971 mScroller.fling(0, mScrollY, 0, initialVelocity, 0, 0,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java61 public void fling(float vel, boolean always) { in fling() method in NotificationPanelView
68 super.fling(vel, always); in fling()
DSettingsPanelView.java103 public void fling(float vel, boolean always) { in fling() method in SettingsPanelView
110 super.fling(vel, always); in fling()
DPanelView.java442 fling(vel, true);
451 public void fling(float vel, boolean always) {
584 fling(-mSelfCollapseVelocityPx, /*always=*/ true);
592 fling(mSelfExpandVelocityPx, /*always=*/ true);
/frameworks/base/docs/html/training/gestures/
Dscroll.jd73 <p>It's common to use scrollers in conjunction with a fling gesture, but they
108 mScroller.fling(
Dmovement.jd92 gesture, such as a fling.</p>
Dviewgroup.jd175 These methods return the minimum and maximum velocity (respectively) to initiate a fling,
Ddetector.jd124 common gestures such as double tap, long press, fling, and so on, you can
/frameworks/base/docs/html/tools/help/uiautomator/
DUiScrollable.jd127 …ersion of <code><a href="#scrollForward(int)">scrollForward(int)</a></code>, performs a fling</div>
1686 …on of <code><a href="#scrollForward(int)">scrollForward(int)</a></code>, performs a fling</p></div>
2223 <td>use steps to control the speed, so that it may be a scroll, or fling</td>
2426 <td>use steps to control the speed, so that it may be a scroll, or fling</td>
2637 <td>use steps to control the speed, so that it may be a scroll, or fling</td>
2693 <td>use steps to control the speed, so that it may be a scroll, or fling</td>
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java369 mScroller.fling(0, 0, 0, (int) velocity, 0, 0, in onTouchEvent()
/frameworks/base/docs/html/guide/topics/manifest/
Duses-feature-element.jd775 than basic touch events, such as a fling. This is a superset of the basic faketouch feature.</td>
784 gestures such as a fling), then you don't need to do anything, because this is required by default.
/frameworks/base/docs/html/tools/extras/
Dsupport-library.jd277 fling behavior.</li>
/frameworks/base/core/java/android/webkit/
DWebViewClassic.java6772 mScroller.fling(getScrollX(), getScrollY(), vx, vy, 0, computeMaxScrollX(), 0,
6877 mScroller.fling(scrollX, scrollY, -vx, -vy, 0, maxX, 0, maxY,
/frameworks/base/docs/html/about/versions/
Dandroid-3.0.jd493 <p>Allows users to select dates from a calendar by touching the date and can scroll or fling the
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd894 <li>The user can vertically fling the top view in the
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd1170 pixels. Imagine an application in which a scroll or fling gesture is recognized after the user's
/frameworks/base/api/
D14.txt26221 method public void fling(int);
26528 method public void fling(int, int, int, int, int, int, int, int);
26529 method public void fling(int, int, int, int, int, int, int, int, int, int);
26853 method public void fling(int);
26872 method public void fling(int, int, int, int, int, int, int, int);

12