Java android.widget EdgeEffect fields, constructors, methods, implement or subclass

Example usage for Java android.widget EdgeEffect fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.widget EdgeEffect.

The text is from its open source code.

Constructor

EdgeEffect(Context context)
Construct a new EdgeEffect with a theme appropriate for the provided context.

Method

booleandraw(Canvas canvas)
Draw into the provided canvas.
booleanisFinished()
Reports if this EdgeEffect's animation is finished.
voidonAbsorb(int velocity)
Call when the effect absorbs an impact at the given velocity.
voidonPull(float deltaDistance, float displacement)
A view should call this when content is pulled away from an edge by the user.
voidonPull(float deltaDistance)
A view should call this when content is pulled away from an edge by the user.
voidsetColor(@ColorInt int color)
Set the color of this edge effect in argb.
voidsetSize(int width, int height)
Set the size of this edge effect in pixels.