public class SimpleCloseUpIdleAnimationTime extends java.lang.Object implements CloseUpIdleAnimationTime
| Constructor and Description |
|---|
SimpleCloseUpIdleAnimationTime(long duration) |
| Modifier and Type | Method and Description |
|---|---|
long |
compute(ScrollableLayout layout,
int nowY,
int endY,
int maxY) |
long |
getDuration() |
public SimpleCloseUpIdleAnimationTime(long duration)
public long compute(ScrollableLayout layout, int nowY, int endY, int maxY)
compute in interface CloseUpIdleAnimationTimelayout - ScrollableLayoutnowY - current scroll y of the *layout*endY - scroll y value to which *layout* would scroll tomaxY - current max scroll y value of the *layout*public long getDuration()