public class MoveSinAnimator extends TweenAnimator
Animator.AnimatorListener
Modifier and Type | Field and Description |
---|---|
protected PointF |
mDelta |
protected float |
mFactor |
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 |
---|
MoveSinAnimator(Interpolator interpolator,
float factor) |
Modifier and Type | Method and Description |
---|---|
PointF |
getDelta() |
protected void |
onUpdate(float value) |
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
protected float mSrcX
protected float mSrcY
protected PointF mDelta
protected float mFactor
public void setValues(float srcX, float srcY, float dstX, float dstY)
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()