Persistent Search
Classes | Static Public Member Functions | Static Public Attributes | List of all members
io.codetail.animation.ViewAnimationUtils Class Reference

Classes

class  SimpleAnimationListener
 

Static Public Member Functions

static SupportAnimator createCircularReveal (View view, int centerX, int centerY, float startRadius, float endRadius)
 
static void liftingFromBottom (View view, float baseRotation, float fromY, int duration, int startDelay)
 
static void liftingFromBottom (View view, float baseRotation, int duration, int startDelay)
 
static void liftingFromBottom (View view, float baseRotation, int duration)
 

Static Public Attributes

static final int SCALE_UP_DURATION = 500
 

Member Function Documentation

static SupportAnimator io.codetail.animation.ViewAnimationUtils.createCircularReveal ( View  view,
int  centerX,
int  centerY,
float  startRadius,
float  endRadius 
)
static

Returns an Animator which can animate a clipping circle.

Any shadow cast by the View will respect the circular clip from this animator.

Only a single non-rectangular clip can be applied on a View at any time. Views clipped by a circular reveal animation take priority over View Outline clipping.

Note that the animation returned here is a one-shot animation. It cannot be re-used, and once started it cannot be paused or resumed.

Parameters
viewThe View will be clipped to the animating circle.
centerXThe x coordinate of the center of the animating circle.
centerYThe y coordinate of the center of the animating circle.
startRadiusThe starting radius of the animating circle.
endRadiusThe ending radius of the animating circle.
static void io.codetail.animation.ViewAnimationUtils.liftingFromBottom ( View  view,
float  baseRotation,
float  fromY,
int  duration,
int  startDelay 
)
static

Lifting view

Parameters
viewThe animation target
baseRotationinitial Rotation X in 3D space
fromYinitial Y position of view
durationaniamtion duration
startDelaystart delay before animation begin
static void io.codetail.animation.ViewAnimationUtils.liftingFromBottom ( View  view,
float  baseRotation,
int  duration,
int  startDelay 
)
static

Lifting view

Parameters
viewThe animation target
baseRotationinitial Rotation X in 3D space
durationaniamtion duration
startDelaystart delay before animation begin
static void io.codetail.animation.ViewAnimationUtils.liftingFromBottom ( View  view,
float  baseRotation,
int  duration 
)
static

Lifting view

Parameters
viewThe animation target
baseRotationinitial Rotation X in 3D space
durationaniamtion duration

The documentation for this class was generated from the following file: