public class ScaleAnimator extends TweenAnimator
Animator.AnimatorListener
Modifier and Type | Field and Description |
---|---|
protected PointF |
mDelta |
protected float |
mScaleX1 |
protected float |
mScaleX2 |
protected float |
mScaleY1 |
protected float |
mScaleY2 |
mCurrentUninterpolatedValue, mCurrentValue, mDuration, mInterpolator, mLastValue, mLoopCount, mLoopMode, mReversed, mTripCount
mAccumulating, mData, mElapsedTime, mLastDeltaTime, mLifeEnded, mLifespan, mListener, mRunning, mStartDelay, mTarget
Constructor and Description |
---|
ScaleAnimator(Interpolator interpolator) |
Modifier and Type | Method and Description |
---|---|
PointF |
getDelta() |
protected void |
onUpdate(float value) |
void |
setValues(float scaleX1,
float scaleY1,
float scaleX2,
float scaleY2) |
void |
start(float scaleX,
float scaleY) |
void |
start(float scaleX1,
float scaleY1,
float scaleX2,
float scaleY2) |
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 mScaleX1
protected float mScaleY1
protected float mScaleX2
protected float mScaleY2
protected PointF mDelta
public void setValues(float scaleX1, float scaleY1, float scaleX2, float scaleY2)
public void start(float scaleX1, float scaleY1, float scaleX2, float scaleY2)
public void start(float scaleX, float scaleY)
protected void onUpdate(float value)
onUpdate
in class TweenAnimator
public PointF getDelta()