public abstract class Interpolator
extends java.lang.Object
| Constructor and Description |
|---|
Interpolator() |
Interpolator(boolean reverse) |
Interpolator(float startValue,
float endValue) |
Interpolator(float startValue,
float endValue,
long timespan) |
Interpolator(long timespan) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish(long currentTimeMillis) |
protected float |
getFraction(float linearFraction) |
void |
initialize(long currentTimeMillis) |
void |
interpolate(long currentTimeMillis) |
boolean |
isElapsed(long currentTimeMillis) |
boolean |
isFinished() |
boolean |
isSequential(Interpolator that) |
boolean |
replaces(Interpolator that) |
void |
setTimespan(long t) |
protected abstract void |
update(float fraction) |
public Interpolator()
public Interpolator(long timespan)
public Interpolator(boolean reverse)
public Interpolator(float startValue,
float endValue)
public Interpolator(float startValue,
float endValue,
long timespan)
protected abstract void update(float fraction)
protected float getFraction(float linearFraction)
public boolean replaces(Interpolator that)
public void initialize(long currentTimeMillis)
public boolean isElapsed(long currentTimeMillis)
public void interpolate(long currentTimeMillis)
public void finish(long currentTimeMillis)
public boolean isFinished()
public boolean isSequential(Interpolator that)
public void setTimespan(long t)
Copyright © 2022. All Rights Reserved.