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

EdgeEffectCompatIcs

public class EdgeEffectCompatIcs extends Object
Stub implementation that contains a real EdgeEffect on ICS. This class is an implementation detail for EdgeEffectCompat and should not be used directly.

Fields Summary
Constructors Summary
Methods Summary
public static booleandraw(java.lang.Object edgeEffect, android.graphics.Canvas canvas)

        return ((EdgeEffect) edgeEffect).draw(canvas);
    
public static voidfinish(java.lang.Object edgeEffect)

        ((EdgeEffect) edgeEffect).finish();
    
public static booleanisFinished(java.lang.Object edgeEffect)

        return ((EdgeEffect) edgeEffect).isFinished();
    
public static java.lang.ObjectnewEdgeEffect(android.content.Context context)

        return new EdgeEffect(context);
    
public static booleanonAbsorb(java.lang.Object edgeEffect, int velocity)

        ((EdgeEffect) edgeEffect).onAbsorb(velocity);
        return true;
    
public static booleanonPull(java.lang.Object edgeEffect, float deltaDistance)

        ((EdgeEffect) edgeEffect).onPull(deltaDistance);
        return true;
    
public static booleanonRelease(java.lang.Object edgeEffect)

        EdgeEffect eff = (EdgeEffect) edgeEffect;
        eff.onRelease();
        return eff.isFinished();
    
public static voidsetSize(java.lang.Object edgeEffect, int width, int height)

        ((EdgeEffect) edgeEffect).setSize(width, height);