FileDocCategorySizeDatePackage
ScrollerCompatGingerbread.javaAPI DocAndroid 5.1 API3286Thu Mar 12 22:22:56 GMT 2015android.support.v4.widget

ScrollerCompatGingerbread

public class ScrollerCompatGingerbread extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidabortAnimation(java.lang.Object scroller)

        ((OverScroller) scroller).abortAnimation();
    
public static booleancomputeScrollOffset(java.lang.Object scroller)

        return ((OverScroller) scroller).computeScrollOffset();
    
public static java.lang.ObjectcreateScroller(android.content.Context context, android.view.animation.Interpolator interpolator)

        return interpolator != null ?
                new OverScroller(context, interpolator) : new OverScroller(context);
    
public static voidfling(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 voidfling(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 intgetCurrX(java.lang.Object scroller)

        return ((OverScroller) scroller).getCurrX();
    
public static intgetCurrY(java.lang.Object scroller)

        return ((OverScroller) scroller).getCurrY();
    
public static intgetFinalX(java.lang.Object scroller)

        return ((OverScroller) scroller).getFinalX();
    
public static intgetFinalY(java.lang.Object scroller)

        return ((OverScroller) scroller).getFinalY();
    
public static booleanisFinished(java.lang.Object scroller)

        return ((OverScroller) scroller).isFinished();
    
public static booleanisOverScrolled(java.lang.Object scroller)

        return ((OverScroller) scroller).isOverScrolled();
    
public static voidnotifyHorizontalEdgeReached(java.lang.Object scroller, int startX, int finalX, int overX)

        ((OverScroller) scroller).notifyHorizontalEdgeReached(startX, finalX, overX);
    
public static voidnotifyVerticalEdgeReached(java.lang.Object scroller, int startY, int finalY, int overY)

        ((OverScroller) scroller).notifyVerticalEdgeReached(startY, finalY, overY);
    
public static voidstartScroll(java.lang.Object scroller, int startX, int startY, int dx, int dy)

        ((OverScroller) scroller).startScroll(startX, startY, dx, dy);
    
public static voidstartScroll(java.lang.Object scroller, int startX, int startY, int dx, int dy, int duration)

        ((OverScroller) scroller).startScroll(startX, startY, dx, dy, duration);