public class ResizeAnimator extends TweenAnimator
Animator.AnimatorListener
Modifier and Type | Field and Description |
---|---|
protected PointF |
mDelta |
protected float |
mHeight1 |
protected float |
mHeight2 |
protected float |
mWidth1 |
protected float |
mWidth2 |
mCurrentUninterpolatedValue, mCurrentValue, mDuration, mInterpolator, mLastValue, mLoopCount, mLoopMode, mReversed, mTripCount
mAccumulating, mData, mElapsedTime, mLastDeltaTime, mLifeEnded, mLifespan, mListener, mRunning, mStartDelay, mTarget
Constructor and Description |
---|
ResizeAnimator(Interpolator interpolator) |
Modifier and Type | Method and Description |
---|---|
PointF |
getDelta() |
protected void |
onUpdate(float value) |
void |
setValues(float width1,
float height1,
float width2,
float height2) |
void |
start(float width,
float height) |
void |
start(float width1,
float height1,
float width2,
float height2) |
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 mWidth1
protected float mHeight1
protected float mWidth2
protected float mHeight2
protected PointF mDelta
public void setValues(float width1, float height1, float width2, float height2)
public void start(float width1, float height1, float width2, float height2)
public void start(float width, float height)
protected void onUpdate(float value)
onUpdate
in class TweenAnimator
public PointF getDelta()