proguard.gui.splash
Class SmoothTiming
java.lang.Object
proguard.gui.splash.SmoothTiming
- All Implemented Interfaces:
- proguard.gui.splash.Timing
- public class SmoothTiming
- extends Object
- implements proguard.gui.splash.Timing
This Timing ramps up smoothly from 0 to 1 in a given time interval.
|
Constructor Summary |
SmoothTiming(long fromTime,
long toTime)
Creates a new SmoothTiming. |
|
Method Summary |
double |
getTiming(long time)
Returns the timing for the given time. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmoothTiming
public SmoothTiming(long fromTime,
long toTime)
- Creates a new SmoothTiming.
- Parameters:
fromTime - the time at which the timing starts ramping up from 0.toTime - the time at which the timing stops ramping up at 1.
getTiming
public double getTiming(long time)
- Description copied from interface:
proguard.gui.splash.Timing
- Returns the timing for the given time.
- Specified by:
getTiming in interface proguard.gui.splash.Timing