Example usage for Java android.support.v4.widget EdgeEffectCompat fields, constructors, methods, implement or subclass
The text is from its open source code.
EdgeEffectCompat(Context context) Construct a new EdgeEffect themed using the given context. |
boolean | draw(Canvas canvas) Draw into the provided canvas. |
boolean | isFinished() Reports if this EdgeEffectCompat's animation is finished. |
boolean | onAbsorb(int velocity) Call when the effect absorbs an impact at the given velocity. |
boolean | onPull(float deltaDistance) A view should call this when content is pulled away from an edge by the user. |
void | setSize(int width, int height) Set the size of this edge effect in pixels. |