public interface RevealAnimator
| Modifier and Type | Interface and Description |
|---|---|
static class |
RevealAnimator.RevealFinishedIceCreamSandwich |
static class |
RevealAnimator.RevealInfo |
static class |
RevealAnimator.RevealRadius |
| Modifier and Type | Field and Description |
|---|---|
static RevealAnimator.RevealRadius |
CLIP_RADIUS |
| Modifier and Type | Method and Description |
|---|---|
void |
attachRevealInfo(RevealAnimator.RevealInfo info)
ViewAnimationUtils.createCircularReveal(View, int, int, float, float) is
called it creates new RevealAnimator.RevealInfo
and attaches to parent, here is necessary data about animation |
float |
getRevealRadius()
Used with animator to animate view clipping
|
void |
invalidate(android.graphics.Rect bounds)
Invalidate certain rectangle
|
void |
onRevealAnimationCancel() |
void |
onRevealAnimationEnd() |
void |
onRevealAnimationStart()
Listen when animation start/end/cancel
and setup view for it
|
void |
setRevealRadius(float value)
Used with animator to animate view clipping
|
SupportAnimator |
startReverseAnimation()
Returns new
SupportAnimator that plays
reversed animation of current one
This method might be temporary, you should call
SupportAnimator.reverse() instead |
static final RevealAnimator.RevealRadius CLIP_RADIUS
void onRevealAnimationStart()
void onRevealAnimationEnd()
void onRevealAnimationCancel()
void setRevealRadius(float value)
value - clip radiusfloat getRevealRadius()
void invalidate(android.graphics.Rect bounds)
bounds - bounds to redrawView.invalidate(Rect)void attachRevealInfo(RevealAnimator.RevealInfo info)
ViewAnimationUtils.createCircularReveal(View, int, int, float, float) is
called it creates new RevealAnimator.RevealInfo
and attaches to parent, here is necessary data about animationinfo - reveal informationRevealAnimator.RevealInfoSupportAnimator startReverseAnimation()
SupportAnimator that plays
reversed animation of current one
This method might be temporary, you should call
SupportAnimator.reverse() insteadSupportAnimatorSupportAnimator.reverse()