public class RecursiveTrajectoryAnimator extends TrajectoryAnimator
Animator.AnimatorListener
Modifier and Type | Field and Description |
---|---|
protected float |
mDecelerationRate |
protected float |
mMinVelocity |
DEFAULT_GRAVITY, mAngle, mAxisSystem, mCos, mCurrentVelocity, mDistance, mDuration, mGravity, mGround, mSin, mSrcX, mSrcY, mTargetAngleFixed, mTargetAngleOffset, mVelocity, TIME_FACTOR
mAccumulating, mData, mElapsedTime, mLastDeltaTime, mLifeEnded, mLifespan, mListener, mRunning, mStartDelay, mTarget
Constructor and Description |
---|
RecursiveTrajectoryAnimator() |
RecursiveTrajectoryAnimator(float ground) |
Modifier and Type | Method and Description |
---|---|
void |
end() |
float |
getDecelerationRate() |
float |
getMinVelocity() |
void |
setDecelerationRate(float decelerationRate) |
void |
setMinVelocity(float minVelocity) |
getCurrentVelocity, getDuration, getGravity, getGround, getTargetAngleOffset, getVelocity, isTargetAngleFixed, setAxisSystem, setCurrentVelocity, setGravity, setGround, setTargetAngleFixed, setTargetAngleOffset, setValues, setValues, start, start, start, start, update
elapse, getData, getElapsedTime, getLifespan, getListener, getStartDelay, getTarget, isAccumulating, isRunning, reset, setAccumulating, setData, setElapsedTime, setLifespan, setListener, setStartDelay, setTarget, start, startElapse, stop
protected float mDecelerationRate
protected float mMinVelocity
public RecursiveTrajectoryAnimator()
public RecursiveTrajectoryAnimator(float ground)
ground
- public void end()
end
in interface Animator
end
in class BaseAnimator
public float getDecelerationRate()
public void setDecelerationRate(float decelerationRate)
public float getMinVelocity()
public void setMinVelocity(float minVelocity)