Lines Matching refs:fling
48 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
212 {@link android.widget.Scroller#fling(int, int, int, int, int, int, int, int) fling()},
219 <li>Set up a {@link android.animation.ValueAnimator} to animate for the duration of the fling,