public abstract class AnimatedViewPortJob extends ViewPortJob implements android.animation.ValueAnimator.AnimatorUpdateListener, android.animation.Animator.AnimatorListener
| Modifier and Type | Field and Description |
|---|---|
protected android.animation.ObjectAnimator |
animator |
protected float |
phase |
protected float |
xOrigin |
protected float |
yOrigin |
mTrans, mViewPortHandler, pts, view, xValue, yValueNO_OWNER| Constructor and Description |
|---|
AnimatedViewPortJob(ViewPortHandler viewPortHandler,
float xValue,
float yValue,
Transformer trans,
android.view.View v,
float xOrigin,
float yOrigin,
long duration) |
| Modifier and Type | Method and Description |
|---|---|
float |
getPhase() |
float |
getXOrigin() |
float |
getYOrigin() |
void |
onAnimationCancel(android.animation.Animator animation) |
void |
onAnimationEnd(android.animation.Animator animation) |
void |
onAnimationRepeat(android.animation.Animator animation) |
void |
onAnimationStart(android.animation.Animator animation) |
void |
onAnimationUpdate(android.animation.ValueAnimator animation) |
abstract void |
recycleSelf() |
protected void |
resetAnimator() |
void |
run() |
void |
setPhase(float phase) |
getXValue, getYValueinstantiateprotected android.animation.ObjectAnimator animator
protected float phase
protected float xOrigin
protected float yOrigin
public AnimatedViewPortJob(ViewPortHandler viewPortHandler, float xValue, float yValue, Transformer trans, android.view.View v, float xOrigin, float yOrigin, long duration)
public void run()
run in interface java.lang.Runnablepublic float getPhase()
public void setPhase(float phase)
public float getXOrigin()
public float getYOrigin()
public abstract void recycleSelf()
protected void resetAnimator()
public void onAnimationStart(android.animation.Animator animation)
onAnimationStart in interface android.animation.Animator.AnimatorListenerpublic void onAnimationEnd(android.animation.Animator animation)
onAnimationEnd in interface android.animation.Animator.AnimatorListenerpublic void onAnimationCancel(android.animation.Animator animation)
onAnimationCancel in interface android.animation.Animator.AnimatorListenerpublic void onAnimationRepeat(android.animation.Animator animation)
onAnimationRepeat in interface android.animation.Animator.AnimatorListenerpublic void onAnimationUpdate(android.animation.ValueAnimator animation)
onAnimationUpdate in interface android.animation.ValueAnimator.AnimatorUpdateListener