public class MoveAnimator extends TweenAnimator
Animator.AnimatorListener
Modifier and Type | Field and Description |
---|---|
protected PointF |
mDelta |
protected float |
mSrcX |
protected float |
mSrcY |
mCurrentUninterpolatedValue, mCurrentValue, mDuration, mInterpolator, mLastValue, mLoopCount, mLoopMode, mReversed, mTripCount
mAccumulating, mData, mElapsedTime, mLastDeltaTime, mLifeEnded, mLifespan, mListener, mRunning, mStartDelay, mTarget
Constructor and Description |
---|
MoveAnimator(Interpolator interpolator) |
Modifier and Type | Method and Description |
---|---|
PointF |
getDelta() |
protected void |
onUpdate(float value) |
void |
setDelta(float dx,
float dy) |
void |
setDistance(float distance,
float radianAngle) |
void |
setDistance(float distance,
int degreeAngle) |
void |
setValues(float srcX,
float srcY,
float dstX,
float dstY) |
void |
start(float destX,
float destY) |
void |
start(float srcX,
float srcY,
float dstX,
float dstY) |
end, getCurrentValue, getDuration, getInterpolator, getLoop, getLoopCount, isReversed, onLoop, setDuration, setInterpolator, setLoop, setLoopCount, setReversed, startElapse, update
elapse, getData, getElapsedTime, getLifespan, getListener, getStartDelay, getTarget, isAccumulating, isRunning, reset, setAccumulating, setData, setElapsedTime, setLifespan, setListener, setStartDelay, setTarget, start, stop
public void setValues(float srcX, float srcY, float dstX, float dstY)
public void setDelta(float dx, float dy)
public void setDistance(float distance, float radianAngle)
public void setDistance(float distance, int degreeAngle)
public void start(float srcX, float srcY, float dstX, float dstY)
public void start(float destX, float destY)
protected void onUpdate(float value)
onUpdate
in class TweenAnimator
public PointF getDelta()