@Implements(value=android.widget.OverScroller.class, isInAndroidSdk=false) public class ShadowLegacyOverScroller extends ShadowOverScroller
The OverScroller shadow for LooperMode.Mode.LEGACY
.
ShadowOverScroller.Picker
Constructor and Description |
---|
ShadowLegacyOverScroller() |
Modifier and Type | Method and Description |
---|---|
protected void |
abortAnimation() |
protected boolean |
computeScrollOffset() |
protected void |
forceFinished(boolean finished) |
protected int |
getCurrX() |
protected int |
getCurrY() |
protected int |
getDuration() |
protected int |
getFinalX() |
protected int |
getFinalY() |
protected int |
getStartX() |
protected int |
getStartY() |
protected boolean |
isFinished() |
protected boolean |
isScrollingInDirection(float xvel,
float yvel) |
protected void |
startScroll(int startX,
int startY,
int dx,
int dy,
int duration) |
protected int |
timePassed() |
@Implementation protected int getStartX()
@Implementation protected int getStartY()
@Implementation protected int getCurrX()
@Implementation protected int getCurrY()
@Implementation protected int getFinalX()
@Implementation protected int getFinalY()
@Implementation protected int getDuration()
@Implementation protected void startScroll(int startX, int startY, int dx, int dy, int duration)
@Implementation protected void abortAnimation()
@Implementation protected void forceFinished(boolean finished)
@Implementation protected boolean computeScrollOffset()
@Implementation protected boolean isFinished()
@Implementation protected int timePassed()
@Implementation protected boolean isScrollingInDirection(float xvel, float yvel)