ScrollerCompatGingerbreadpublic class ScrollerCompatGingerbread extends Object
Methods Summary |
---|
public static void | abortAnimation(java.lang.Object scroller)
((OverScroller) scroller).abortAnimation();
| public static boolean | computeScrollOffset(java.lang.Object scroller)
return ((OverScroller) scroller).computeScrollOffset();
| public static java.lang.Object | createScroller(android.content.Context context, android.view.animation.Interpolator interpolator)
return interpolator != null ?
new OverScroller(context, interpolator) : new OverScroller(context);
| public static void | fling(java.lang.Object scroller, int startX, int startY, int velX, int velY, int minX, int maxX, int minY, int maxY)
((OverScroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY);
| public static void | fling(java.lang.Object scroller, int startX, int startY, int velX, int velY, int minX, int maxX, int minY, int maxY, int overX, int overY)
((OverScroller) scroller).fling(startX, startY, velX, velY,
minX, maxX, minY, maxY, overX, overY);
| public static int | getCurrX(java.lang.Object scroller)
return ((OverScroller) scroller).getCurrX();
| public static int | getCurrY(java.lang.Object scroller)
return ((OverScroller) scroller).getCurrY();
| public static int | getFinalX(java.lang.Object scroller)
return ((OverScroller) scroller).getFinalX();
| public static int | getFinalY(java.lang.Object scroller)
return ((OverScroller) scroller).getFinalY();
| public static boolean | isFinished(java.lang.Object scroller)
return ((OverScroller) scroller).isFinished();
| public static boolean | isOverScrolled(java.lang.Object scroller)
return ((OverScroller) scroller).isOverScrolled();
| public static void | notifyHorizontalEdgeReached(java.lang.Object scroller, int startX, int finalX, int overX)
((OverScroller) scroller).notifyHorizontalEdgeReached(startX, finalX, overX);
| public static void | notifyVerticalEdgeReached(java.lang.Object scroller, int startY, int finalY, int overY)
((OverScroller) scroller).notifyVerticalEdgeReached(startY, finalY, overY);
| public static void | startScroll(java.lang.Object scroller, int startX, int startY, int dx, int dy)
((OverScroller) scroller).startScroll(startX, startY, dx, dy);
| public static void | startScroll(java.lang.Object scroller, int startX, int startY, int dx, int dy, int duration)
((OverScroller) scroller).startScroll(startX, startY, dx, dy, duration);
|
|