public class TornadoAnimator extends TweenAnimator
Animator.AnimatorListener| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CIRCLE_RADIUS |
static float |
DEFAULT_CIRCLE_RATIO |
static int |
DEFAULT_CIRLCLE_NUM |
protected PointF |
mDelta |
protected float |
mSrcX |
protected float |
mSrcY |
mCurrentUninterpolatedValue, mCurrentValue, mDuration, mInterpolator, mLastValue, mLoopCount, mLoopMode, mReversed, mTripCountmAccumulating, mData, mElapsedTime, mLastDeltaTime, mLifeEnded, mLifespan, mListener, mRunning, mStartDelay, mTarget| Constructor and Description |
|---|
TornadoAnimator(Interpolator interpolator) |
| Modifier and Type | Method and Description |
|---|---|
Interpolator |
getCircleInterpolator() |
float |
getCircleMultiplier() |
float |
getCircleNum() |
float |
getCircleRadius() |
float |
getCircleRatio() |
PointF |
getDelta() |
boolean |
getZEnabled() |
protected void |
onUpdate(float value) |
void |
reset(java.lang.Object... params) |
void |
setCircleInterpolator(Interpolator circleInterpolator) |
void |
setCircleMultiplier(float circleMultiplier) |
void |
setCircles(float circleRadius,
float circleNum,
float circleRatio,
Interpolator circleInterpolator) |
void |
setDelta(float dx,
float dy) |
void |
setValues(float srcX,
float srcY,
float dstX,
float dstY) |
void |
setZEnabled(boolean value) |
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, updateelapse, getData, getElapsedTime, getLifespan, getListener, getStartDelay, getTarget, isAccumulating, isRunning, setAccumulating, setData, setElapsedTime, setLifespan, setListener, setStartDelay, setTarget, start, stoppublic static final int DEFAULT_CIRLCLE_NUM
public static final float DEFAULT_CIRCLE_RATIO
public static final int DEFAULT_CIRCLE_RADIUS
protected float mSrcX
protected float mSrcY
protected PointF mDelta
public void reset(java.lang.Object... params)
reset in interface Reusablereset in class BaseAnimatorpublic Interpolator getCircleInterpolator()
public void setCircleInterpolator(Interpolator circleInterpolator)
public float getCircleMultiplier()
public void setCircleMultiplier(float circleMultiplier)
public void setValues(float srcX,
float srcY,
float dstX,
float dstY)
public void setCircles(float circleRadius,
float circleNum,
float circleRatio,
Interpolator circleInterpolator)
public void setDelta(float dx,
float dy)
public void start(float srcX,
float srcY,
float dstX,
float dstY)
public void start(float destX,
float destY)
public float getCircleRadius()
public float getCircleNum()
public float getCircleRatio()
public PointF getDelta()
public void setZEnabled(boolean value)
public boolean getZEnabled()
protected void onUpdate(float value)
onUpdate in class TweenAnimator