public class ColorAnimator extends TweenAnimator
Animator.AnimatorListener| Modifier and Type | Field and Description |
|---|---|
protected GLColor |
mDelta |
protected GLColor |
mDst |
protected GLColor |
mSrc |
protected GLColor |
mTargetColor |
mCurrentUninterpolatedValue, mCurrentValue, mDuration, mInterpolator, mLastValue, mLoopCount, mLoopMode, mReversed, mTripCountmAccumulating, mData, mElapsedTime, mLastDeltaTime, mLifeEnded, mLifespan, mListener, mRunning, mStartDelay, mTarget| Constructor and Description |
|---|
ColorAnimator(Interpolator interpolator) |
| Modifier and Type | Method and Description |
|---|---|
GLColor |
getDelta() |
protected void |
onUpdate(float value) |
void |
setValues(float srcR,
float srcG,
float srcB,
float srcA,
float dstR,
float dstG,
float dstB,
float dstA) |
void |
setValues(GLColor src,
GLColor dst) |
void |
setValues(int srcR,
int srcG,
int srcB,
int srcA,
int dstR,
int dstG,
int dstB,
int dstA) |
void |
start(float srcR,
float srcG,
float srcB,
float srcA,
float dstR,
float dstG,
float dstB,
float dstA) |
void |
start(GLColor dst) |
void |
start(GLColor src,
GLColor dst) |
void |
start(int srcR,
int srcG,
int srcB,
int srcA,
int dstR,
int dstG,
int dstB,
int dstA) |
end, getCurrentValue, getDuration, getInterpolator, getLoop, getLoopCount, isReversed, onLoop, setDuration, setInterpolator, setLoop, setLoopCount, setReversed, startElapse, updateelapse, getData, getElapsedTime, getLifespan, getListener, getStartDelay, getTarget, isAccumulating, isRunning, reset, setAccumulating, setData, setElapsedTime, setLifespan, setListener, setStartDelay, setTarget, start, stopprotected GLColor mSrc
protected GLColor mDst
protected GLColor mTargetColor
protected GLColor mDelta
public void setValues(float srcR,
float srcG,
float srcB,
float srcA,
float dstR,
float dstG,
float dstB,
float dstA)
public void setValues(int srcR,
int srcG,
int srcB,
int srcA,
int dstR,
int dstG,
int dstB,
int dstA)
public void start(GLColor dst)
public void start(float srcR,
float srcG,
float srcB,
float srcA,
float dstR,
float dstG,
float dstB,
float dstA)
public void start(int srcR,
int srcG,
int srcB,
int srcA,
int dstR,
int dstG,
int dstB,
int dstA)
protected void onUpdate(float value)
onUpdate in class TweenAnimatorpublic GLColor getDelta()