Home
last modified time | relevance | path

Searched refs:Scroller (Results 1 – 19 of 19) sorted by relevance

/frameworks/support/v4/java/android/support/v4/widget/
DScrollerCompat.java23 import android.widget.Scroller;
67 new Scroller(context, interpolator) : new Scroller(context); in createScroller()
72 return ((Scroller) scroller).isFinished(); in isFinished()
77 return ((Scroller) scroller).getCurrX(); in getCurrX()
82 return ((Scroller) scroller).getCurrY(); in getCurrY()
92 final Scroller s = (Scroller) scroller; in computeScrollOffset()
98 ((Scroller) scroller).startScroll(startX, startY, dx, dy); in startScroll()
104 ((Scroller) scroller).startScroll(startX, startY, dx, dy, duration); in startScroll()
110 ((Scroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY); in fling()
116 ((Scroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY); in fling()
[all …]
/frameworks/base/docs/html/training/custom-views/
Dmaking-interactive.jd155 {@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
178 <p>The call to {@link android.widget.Scroller#fling fling()} sets up the physics model for the fling
180 Afterwards, you need to update the {@link android.widget.Scroller Scroller} by calling {@link
181 android.widget.Scroller#computeScrollOffset Scroller.computeScrollOffset()} at regular
183 android.widget.Scroller#computeScrollOffset computeScrollOffset()} updates the {@link
184 android.widget.Scroller
185Scroller} object's internal state by reading the current time and using the physics model to calcu…
187 at that time. Call {@link android.widget.Scroller#getCurrX} and {@link
188 android.widget.Scroller#getCurrY} to
[all …]
/frameworks/base/core/java/android/widget/
DScroller.java62 public class Scroller { class
150 public Scroller(Context context) { in Scroller() method in Scroller
159 public Scroller(Context context, Interpolator interpolator) { in Scroller() method in Scroller
169 public Scroller(Context context, Interpolator interpolator, boolean flywheel) { in Scroller() method in Scroller
DNumberPicker.java342 private final Scroller mFlingScroller;
347 private final Scroller mAdjustScroller;
762 mFlingScroller = new Scroller(getContext(), null, true); in NumberPicker()
763 mAdjustScroller = new Scroller(getContext(), new DecelerateInterpolator(2.5f)); in NumberPicker()
828 private boolean moveToFinalScrollerPosition(Scroller scroller) { in moveToFinalScrollerPosition()
1085 Scroller scroller = mFlingScroller; in computeScroll()
1782 private void onScrollerFinished(Scroller scroller) { in onScrollerFinished()
DGallery.java1455 private Scroller mScroller;
1463 mScroller = new Scroller(getContext()); in FlingRunnable()
1518 final Scroller scroller = mScroller;
DOverScroller.java73 mInterpolator = new Scroller.ViscousFluidInterpolator(); in OverScroller()
119 mInterpolator = new Scroller.ViscousFluidInterpolator(); in setInterpolator()
DTextView.java614 private Scroller mScroller;
8593 public void setScroller(Scroller s) { in setScroller()
/frameworks/base/docs/html/training/gestures/
Dscroll.jd53 <p>You can use scrollers ({@link android.widget.Scroller} or {@link
65 android.widget.Scroller} for scrolling animations.
311 <pre>// Custom object that is functionally similar to Scroller
Dindex.jd78 Learn how to use scrollers ({@link android.widget.Scroller} or {@link
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java49 import android.widget.Scroller;
148 private final Scroller mScroller;
370 mScroller = new Scroller(context, sInterpolator); in ViewPager()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java55 import android.widget.Scroller;
166 private Scroller mScroller;
403 mScroller = new Scroller(context, sInterpolator); in initViewPager()
/frameworks/base/core/java/android/view/
DViewRootImpl.java86 import android.widget.Scroller;
338 Scroller mScroller;
3121 mScroller = new Scroller(mView.getContext()); in scrollToRectOrFocus()
/frameworks/base/
Dpreloaded-classes2455 android.widget.Scroller
2456 android.widget.Scroller$ViscousFluidInterpolator
Dcompiled-classes-phone4968 android.widget.Scroller
4969 android.widget.Scroller$ViscousFluidInterpolator
/frameworks/base/docs/html/topic/libraries/support-library/
Drevisions.jd2416 android.widget.Scroller} and {@link android.widget.OverScroller} compatibility support.
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt38316 public class Scroller {
38317 ctor public Scroller(android.content.Context);
38318 ctor public Scroller(android.content.Context, android.view.animation.Interpolator);
38319 ctor public Scroller(android.content.Context, android.view.animation.Interpolator, boolean);
38907 method public void setScroller(android.widget.Scroller);
/frameworks/base/api/
Dcurrent.txt47432 public class Scroller {
47433 ctor public Scroller(android.content.Context);
47434 ctor public Scroller(android.content.Context, android.view.animation.Interpolator);
47435 ctor public Scroller(android.content.Context, android.view.animation.Interpolator, boolean);
48050 method public void setScroller(android.widget.Scroller);
Dsystem-current.txt50789 public class Scroller {
50790 ctor public Scroller(android.content.Context);
50791 ctor public Scroller(android.content.Context, android.view.animation.Interpolator);
50792 ctor public Scroller(android.content.Context, android.view.animation.Interpolator, boolean);
51407 method public void setScroller(android.widget.Scroller);
Dtest-current.txt47511 public class Scroller {
47512 ctor public Scroller(android.content.Context);
47513 ctor public Scroller(android.content.Context, android.view.animation.Interpolator);
47514 ctor public Scroller(android.content.Context, android.view.animation.Interpolator, boolean);
48129 method public void setScroller(android.widget.Scroller);